Skip to content
Automation
Skill

/office-pptx

Use when the user asks to create, inspect, verify, polish, or deliver PowerPoint `.pptx` decks, Google Slides-targeted deck artifacts, strategy narratives, operating reviews, pitch decks, teaching decks, section slides, bullet slides, or source-to-PPTX transformations.

From plugin
hope-agent
1.9k30 skills

Claude Code

$ npx -y skills add shiwenwen/hope-agent --skill office-pptx --agent claude-code

SKILL.md

office-pptx.SKILL.md
name: office-pptx
description: "Use when the user asks to create, inspect, verify, polish, or deliver PowerPoint `.pptx` decks, Google Slides-targeted deck artifacts, strategy narratives, operating reviews, pitch decks, teaching decks, section slides, bullet slides, or source-to-PPTX transformations."
requires:
  bins: [python3]
install:
  - kind: brew
    formula: python
    bins: [python3]
    label: "Install Python 3 via Homebrew"
    os: [darwin]
allowed-tools:
  - read
  - write
  - edit
  - apply_patch
  - exec
  - ls
  - grep
  - pdf
  - web_search
  - web_fetch
  - image_generate
  - send_attachment

Office PPTX

Use the bundled scripts in this skill package to produce editable `.pptx` decks. The builder writes editable text boxes, image placements, metric cards, tables, timelines, drawn proof charts, and native PowerPoint chart objects. The skill activation metadata includes `Skill directory`; treat that as `SKILL_DIR` and run scripts from `SKILL_DIR/scripts/`.

Story First

Before building slides, identify:

  • Audience and decision context.
  • Claim spine: what each slide proves.
  • Required proof objects: table, metric, comparison, workflow, timeline, or

narrative slide.

  • Visual rhythm: title, section, bullets, two-column, and appendix slides.

Every slide should have one job.

Workflow

1. Draft the slide list and title-level claims. 2. For explicit control, convert each slide into a structured slide object and run:

python3 "$SKILL_DIR/scripts/check_env.py"
python3 "$SKILL_DIR/scripts/build_pptx.py" --spec spec.json --out output.pptx
python3 "$SKILL_DIR/scripts/inspect_pptx.py" --verify output.pptx
python3 "$SKILL_DIR/scripts/layout_audit.py" output.pptx

3. For a Markdown outline, use `# Deck title`, `## Slide title`, `## Section: Name`, and bullet lists, then run:

python3 "$SKILL_DIR/scripts/outline_to_pptx.py" --outline outline.md --out output.pptx
python3 "$SKILL_DIR/scripts/inspect_pptx.py" --verify output.pptx

4. If visual QA matters and LibreOffice is available, run:

python3 "$SKILL_DIR/scripts/render_preview.py" output.pptx

5. To append slides to an existing deck without rebuilding it:

python3 "$SKILL_DIR/scripts/append_pptx.py" --input existing.pptx --spec append.json --out output.pptx
python3 "$SKILL_DIR/scripts/inspect_pptx.py" --verify output.pptx
python3 "$SKILL_DIR/scripts/layout_audit.py" output.pptx --reference existing.pptx

6. For targeted edits to an existing deck, patch text in place to preserve the source package, theme, layouts, media, and animations:

python3 "$SKILL_DIR/scripts/patch_pptx.py" --input existing.pptx --patch patch.json --out output.pptx
python3 "$SKILL_DIR/scripts/layout_audit.py" output.pptx --reference existing.pptx

Patch shape:

{"replace_text": [{"old": "Old title", "new": "New title"}]}

7. For template-following or source-deck workflows, duplicate, drop, or reorder source slides without rebuilding their XML:

python3 "$SKILL_DIR/scripts/duplicate_slide.py" --input template.pptx --slide 2 --out duplicated.pptx
python3 "$SKILL_DIR/scripts/deck_reorder.py" --input duplicated.pptx --order '[2,1,3]' --out reordered.pptx
python3 "$SKILL_DIR/scripts/layout_audit.py" reordered.pptx --reference template.pptx

8. After rendering previews, create a contact sheet when reviewing slide rhythm:

python3 "$SKILL_DIR/scripts/make_contact_sheet.py" --images preview/page-*.png --out contact-sheet.html

9. Deliver the `.pptx` path or attach it with `send_attachment`.

Spec Shape

{
  "title": "Deck title",
  "slides": [
    {"type": "title", "title": "Board Update", "subtitle": "Q2"},
    {"type": "section", "title": "What changed"},
    {"type": "bullets", "title": "Retention improved", "bullets": ["Activation rose", "Churn fell"]},
    {"type": "metrics", "title": "Operating pulse", "metrics": [{"label": "ARR", "value": "$12M", "delta": "+18%"}]},
    {"type": "table", "title": "Options", "headers": ["Option", "Pros", "Risks"], "rows": [["A", "Fast", "Low moat"]]},
    {"type": "timeline", "title": "Launch path", "items": [{"date": "Q1", "label": "Pilot"}, {"date": "Q2", "label": "GA"}]},
    {"type": "chart", "title": "Segment mix", "data": [{"label": "SMB", "value": 42}, {"label": "Enterprise", "value": 58}]},
    {"type": "native_chart", "title": "Native segment mix", "chart_type": "pie", "data": [{"label": "SMB", "value": 42}, {"label": "Enterprise", "value": 58}]},
    {"type": "image", "title": "Product screenshot", "image": "screenshot.png", "caption": "Use verified assets only"},
    {"type": "two_column", "title": "Options", "left": ["Option A"], "right": ["Option B"]}
  ]
}

Quality Bar

  • Use concise slide titles with a claim, not just a topic label.
  • Keep bullets short; move dense material into an appendix or document.
  • Avoid invented logos, marks, screenshots, or metrics. Use verified assets or

omit them.

  • Use `native_chart` when the deck needs a real editable PowerPoint chart

object; use `chart` only for quick drawn proof-object slides.

  • Preserve source-deck style when the user asks for edits to an existing deck;

use `patch_pptx.py` for text-only edits and minimal local changes rather than rebuilding from scratch.

  • When duplicating, dropping, or reordering slides, preserve non-slide

presentation relationships such as slide masters, layouts, themes, and view properties; do not rebuild `presentation.xml.rels` from slides only.

  • Run the layout audit (`layout_audit.py`) before delivery; fix blank slides,

missing titles, dense text, and out-of-bounds shapes. Preserve source-deck style for template and targeted-edit work.

  • If preview rendering fails because LibreOffice or a PDF-to-PNG renderer is

missing, state exactly which verification passed; do not imply visual QA passed.

Read more
@shiwenwen
Ships withhope-agent

🦭 A cross-device desktop AI agent with memory, autonomous goals, dynamic workflows, and headless deployment | 会记忆、能持续推进目标、会动态编排多 Agent 的跨端桌面 AI 助手,也可服务化常驻 NAS / 云端

Stars on GitHub

Momentum

stars in total
1.9k
Star history of shiwenwen/hope-agent on GitHub, a chart by star-history.com

Other skills on hope-agent.

email-draft

email-draft

Use when the user asks to draft, polish, translate, or reply to an email. Produces a clean draft with subject line, greeting,…

feishu

feishu

Use when the user mentions 飞书 / Feishu / Lark workspace operations: docx (云文档) read/write, bitable (多维表格) records / views /…

ha-browser

ha-browser

Hope Agent browser automation — the standard `status → tabs → snapshot → act` loop, stale-ref recovery rules, and what to do when…

ha-code-review

ha-code-review

Hope-native review of uncommitted, staged, commit, branch, or PR changes: discover concrete regressions, independently verify…

ha-coding-common

ha-coding-common

Hope-native baseline for implementing, fixing, refactoring, and maintaining code: inspect the repository first, protect user…

ha-coding-plan

ha-coding-plan

Hope-native implementation planning for non-trivial code changes: ground the plan in repository evidence, order dependencies,…

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n11d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about office-pptx.

Which coding agents can use office-pptx?
office-pptx installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.