Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add CacinieP/ppt-skills --skill themed-cn-pptxgit clone --depth 1 https://github.com/CacinieP/ppt-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/caciniep/ppt-skills/themed-cn-pptx)<a href="https://agentmods.dev/skills/caciniep/ppt-skills/themed-cn-pptx"><img src="https://agentmods.dev/badge/skills/caciniep/ppt-skills/themed-cn-pptx/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/caciniep/ppt-skills/themed-cn-pptx"><img src="https://agentmods.dev/badge/skills/caciniep/ppt-skills/themed-cn-pptx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.13343 |
| Opus 5 | $0.00064 | $0.06671 |
| Sonnet 5 | $0.00026 | $0.02669 |
| Haiku 4.5 | $0.00013 | $0.01334 |
Grade A, and why
themed-cn-pptx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 866 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill 名称:themed-cn-pptx
适用:用 PptxGenJS 构建或修改中文 + IP/角色主题 + 嵌入二维码 的可编辑 PPTX 演示文稿
可选搭配:标准 pptx skill(Anthropic 出品,本 skill 早期是它的增量补充)。它不是依赖:本 skill 自带 scripts/ QA 门禁与 lib/ 工具,没有它也能自成闭环;Anthropic 版 pptx 的许可禁止再分发,因此不随本仓库一起安装,需要请自行从官方渠道获取。
生图能力:集成 OpenAI GPT Image 2 和 Google Nano Banana Pro(Gemini 3 Pro Image)文生图 API,API Key 从环境变量读取,不硬编码
适合:
- 中文 PPT、IP/角色主题 PPT
- 需要 AI 配图(GPT Image 2 / Nano Banana Pro)
- 需要嵌入二维码
- 需要 PDF→JPG 渲染 QA 闭环
- 需要可编辑 PPTX(不是图片化幻灯片)
不适合:
- 只要普通商务模板(用标准 pptx skill)
- 只要 PDF 输出(用 PDF 工具)
- 不要求可编辑(直接截图即可)
- 单页海报/非演示文稿(用设计工具)
0. 两条使用路径
路径约定:下文
$SKILL_DIR= 本SKILL.md所在目录(例如~/.agents/skills/themed-cn-pptx或~/.pi/agent/skills/themed-cn-pptx)。scripts/、lib/、references/、recipes/都以它为根;QA 命令一律写成node "$SKILL_DIR/scripts/xxx.mjs" <你的 deck.pptx>,这样独立安装(没有仓库根目录)也能跑。若你在ppt-skills仓库 clone 内开发,npm run qa:render等根目录别名等价(见仓库 README §Commands)。
本 skill 按用户意图分为两条路径,先判断再执行:
路径 A:改 PPT
用户已有一份 .pptx(或 .js 构建脚本),需要做局部修改——换主题色、加配图、调排版、插页、替换内容。
流程:
- 读取现有
.pptx(用 python-pptx 解析)或.js脚本 - 确定修改范围——主题色?哪些页加图?哪些文字要改?
- 修改
build_<theme>.js→ 重新生成.pptx - QA 循环(§8)
典型说法:
- "把这份 PPT 换成初音主题"
- "给第 3 页和第 6 页各加一张 AI 配图"
- "封面加个背景图,文字加半透明遮罩"
- "粉色再浅一点"
路径 B:从文稿到 PPT
用户给一份文稿/大纲/README/Notion 页,从零生成完整 PPTX。
流程:
- 抓取内容源(粘贴文本 / GitHub README / URL)
- 任务拆解(§1)
- 构建色板(§2)+ 确定生图需求(§2.5)
- 选择 Slide 布局(§5)→ 编写
build_<theme>.js - 生成配图(§2.5)→ 嵌入 PPTX
- QA 循环(§8)
典型说法:
- "帮我把这个 README 做成 PPT,10 页,初音主题"
- "按这份大纲生成一份演讲稿 PPT"
- "从这篇文档出一份产品介绍 PPT,带配图"
1. 任务拆解(先做这一步)
在写代码前,从用户需求中先抽出:
- IP / 主题 → 映射到 4 色身份(主色 + 副色 + 深底 + 浅底)
- 输出格式 → 确认
.pptx(可编辑)/ PDF Slides / Notion Slides / Presentation App,不要假设 - 语言 → 中文需要 CJK 字体 + 更紧的字号阶(全角字符在同 pt 下比 Latin 宽)
- 硬约束 → 页数上限、二维码目标 URL、需隐去的话题、品牌标识
- 内容源 → 用户粘贴的文本?GitHub README?现有 Notion 页?先抓取再写 slide
- 图像需求 → 哪些页需要 AI 配图?封面背景?卡片插图?项目展示?→ 参考 §2.5 确定用途和尺寸
- 视觉系统 → 对复杂/公开发布 deck,先读
references/aesthetic-rules.md,声明style_id、布局族、密度和负面风格 - 生图约束 → 生成封面/hero/showcase 前先读
references/image-constraints.md,写出 image manifest 再调用 API
What ships with it
17 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- lib/ai-image.js 31 KB runs code
- lib/cjk-text.js 5.0 KB runs code
- lib/pptx-shapes.js 5.9 KB runs code
- lib/stepfun-image.js 363 B runs code
- lib/zip-reader.js 3.6 KB runs code
- recipes/design-contract-darklaunch.md 3.5 KB
- recipes/design-contract.md 3.7 KB
- recipes/recipe-dark-launch.mjs 10 KB runs code
- recipes/recipe-editorial-grid.mjs 12 KB runs code
- references/aesthetic-rules.md 3.4 KB
- references/design-principles.md 8.5 KB
- references/image-constraints.md 3.4 KB
- references/layout-slots.md 5.5 KB
- scripts/cjk-overflow-check.mjs 6.1 KB runs code
- scripts/color-qa.mjs 6.7 KB runs code
- scripts/pptx-editable-check.py 11 KB runs code
- scripts/render-qa.mjs 17 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +8 lines 7794c0eaa141
- 11d ago First seen · 858 lines · 128 tokens per session scan A fc1e81bab9c8
themed-cn-pptx is a skill published in the GitHub repository CacinieP/ppt-skills (6 stars, last pushed yesterday), licensed MIT. It adds 128 tokens to every session and 13,343 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
imagegen-pptx-pipeline
End-to-end stateful workflow for designing and generating editable PowerPoint decks from briefs, templates, reference decks, brand assets, data, ImageGen comps, or user-supplied slide images. Uses multi-round content/style confirmation, reviewed per-slide comps, mandatory Real-ESRGAN 4K comp/icon upscaling, built-in…
consulting-deck
Create, revise, and audit executive-ready strategy-consulting presentations as native, editable PowerPoint files. Use when turning topics, text, Markdown, Word, PDF, spreadsheets, CSV data, URLs, research, or an existing PPTX into a board, client, strategy, transformation, market-analysis, or McKinsey-style consulting…
ppt-master
AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable Brand/Style/Layout/Deck workspaces, filling native PPTX templates, and enhancing finished PPTX files. Use when the user asks to create, generate, reconstruct, regenerate, beautify, redesign…
codex-ppt
Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.
presentations
Use when building, theming, or exporting a presentation deck — pitch, sales, keynote, board/QBR, leave-behind one-pager — from slide structure to a token-based theme to PDF or editable PPTX (Marp, Slidev, python-pptx). NOT the words (that is marketing), NOT the visual tokens (that is design), NOT the investor story…
archforge-pptx-lint
Use when building, editing, or reviewing .pptx files - run the archforge linter on the built file before delivery, read its gate codes, fix defects, and re-lint until clean. Catches silent font fallback (Hangul-deep, CJK-aware), tracking damage, unreadable sizes, text collisions, off-canvas bleed, and AI-generated…