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 sidiangongyuan/codex-skills-library --skill pptgen-drawiogit clone --depth 1 https://github.com/sidiangongyuan/codex-skills-libraryWrote 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/sidiangongyuan/codex-skills-library/pptgen-drawio)<a href="https://agentmods.dev/skills/sidiangongyuan/codex-skills-library/pptgen-drawio"><img src="https://agentmods.dev/badge/skills/sidiangongyuan/codex-skills-library/pptgen-drawio/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/sidiangongyuan/codex-skills-library/pptgen-drawio"><img src="https://agentmods.dev/badge/skills/sidiangongyuan/codex-skills-library/pptgen-drawio.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.00080 | $0.04612 |
| Opus 5.5 | $0.00032 | $0.01845 |
| Sonnet 5.5 | $0.00016 | $0.00922 |
| Haiku 4.5 | $0.00008 | $0.00461 |
Grade A, and why
pptgen-drawio 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.
This is a copy
88% identical to pptgen-drawio — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PPT 多页 Draw.io 生成(论文答辩 + 通用汇报)
本 skill 支持两种模式,共用 ppt_template/、scripts/、reference/ 目录,以及 Step 0 自定义模板、Step 1 确定内容与风格、Step 3 & 4 输出与导出 全流程。
模式识别
| 模式 | 使用时机 | 内容来源 | 默认页序 | 输出文件 |
|---|---|---|---|---|
| 论文答辩 | 学位论文答辩、开题、预答辩 | paper-write 结构化提取 | 封面→目录→背景→现状→方法→创新点→实验→结论→致谢→Q&A | paper-defense.drawio |
| 通用汇报 | 工作汇报、产品介绍、演讲 | 用户消息提取/生成 | 封面→目录→节标题→内容页→总结→致谢→Q&A | general-presentation.drawio |
Step 0:用户自定义模板(可选,两种模式共用)
若用户提供了自己的 .pptx 模板文件:
- 模板放置:将
.pptx放入ppt_template/目录 - 运行样式提取:在 skill 根目录下执行:
python scripts/analyze_pptx.py ppt_template/xxx.pptx reference/style-custom.md - 读取
reference/style-custom.md作为「自定义风格」继续
目录约定:ppt_template/ 存放模板、scripts/analyze_pptx.py 样式提取、reference/ 风格文件
Step 1:确定内容与风格(两种模式共用)
1.1 确定内容
- 论文答辩:若用户只有论文全文:先调用 paper-write 的「结构化信息提取」;若已提供结构化信息:从消息中提取【论文题目】【学科方向】【答辩时长】【论文结构/目录】【各章核心内容】【创新点/贡献】等,缺失则追问
- 通用汇报:从用户消息中提取幻灯片大纲及内容,或根据核心需求扩展为完整结构
1.2 选择风格
两种模式均可选择以下风格之一,读取对应 reference 文件获取配色、字体、版式规则与 XML 样式片段:
| # | 风格 | 主色 | 强调色 | 有无顶栏装饰 | reference 文件 |
|---|---|---|---|---|---|
| 1 | 经典学术 / 商务严谨 | #1B2A4A |
#C9A84C |
有:顶栏 150px + 金线 8px | reference/style1-classic-academic.md |
| 2 | 现代极简 / 大字报感 | #231F20 |
#F5C638 |
无,靠留白和字号差 | reference/style2-minimal-bigtype.md |
| 3 | 暖色学术 / 亲和力 | #2C5160 |
#B7472A |
有,同风格一结构 | reference/style3-warm-academic.md |
| 4 | 科技明快 / 现代前沿 | #0170C1 |
同主色 | 有 | reference/style4-tech-modern.md |
| 5 | 自定义 | 从 style-custom.md 提取 | 看模板 | reference/style-custom.md |
- 论文答辩:用户未指定时默认风格 1
- 通用汇报:用户选择或根据语境自动推荐
- 风格 1 / 3 / 4 是同一套版式换配色(顶栏 + 细线 + 页脚),只有风格 2 是真正不同的版式。用户想要「看起来不一样」时推风格 2;传统工科院校答辩推风格 1
Step 2:生成多页 Draw.io XML
必须先读取所选风格的 reference 文件,基于该风格生成 XML。
- 画布:16:9(pageWidth=1920,pageHeight=1080)
- 页序:按模式识别表中的默认页序
- 页数:由 Step 1.1 拿到的答辩时长决定,见下面 2.1
2.1 论文答辩模式页序(按时长换算)
页数由三部分相加:
What ships with it
12 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.
- agents/openai.yaml 392 B
- LICENSE 11 KB
- NOTICE.md 467 B
- ppt_template/README.md 435 B
- reference/style1-classic-academic.md 11 KB
- reference/style2-minimal-bigtype.md 8.3 KB
- reference/style3-warm-academic.md 5.0 KB
- reference/style4-tech-modern.md 5.9 KB
- scripts/analyze_pptx.py 8.4 KB runs code
- scripts/postprocess_pptx.py 3.5 KB runs code
- scripts/render_check.py 12 KB runs code
- scripts/textmetrics.py 6.8 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 First seen · 263 lines · 80 tokens per session scan A 5407b083d8c1
pptgen-drawio is a skill published in the GitHub repository sidiangongyuan/codex-skills-library (28 stars, last pushed yesterday), licensed MIT. It adds 80 tokens to every session and 4,612 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to pptgen-drawio, differing in 4 lines, and is treated as a copy.
pptgen-drawio compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pptgen-drawiosidiangongyuan/codex-skills-library | Skill | 28 | yesterday | MIT | A | 80 | Codex |
| nature-downloaderYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 36 | Codex |
| nature-paper2wordYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 233 | Codex |
| nature-image2pptYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 56 | Codex |
| nature-paper-transYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 68 | Codex |
| nature-experiment-logYuan1z0825/nature-skills | Skill | 56k | 3d ago | Apache-2.0 | A | 45 | Codex |
| baoyu-youtube-transcriptJimLiu/baoyu-skills | Skill | 28k | 11d ago | MIT | A | 107 | Claude Code |