AI Agent: Design Principles and Engineering Practice is an open-source book that explains how AI agents combine language models, context, and tools, with accompanying experiments and code. It is intended for readers studying the principles and engineering of AI agents, from fundamentals through production use. The catalogue skills support coding-agent work related to the book's subject matter.
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 bojieli/ai-agent-book --skill pptxgit clone --depth 1 https://github.com/bojieli/ai-agent-bookWrote 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/bojieli/ai-agent-book/pptx)<a href="https://agentmods.dev/skills/bojieli/ai-agent-book/pptx"><img src="https://agentmods.dev/badge/skills/bojieli/ai-agent-book/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/bojieli/ai-agent-book/pptx"><img src="https://agentmods.dev/badge/skills/bojieli/ai-agent-book/pptx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
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.00084 | $0.00678 |
| Opus 5.5 | $0.00034 | $0.00271 |
| Sonnet 5.5 | $0.00017 | $0.00136 |
| Haiku 4.5 | $0.00008 | $0.00068 |
Grade A, and why
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 1mo ago.
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.
What it actually says
pptx Skill —— 从论文生成演示文稿
核心流程(第二层)
把一份来源文本(论文 / 大纲)转成 8-12 页的演示文稿,按以下步骤:
- 通读来源:理解论文的标题、作者、问题背景、方法、关键结果、结论。
- 规划页序:一份合格的演示文稿总页数应为 8-12 页,至少覆盖——
- 标题页(论文标题 + 作者/来源作为副标题)
- 目录 / 大纲页
- 研究背景 / 问题动机
- 方法概述(必须拆成 2 页,例如「总体思路」与「关键机制」)
- 关键结果 / 实验发现(必须拆成 2 页,例如「效率指标」与「效果对比」)
- 局限性 / 讨论
- 小结 / 结论页(要点式总结全篇)
- 提炼要点:每页 3-5 条 bullet,每条一句话,避免整段照搬原文。
- 生成文件:调用本 Skill 捆绑的脚本
scripts/generate_pptx.py(通过run_skill_script工具),传入下面约定的 JSON payload。
捆绑脚本调用约定
工具:run_skill_script(name="pptx", script="generate_pptx.py", payload=<JSON字符串>)
payload 的 JSON schema:
{
"title": "演示文稿主标题(通常等于论文标题)",
"subtitle": "副标题,通常是作者或来源,可留空",
"slides": [
{"title": "页标题", "bullets": ["要点1", "要点2", "要点3"]}
]
}
约束:
slides至少 8 项(加上自动生成的标题页,总页数落在 8-12 页区间)。- 第一项通常是「目录 / 大纲」,最后一项应为「小结 / 结论」。
- 每页
bullets建议 3-5 条。
更详细的样式与实现细则(第三层)
如需了解版式、配色、python-pptx 的实现细节,或排查生成问题,
再用 read_skill_file 读取本 Skill 内的:
reference.md—— 版式、配色与 python-pptx 技术细节scripts/generate_pptx.py—— 生成器源码本身
What ships with it
2 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.
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.
- 1mo ago First seen · 52 lines · 84 tokens per session scan A 24561726e75c
pptx is a skill published in the GitHub repository bojieli/ai-agent-book (54,406 stars, last pushed 7d ago), licensed Apache-2.0. It adds 84 tokens to every session and 678 once invoked, about $0.0003 per session on Opus 5.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-30.
Other skills, from other repositories
excel-author
Create and edit Excel (.xlsx) workbooks with openpyxl. Supports formulas, charts, formatting, and data analysis.
ppt-author
Create and edit PowerPoint (.pptx) presentations programmatically. Requires python-pptx.
ocr-document
Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.
file-convert
Convert between file formats: CSV↔JSON, Markdown↔HTML, YAML↔JSON, images, and more. No external service needed.
notion-sync
Read, create, and update Notion pages and databases. Requires Notion API integration token.
paper-writing
Write and typeset formal documents — academic papers, reports, articles — using Markdown + Pandoc and LaTeX. Convert between formats (md↔pdf↔docx↔tex), manage citations with BibTeX/CSL. Keyless, local. Use when asked to "write a paper", "format this as LaTeX", "convert to PDF/Word", "add citations".