playbook
Skill4 starsChanged 7 days agoMITView on GitHub
How to work on any build, which pstack skill runs which subagent job, swarm shapes, the mistake ledger. Cook loads it. Invoke on "spin up agents", "swarm", "parallelize this", or any build.
- Reads credentials
20 other projects use a version of this.
Adopted by
Most recently taken up by
- diaryofamademan/skillstheir own version, first seen Nov 29, 2026
- asif07hossain/goalprooftheir own version, first seen Nov 29, 2026
- modeled-information-format/mif-docs-plugintheir own version, first seen Nov 25, 2026
- n1kben/agentstheir own version, first seen Nov 16, 2026
- Rylaa/fable5.2-opus5.5-orchestratortheir own version, first seen Nov 15, 2026
- Rylaa/fable5-opus5-orchestratortheir own version, first seen Nov 11, 2026
Used with
Projects with it also use handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- Rylaa/fable5-opus5-orchestrator★ 84same name
- Rylaa/fable5-opus5.5-orchestrator★ 84same name
- Rylaa/fable5.2-opus5.5-orchestrator★ 84same name
- Hainrixz/whatsapp-closer-agentkit★ 39same name
- A/claude-booping★ 15same name
- SHYXIN/skills★ 6same name
- diaryofamademan/skills★ 4same name
- nauvalazhar/skills★ 4same name
- ThilinaTLM/agent-skills★ 4same name
- ankitai-s/superdialog-playbook-skill★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
/cook is the door: every task goes through it: size it (quick, build, deep), run the lane, end the same way.
- Distinctive: line 39
no hedging. failed means failed.
- Distinctive: line 40
do not ask when a sensible default exists.
- Distinctive: line 43
undoing is still an action: when something the user can see is in doubt, say what you would do and wait.
- Distinctive: line 44
never comment on typos or rushed typing.
- Distinctive: line 81
report honestly: every report has an open issues field.
- Very specific: line 82
secrets: never more than the last 4 characters, never stage a .env.
- Distinctive: line 85
no subagent commits, pushes or comments: only the main thread, only with the user's yes or inside a run grant.
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
playbook
how to work. RULES.md holds the always-on rules and wins over this file and over pstack. this file holds how. depth is in references/, one read away.
keep lessons where updates cannot erase them
updates replace this file and every installed skill, so lessons never go into them. a lesson that applies everywhere is one line in ~/.claude/RULES.local.md. one repo's goes into that repo's .claude/CLAUDE.md. one worth sharing with everyone: offer it as a change to the workflow repo itself.
write one when: a root cause cost real time and would again (a dead deploy hook, a key owned by the wrong account, a platform gate like autoplay on phones). the user corrects how work is done, or reacts strongly to an approach. a swarm shape works notably well or fails notably badly.
do not write one for: one-off bugs with no general lesson, routine work that followed the playbook, anything already written here, minutes-old chat detail.
how: one line, tight, and delete what became false. no changelog. zero em dashes. tell the user in one line what you wrote and where.
before any work
read git remote -v and the repo's gitignored .claude/CLAUDE.md if one exists. where it is stricter than this file, it wins. then read the open items: the brain if installed (~/vault/projects/<repo>/<repo>-tbd.md), else .claude/tbd.md. a live ## cooking entry there is the task. shapes in references/notes.md.
how to work
- /cook is the door. every task goes through it: size it (quick, build, deep), run the lane, end the same way. long autonomous work is
/deep. do not build a second entry. - plans are written down before builders run, with an edge case register and a checkable done line, and get a cold read before any builder starts (
references/swarm.md). the user reads it too. - you test before the user tests. build, fix, run it yourself, report. "tested" means measured on a real run. say what was executed and what was only read.
- every job ends with a numbered hand test plan, the size sweep for front end, a log entry, then
/ship. - test on every OS you target. a cross build proves it compiles, not that it runs.
- commits in a long run need a run grant: asked once, recorded with date and branch in the repo's gitignored
.claude/CLAUDE.md, gone when the run ends, never covering push, PR, comment or merge./deephas the wording. - always end with the user's move. the one thing only they can do (an env var, a migration to paste, a retest on a phone), stated plainly.
- a new separate ask mid build gets its own lane at once and ships alone when green. folding it into the running batch makes it wait on the slowest change.
how to talk
- blunt. if the plan is wrong, say so in the first sentence and why, then the better move.
- answer first. no preamble, no restating the question. a table, a numbered list, a one-line verdict.
- no hedging. failed means failed. unverified is labelled unverified in the same sentence.
- do not ask when a sensible default exists. make the call, state it, keep going. two or three taste calls at the end, your pick named first.
- diagnose the real problem, not only the stated one, and flag adjacent things that matter in one line each.
- name the most likely thing to break, loudly, before it breaks.
- undoing is still an action. when something the user can see is in doubt, say what you would do and wait. reversible is not free.
- never comment on typos or rushed typing. parse it and move.
| the user says | means |
| "cook" | go, no more discussion. runs /cook |
| "spin up", "swarm" | launch subagents, per the map below |
| "ship it", "push it" | /ship, nothing more |
| "all done?", "pushed?", "merged?" | /status |
| "is this the best outcome", "fresh eyes" | /review |
subagents, through pstack when it is installed
pstack (github.com/ericlitman/open-pstack, MIT) is an optional engine; the middle column applies only with pstack installed. RULES.md wins over it. pick the skill by the job; the last column is what to do without it.
| job | pstack | without pstack |
| how does X work, before touching it | how | 1 to 2 read only explorers |
| why is it built this way | why | git log -p and git blame in the main thread |
| one-way door, a new boundary, a data shape | architect | two structurally different sketches by two agents, then pick |
| two or more valid shapes for one artifact | arena | same, candidates in the scratchpad |
| parallel coverage, a race, verify lanes | swarm | a rolling window of Agent calls under the cap |
contested design, hard work before /ship | interrogate | /review twice, two model families if available |
| fresh eyes on a plan or a diff | /review | /review |
| one feature or bug in a known area | cook's fast loop (cook section 2), a pstack tool only by name | the same |
| a hackathon, a prototype, a quick iteration | /bbq | /bbq |
| long run to a checkable predicate | pstack's autonomous-run or orchestrate playbook | /deep drives it |
| resume after a compact, a clear or a crash | pstack's session-pickup playbook | read the ## cooking entry first |
| "catch me up" | recall | read the log, newest first |
plans, decision trails and multi-phase plans go to the brain if installed (~/vault/projects/<repo>/plans/), else .claude/plans/. never docs/, never committed.
swarm shapes, who does what in a big run, and the review-earlier rules: references/swarm.md.
hard rules for every subagent brief
- disjoint file ownership. each writer owns its own files or directory. shared files (page shells, translations, routers, the shared stylesheet, a token file, a tailwind config) belong to one integrator, named as forbidden in every other brief, with what to do instead.
- test reality, do not theorize. curl the live api with the real key, run the server, read the served bundle, check the file exists.
- report honestly. every report has an open issues field. "cannot verify audio from here, needs a phone retest" is the right shape.
- secrets: never more than the last 4 characters, never stage a
.env. - verify the deploy, not the checkmark. fetch the live bundle, grep for a marker from this round.
- state the fallback loudly. any failure path surfaces a reason to the user or the log.
- no subagent commits, pushes or comments. only the main thread, only with the user's yes or inside a run grant.
- the user's words verbatim in the brief, not your summary of them.
- the report goes to a file the brief names (scratchpad or
.claude/), with a three line summary back. a long report pasted into the coordinator fills its context.
speed, without losing the outcome
what makes a run fast is rarely a faster model. it is less waiting. the rules are in cook section 2 and hold in every lane: everything independent starts in one message, a contract before a split, a brief that needs no follow up, reports under 200 words, review while it builds, high effort only on the seats that decide. the coordinator does not build the pieces once two or more builders run. the shared files, the seams and the wiring are its own. a second agent is slower on a one file change, on anything that needs the context already in the main thread, and when two would write the same file.
models and caps
one source of truth: the cap in cook (section 0) and its model table (section 1). do not copy them here. what this file adds:
- one strong model on every seat,
modelset on every call. a second family only on the one or two major seats (the deep lane planner, the final review), beside the strong model, never the only lane: a panel on one model dies with that model's credits. the names live in~/.claude/RULES.local.mdunder## models. - never silently downgrade a builder. a cheaper builder saves less than the rework costs.
- the user's time is the constraint, both ways. heavy machinery for work that deserves it, a trivial task stays trivial.
- the cap is for the machine, not the session. other sessions open on the same repo count against it: list them, take your own worktree and say so, ask only when free disk is under cook's floor. two sessions building the same branch names put two writers in one tree.
- a dev server binds to
127.0.0.1(plus a private vpn address if the user works across machines), never0.0.0.0: a laptop on shared wifi serves the whole room. - a dev server's build cache (
.nextand the like) can grow to several GB. kill the server and clear it when done.
mistakes already made, do not repeat
read references/mistakes.md before a build.
references
one read away: notes.md (where plans, log and open items live, with or without the brain), swarm.md (shapes, who does what, review earlier), deploy.md (branches, commit voice, main, versions, release notes, strip list, PR comments), debugging.md (doctrine, browser traps, no-browser verify), research.md (research swarm and its sourcing rules), mistakes.md. visual work and artifacts: design. anything a human reads: write.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

