00Playbook 5 · Open source · MIT
v5Less is more.
Claude Code already does almost everything. Playbook now adds only what is missing: define each change before the code, keep your decisions in your own words, and learn from its own mistakes.
01Why
No reinventing the wheel.
Version 4 repeated what Claude Code already does: explore, plan, review, remember. That copy fell behind. Version 5 adds only what is missing.
02What v5 brings
Seven skills. Nothing Claude Code already does.
- /playbook:define
- Defines each change with you before the code, and writes a spec you accept once.
- /playbook:close
- Runs the spec’s check, has a read-only reviewer read a risky change, and proposes one line for each mistake seen twice.
- /playbook:audit
- Adopts a project that already exists, then checks the wiki against the code, what loads at startup, and the tools that collide with this way of working.
- /playbook:audit-learning
- Finds what repeats across your works and proposes a delegation, a rule, a skill, or an agent.
- /playbook:release
- Sets the version and drafts the notes. You push and publish.
- /playbook:permissions
- Asks one question at a time about attribution and your permission rules, and writes the ones you accept into Claude Code’s settings.
- /playbook:presets
- Saves a project’s setup as a preset and applies it to another project of the same stack, asking at each step.
The dictionary: what each piece does and when to use it
- + A flat wiki in docs/playbook/
- + Hooks that ask before a push, a pull request, or a release
- + About 50 lines of rules per session
03What’s new in v5
What each version added, newest first.
- 5.8/playbook:audit-learning also reads the dialogs you answered, kept on your machine, and proposes a delegation for a question you always answer the same way.
- 5.7/playbook:presets saves a project’s setup as a preset and applies it to another project of the same stack.
- 5.6/playbook:permissions, a wizard for commit attribution and your allow, ask, and deny rules, one question at a time.
- 5.5/playbook:audit: one audit for the wiki, what loads at startup, and your tools, each part on a read-only auditor.
- 5.4/playbook:audit-learning turns what repeats across your works into a delegation, a rule, a skill, or an agent.
- 5.3The agent runs the audit and the release on your yes; push, pull requests, and releases still ask.
- 5.2Build mode: builder: the builder agent, on Sonnet, builds each unit while your session verifies.
- 5.1Shorter sessions: define and close recommend /clear and name the next unit.
- 5.0One plugin that adds only what Claude Code does not already do.
04Cheaper sessions
Short sessions cost less.
From Playbook 5.2
A session’s cost grows with the context each request carries. Three real sessions, measured on 2026-11-22, cost $0.069 to $0.198 per request, with about 138k to 408k of context each.
Two ways to build
Build mode: mainDefault
- /clear
- /model sonnet
- Build the unit in the main session
Build mode: builderOptional
- Stay on the current model
- builder, on Sonnet, builds the unit from a brief
- The main session verifies with the tests and the diff
One line in ~/.claude/CLAUDE.md or in the project’s CLAUDE.local.md; the local one wins. With none, it is main, and define asks once. After each unit, close recommends /clear in both modes and names the next unit.
- Each unit is sized to fit one short session, with its own check. The spec already holds the handoff, so each step starts small.
- The model is chosen at the start of a session, not midway, because each model has its own cache.
- In builder, the main session sizes each brief: it proposes to split a unit that holds two results, and to run one builder per unit at the same time when they change different files. You decide.
Designed to cut the cost of a session; not a measured result. Playbook recommends and you decide: no hook forces /clear, a model, or a mode.
05Install
Two commands.
claude plugin marketplace add andresfrei/playbook claude plugin install playbook@playbook
In a project that already exists, run /playbook:audit. In a new one, /playbook:define.
Or paste this prompt into Claude Code and let it install Playbook:
Install Playbook for Claude Code from https://github.com/andresfrei/playbook. Add its marketplace with `claude plugin marketplace add andresfrei/playbook` if it is missing. Run `claude plugin install playbook@playbook`. Use `claude plugin list` to confirm the plugin is enabled and tell me its version. Then tell me to start a fresh Claude Code session in my project and run /playbook:audit if the project already has code, or /playbook:define if it is new.
Using an agent? Point it to /llms.txt