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 skills/nicograef/handbook/implement-plannpx skills add nicograef/handbook --skill implement-plangit clone --depth 1 https://github.com/nicograef/handbookWrote 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.
[](https://agentmods.dev/skills/nicograef/handbook/implement-plan)<a href="https://agentmods.dev/skills/nicograef/handbook/implement-plan"><img src="https://agentmods.dev/badge/skills/nicograef/handbook/implement-plan.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00080 | $0.02761 |
| Opus 5 | $0.00040 | $0.01380 |
| Sonnet 5 | $0.00016 | $0.00552 |
| Haiku 4.5 | $0.00008 | $0.00276 |
Grade A, and why
implement-plan 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.
How it starts
The opening of the file, as written. The whole thing — 217 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Implement Plan
Execute a whole plan without a human turn between phases. Work is durable only once committed and ticked — that is the unit of progress. Everything else happens between checkpoints.
Workflow
-
Resume before you start — every invocation, including the first.
- Run the pickup sequence in recovery.md: worktree list, state
scan,
## Run state, commit log, reconcile. - Finish or abort any half-open rebase/merge in its owning worktree first.
- Redoing finished work is the most expensive failure available.
- Run the pickup sequence in recovery.md: worktree list, state
scan,
-
Read the plan; pin the base.
- Collect every phase with unmet
- [ ](plan anatomy: create-plan). - Detect the base branch with
git symbolic-ref --short refs/remotes/origin/HEAD. - Fall back to
git ls-remote --symref origin HEAD. - If neither resolves, ask — do not assume
main. - Then pin it:
BASE=$(git rev-parse refs/heads/<base>). - Every dry run, rebase and merge targets
$BASE, never a moving branch name.
- Collect every phase with unmet
-
Review every unmet phase in one pass — ambiguous criteria, missing context files, conflicting instructions, criteria no command can verify.
-
Choose the shape — execution mode and the concurrency test, both in orchestration.md. Sequential is the default.
- Then set each phase's review tier per verification-depth.md.
-
Present the run contract and get one go-ahead. Contract:
- plan path, base branch and pinned sha
- the phase list with its grouping and each phase's review tier
- worktree paths and branch names
- the verification command, the stop conditions
- every question from step 3
- every shell command the agents need that is not already allowlisted — an unattended run stalls on a permission prompt
The run's only planned human turn. It is using-git-worktrees step 3's confirm-before-creating, asked once instead of once per worktree.
-
Create the run worktree
.worktrees/plan-<slug>on branchplan/<slug>from$BASE, per using-git-worktrees.- Confirm a clean baseline there before the first edit: the verify command passes on unchanged code.
- Later failures are then attributable.
-
Execute each unit in order.
- Sequential phases run in the run worktree.
- A concurrency-eligible group gets one worktree, one branch and one agent per phase.
- Dispatch per orchestration.md and the delegation contract.
- No two agents ever write one file; no agent ever writes the plan file.
-
Commit per acceptance criterion that names its own change, then tick.
- A criterion asserting only the gate, or restating a sibling's verification, rides along with the change it describes. Never mint an empty commit for it.
- Implement one criterion at a time, so its commit is whatever the tree already holds.
- Never write a phase broadly and then partition it into criteria.
- That bisecting is the only thing that makes a commit expensive. The commit itself is a second.
- The phase's own worker runs the verification command:
make testormake checkif the repo has a Makefile. - Otherwise the language-appropriate default:
go test ./...,pnpm test,mvn test. - Per criterion the worker runs only the targeted tests for what it changed.
- The full gate runs once per phase, before the phase reports.
- Scope even that gate to the languages the phase touched.
- A Python-only phase paying for a frontend build is waste times the criterion count.
- A whole gate multiplied by the criterion count is a phase's largest avoidable cost.
- The lead reads that exit code. It re-runs the gate only after a fold, a rebase, or an edit the gate has not seen.
- Commit the change with the run trailer (Constraints).
- Tick the phase's criteria in one commit when the phase closes, not one commit per box.
- The plan file is lead-owned, which is why the tick is a commit of its own — bookkeeping, not granularity.
- Tick only what a tool result from this session proves.
- If verification fails twice on one phase for the same reason, switch to systematic-debugging.
- If that does not resolve it, stop.
-
Fold each parallel group into
plan/<slug>in ascending phase order.- Use the fold sequence in integration.md.
- Transcribe that phase's ticks as you go.
- Re-run verification after each fold — passing in isolation does not mean passing together.
-
Land
plan/<slug>on the base branch with the landing sequence in integration.md, then re-verify in the main checkout.- Delete the
## Run stateblock and commit that removal before landing. - The base branch never receives it.
- Every acceptance criterion in the plan ticked:
git rmthe plan file in the main checkout after landing. - Commit that removal on the base branch as its own commit.
- Any unticked criterion keeps the file.
- Step 11 then reports the plan file as surviving.
- Then
git worktree removeeach worktree the run created. - And
git branch -deach merged branch. - Push, PR or discard is finish-branch's decision, not yours.
- Delete the
-
Report. Counts line first, then one bullet per field:
3 phases — 2 complete, 1 blocked; 9 criteria ticked; 11 commits landed- Phases — completed, with criteria ticked and commits landed.
- Dropped — agents that returned nothing, and what happened to their work.
- Unticked — anything left unticked, with the reason.
- Plan file — deleted, or surviving with the unticked criteria that kept it.
- Nothing dropped and nothing unticked: say so in one line, no padding.
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago First seen · 217 lines · 80 tokens per session scan A 3c1b7e880619
implement-plan is a skill published in the GitHub repository nicograef/handbook (2 stars, last pushed 27d ago), licensed MIT. It adds 80 tokens to every session and 2,761 once invoked, about $0.0004 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 skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…