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 agentmods add commands/xcodethink/open-claude-code-skills/pbgit clone --depth 1 https://github.com/xcodethink/open-claude-code-skillsWhat 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 | $0.00023 | $0.00454 |
| Opus 5 | $0.00012 | $0.00227 |
| Sonnet 5 | $0.00005 | $0.00091 |
| Haiku 4.5 | $0.00002 | $0.00045 |
Grade A, and why
pb 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 2d 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
pb — Playbook 指令模板库
用户输入了 /pb $ARGUMENTS 想用指令模板库。完整逻辑在 ~/.claude/skills/15-playbook/SKILL.md,请读取它并按其中"Claude 收到 /pb 后的行为"一节执行。
快速指引
- 读
~/.claude/prompts/index.yaml— 元数据索引是真理来源 - 判断用户意图:
- 无参数 /
list→ 列表模式:输出速查表 help→ 帮助模式- 其他文字 → 匹配模式:自然语言匹配模板 + 修饰符
- 无参数 /
- 匹配模式输出:
- 强匹配(top1 远超其他)→ 直接确认 + 完整注入模板正文
- 多候选 → 列 top 3 让用户选
- 无匹配 → 告诉用户没匹配到,建议描述更多细节
- 修饰符叠加:用户输入里出现"超谨慎/全量回归/深度思考/不部署/操作前必问"任一 → 自动叠加对应修饰符
- 注入模板时输出完整正文(让行为契约进入对话上下文),不要总结成一两句
不要做的事
- [NO] 凭记忆给模板,必须读
index.yaml和模板文件 - [NO] 模板没匹配到就编造一个
- [NO] 注入模板后不真的执行行为契约
- [NO] 把模板内容总结一两句给用户
用户输入参数
用户在 /pb 后面的所有文字都是参数(场景描述 + 修饰符)。
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.
- 2d ago First seen · 34 lines · 0 tokens per session scan A 4fac4c42dd0c
pb is a command published in the GitHub repository xcodethink/open-claude-code-skills (2 stars, last pushed 28d ago), licensed MIT. It adds 23 tokens to every session and 454 once invoked, about $0.0001 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 commands, from other repositories
go-test
Go TDD workflow with table-driven tests.
go-review
Go code review for idiomatic patterns.
review-branch
Review the current branch's diff against base by dispatching atomic-reviewer. No orchestration loop, no spec required — pre-flight before /commit pr or /commit merge.
handoff
Generate or load a session handoff. Usage: /handoff [create|resume].
example-only
This command documents how to dispatch. Example only.
test
Run all PandaFilter verification steps in order. Stop and report on first failure. This is the required pre-commit gate.