themed-cn-pptx

themed-cn-pptx is a skill for Claude Code, Codex from CacinieP/ppt-skills. It costs 128 tokens per session (13,343 once invoked), scanned A, original, MIT.

A workflow for creating or editing editable Chinese-language PowerPoint presentations with an IP or character theme and embedded QR codes.

In plain words
What is it for?
Use it to turn a document or outline into a themed deck, revise an existing PPTX, add AI-generated images, insert QR codes, and check the finished slides.
Why use it?
It covers the full process from source material to slides and includes checks for text overflow, overlaps, contrast, editability, and visual rendering.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn a document or outline into a themed deck, revise an existing PPTX, add AI-generated images, insert QR codes, and check the finished slides.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caciniep/ppt-skills/themed-cn-pptx
Install

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.

Any agent
npx skills add CacinieP/ppt-skills --skill themed-cn-pptx
Clone the repo
git clone --depth 1 https://github.com/CacinieP/ppt-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for themed-cn-pptx

README.md
[![agentmods](https://agentmods.dev/badge/skills/caciniep/ppt-skills/themed-cn-pptx/github.svg)](https://agentmods.dev/skills/caciniep/ppt-skills/themed-cn-pptx)
Your own site
<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.

agentmods 80×15 button for themed-cn-pptx

Your own site · 80×15
<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>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,343 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured today against content hash 7794c0eaa141, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 11 executable files (lib/ai-image.js, lib/cjk-text.js, lib/pptx-shapes.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/themed-cn-pptx/SKILL.md · 866 lines

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 构建脚本),需要做局部修改——换主题色、加配图、调排版、插页、替换内容。

流程

  1. 读取现有 .pptx(用 python-pptx 解析)或 .js 脚本
  2. 确定修改范围——主题色?哪些页加图?哪些文字要改?
  3. 修改 build_<theme>.js → 重新生成 .pptx
  4. QA 循环(§8)

典型说法

  • "把这份 PPT 换成初音主题"
  • "给第 3 页和第 6 页各加一张 AI 配图"
  • "封面加个背景图,文字加半透明遮罩"
  • "粉色再浅一点"

路径 B:从文稿到 PPT

用户给一份文稿/大纲/README/Notion 页,从零生成完整 PPTX。

流程

  1. 抓取内容源(粘贴文本 / GitHub README / URL)
  2. 任务拆解(§1)
  3. 构建色板(§2)+ 确定生图需求(§2.5)
  4. 选择 Slide 布局(§5)→ 编写 build_<theme>.js
  5. 生成配图(§2.5)→ 嵌入 PPTX
  6. 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

Read the full file on GitHub · 866 lines

Changes

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.

  1. today Changed · +8 lines 7794c0eaa141
  2. 11d ago First seen · 858 lines · 128 tokens per session scan A fc1e81bab9c8

Subscribe to this mod's changes

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.

Related

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…

eddyzzl/imagegen-pptx-pipeline · 141 tokens

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…

zairuilab/consulting-deck · 101 tokens

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…

hugohe3/ppt-master · 108 tokens

codex-ppt

Generate visually unified image-based PPT/PPTX decks from articles, reports, papers, notes, or outlines.

ningzimu/codex-ppt-skill · 27 tokens

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…

ericrisco/rsc-harness · 93 tokens

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…

Love-Ash/archforge · 91 tokens