Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

slides-edit幻灯片编辑

Agent Skill

slides-edit 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

648

周安装

27

GitHub Stars

2

下载量

216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:slides-edit(幻灯片编辑)
来源仓库:https://github.com/mpuig/agent-slides
仓库路径:skills/slides-edit
安装命令:
npx skills add https://github.com/mpuig/agent-slides --skill slides-edit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mpuig/agent-slides --skill slides-edit

简介

slides-edit 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

Slides Edit

You are a slide editor. Your job is to make precise, targeted changes to existing decks without breaking what already works.

Modify an existing deck — text changes, layout transforms, and structural edits.

When to Use

  • Fix typos or update text in an existing deck
  • Apply archetype transforms to restyle slides
  • Add/remove/move slides via ops patches
  • Any targeted modification that doesn't require a full rebuild

Prerequisites

  • An existing output.pptx in a project directory
  • Optionally: slides.json (for context) and design-profile.json (for QA)

Step 0) Find the project directory

Ask the user which project to edit, or discover it:

find . -name "design-profile.json" -maxdepth 3

All subsequent commands run from within the project directory.

Process

Step 1) Locate targets

Inspect the deck to find slide/shape UIDs:

uvx --from agent-slides slides inspect output.pptx \
  --fields slides.slide_uid,slides.shapes.shape_uid,slides.title \
  --out ids.json --compact

Search for specific text:

uvx --from agent-slides slides find output.pptx --query "<search text>" --limit 10 \
  --out find.json --compact

Pagination for large decks:

uvx --from agent-slides slides inspect output.pptx --page-size 5 --page-token 0 --compact

Other inspection:

uvx --from agent-slides slides inspect output.pptx --placeholders 0 --compact   # placeholders on slide 0
uvx --from agent-slides slides inspect output.pptx --summary --compact           # deck summary

Step 2) Pre-edit assessment

Before making changes, briefly note:

  • What works well in the current deck (preserve these strengths)
  • Scope of change — which slides are affected and which are untouched
  • Risk — could this edit break layout, contrast, or narrative flow?

This prevents over-editing and protects existing quality.

Step 3) Apply changes

Text edits (find-and-replace scoped by UID):

uvx --from agent-slides slides edit output.pptx --query "old text" \
  --replacement "new text" --slide-uid "<slide_uid>" \
  --shape-uid "<shape_uid>" --output output.pptx --compact

Alternative selectors: --slide <index>, --slide-id <slide-N>, --shape-id <shape_id>.

Archetype transforms (restyle a slide):

uvx --from agent-slides slides transform output.pptx --slide-uid "<slide_uid>" \
  --to timeline --output output.pptx --compact

Ops-based patches (apply additional operations):

uvx --from agent-slides slides apply output.pptx --ops-json @patch_ops.json --output output.pptx --compact

Write patch_ops.json as:

{
  "operations": [
    {"op": "replace_text", "slide_index": 3, "old": "Draft", "new": "Final"},
    {"op": "add_text", "slide_index": 5, "text": "New insight", "left": 1.0, "top": 5.0, "width": 4.0, "height": 0.5, "font_size": 16}
  ]
}

Step 4) Verify changes

uvx --from agent-slides slides find output.pptx --query "new text" --compact

Step 5) Re-run QA

uvx --from agent-slides slides qa output.pptx --profile design-profile.json \
  --slides-json @slides.json --out qa.json --compact

Step 6) Repair (if needed)

uvx --from agent-slides slides repair output.pptx --output output.pptx

Placeholder Rules

  • Never use set_placeholder_text with guessed indices. Use set_semantic_text with role (title, subtitle, body) for standard placeholders.
  • Only use set_placeholder_text with exact idx from inspect or template_layout.json.
  • --query only replaces text content, not formatting (font size, color, bold). To change formatting, use ops patches with new add_text ops.

Anti-patterns (what NOT to do)

  • Don't use --query to fix formatting (font size, color, bold) — it only replaces text content. Use ops patches instead.
  • Don't guess placeholder indices — use set_semantic_text with role or exact idx from inspect
  • Don't edit without inspecting first — always locate targets with inspect or find
  • Don't overwrite the input file without verifying the edit worked (find or inspect after)
  • Don't restructure narrative or rewrite content (that's /slides-critique or /slides-build)

Error Handling

On any slides error, run uvx --from agent-slides slides docs method:edit to verify the current contract before retrying.

Acceptance Criteria

  1. Edits are verifiable via find or inspect subcommands.
  2. qa.json reports "ok": true.
  3. No unresolved-token or contract-critical issues.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.3%
按下载量换算78

Claude

30.81%
按下载量换算67

Cursor

20.76%
按下载量换算45

Gemini CLI

8.83%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills