# Add to your Claude Code skills
git clone https://github.com/antinomie-lab/pi-bookLast scanned: 8/10/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-08-10T05:25:11.587Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}pi-book is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by antinomie-lab. It has 192 GitHub stars.
Yes. pi-book passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/antinomie-lab/pi-book" and add it to your Claude Code skills directory (see the Installation section above).
pi-book is primarily written in Vue. It is open-source under antinomie-lab on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pi-book against similar tools.
No comments yet. Be the first to share your thoughts!
一本中文架构书的工作区。对象是 pi 仓库的 packages/agent。
一个 agent 循环,被做成一个库。
这本书从代码出发,讲清楚 @earendil-works/pi-agent-core 是怎么搭起来的:它承诺什么、拒绝什么、支点在哪里。全书对应 pi 仓库 main 分支的 commit cd20a8d2e。代码引用写成 文件:行号,每个引用就地附上引文——读者不需要打开编辑器,就能核对书里任何一处论断。
| 方式 | 入口 | 适合场景 |
|---|---|---|
| 🌐 Web 在线版 | books.antinomie.org/pi | 沉浸式阅读,代码引文高亮 |
| 📥 Markdown 版 | agent/ | 下载到本地,配合 AI(Claude / Cursor 等)边读边问、对照源码 |
你会读 TypeScript,知道 LLM API 的基本概念(messages、tool calls、streaming),不需要事先了解 pi 仓库。
整体 → 局部 → 横切。
目录只列已发布的章节,后续章节随写随添。
agent/ —— 书的原稿,唯一的内容源头。可见 agent/README.md。
web/ —— 阅读器(Vite + Vue)。只渲染 agent/ 的原稿,不存放内容。
cd web && npm install && npm run dev
引文规则、三种卡片组件(插叙 / 岔路 / 为什么不去)、范围之外,都写在 agent/README.md 的「体例」一节。