pb-evolve

pb-evolve is a command for coding agents from xcodethink/open-claude-code-skills. It costs 27 tokens per session (440 once invoked), scanned A, original, MIT.

A command that starts a Playbook evolution review, meaning a structured review of reusable development guidance. The process researches industry practices, evaluates existing templates, finds gaps, and produces proposed changes for approval.

In plain words
What is it for?
Use it to review playbook templates, compare them with researched practices, inspect recent usage when transcripts are available, and prepare add, update, delete, or keep recommendations.
Why use it?
It helps identify missing, outdated, thin, or duplicated playbook material without changing files before the proposals are approved.

Command

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.

agentmods
npx agentmods add commands/xcodethink/open-claude-code-skills/pb-evolve
Clone the repo
git clone --depth 1 https://github.com/xcodethink/open-claude-code-skills

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 pb-evolve

README.md
[![agentmods](https://agentmods.dev/badge/commands/xcodethink/open-claude-code-skills/pb-evolve.svg)](https://agentmods.dev/commands/xcodethink/open-claude-code-skills/pb-evolve)
Your own site
<a href="https://agentmods.dev/commands/xcodethink/open-claude-code-skills/pb-evolve"><img src="https://agentmods.dev/badge/commands/xcodethink/open-claude-code-skills/pb-evolve.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00027 $0.00440
Opus 5 $0.00014 $0.00220
Sonnet 5 $0.00005 $0.00088
Haiku 4.5 $0.00003 $0.00044

Measured 3d ago against content hash 47d4bcfcca05, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pb-evolve 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 3d 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.

commands/pb-evolve.md · 35 lines

What it actually says

pb-evolve — Playbook 演进 review 触发器

用户输入 /pb-evolve $ARGUMENTS 表示要做一次完整的 Playbook 演进 review。

行为

直接读取并执行 ~/.claude/prompts/lib/09-元指令/playbook演进review.md 中定义的完整 6 步流程:

  1. WebSearch 调研业界最佳实践(Anthropic / OpenAI / LangChain / Cursor / Aider / Linear playbook)
  2. 盘点当前库存量(12+ 模板、5 修饰符的价值密度评估)
  3. 扫近期使用情况(如果用户提供 transcripts)
  4. 找 gap(完全缺失场景 / 模板太薄 / 过时 / 重复 / 缺真实教训)
  5. 输出 PR 式提议报告(新增 / 更新 / 删除 / 不动 四类,禁止直接改文件)
  6. 用户审批后应用 + 重建 LIBRARY.md + 跑回归 + 沉淀 review 记录

强制要求

  • [NO] 凭记忆给"业界最佳实践",必须用 WebSearch 调研
  • [NO] 跳过用户审批直接改文件
  • [NO] 一次改 ≥3 个模板不做中间汇报
  • [NO] 改完不重建 LIBRARY.md / 不跑回归

用户参数

/pb-evolve 后的文字(如有)作为 review 的 focus 提示。例:

  • /pb-evolve — 完整全面 review
  • /pb-evolve 主要看部署相关 — 聚焦某分类
  • /pb-evolve 我这个月的对话日志在 X — 带 transcripts review
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. 3d ago First seen · 35 lines · 27 tokens per session scan A 47d4bcfcca05

Subscribe to this mod's changes

pb-evolve is a command published in the GitHub repository xcodethink/open-claude-code-skills (2 stars, last pushed 28d ago), licensed MIT. It adds 27 tokens to every session and 440 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.