Frame a fresh goal and author the whole plan (Frame, Decisions, Constraints, all Steps, and the build ranges) before any code. Three input modes: no arg interviews you; a file path (or @-mention) absorbs a spec; any other text expands your inline intent.
2 stars
0 votes
0 copies
0 views
Added December 4, 2026
developmentgoshellbashreactgit
Works with
claude code
cli
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
$npx -y skills add robmclarty/plumbbob --skill plan --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Plan?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/robmclarty-plan)
---
name: plan
description: "Frame a fresh goal and author the whole plan (Frame, Decisions, Constraints, all Steps, and the build ranges) before any code. Three input modes: no arg interviews you; a file path (or @-mention) absorbs a spec; any other text expands your inline intent."
argument-hint: "[spec-path | intent]"
disable-model-invocation: true
allowed-tools: Read, Edit, Write, Bash(plumbbob status:*), Bash(plumbbob handoff:*), Bash(plumbbob start:*), Bash(plumbbob checkpoint:*), Bash(plumbbob defer:*), Bash(plumbbob agent list:*), Bash(plumbbob research:*), Bash(plumbbob export:*), WebSearch, WebFetch
---
# PlumbBob: plan a goal (the whole-goal move)
Current session state (injected when this skill runs): !`plumbbob status 2>/dev/null || echo "plumbbob CLI not on PATH in this session. Marketplace install: confirm the plugin is enabled in /plugin, then /reload-plugins. Skills-dir/global install: npm i -g plumbbob && plumbbob init."`
`/plumbbob:plan` is the **whole-goal** move; it opens a session and gets the deciding out
of your head and onto `intent.md` *before* any code. By default it authors the
**complete plan, including all the Steps and the build ranges**, so the happy path
afterward is `/plumbbob:run` until done: each run lands one range and stops where the plan
says a human call is due. A plan without ranges is driven with `/plumbbob:build`, a step
at a time, and `/plumbbob:build` stays the granular move inside any plan. (Revising a
single increment later is the separate `/plumbbob:step` move; do not confuse the two.)
A model note: this skill **inherits the session model**; nothing pins or switches
it. Planning is where frontier-class judgment pays for itself, so if the session is
running a small model, suggest `/model opus` (or better) before framing: the
human's call, never a gate.
## Three input modes (disambiguated for you; no quotes needed)
Look at the argument the human gave and pick the mode yourself:
1. **No argument → interview.** Walk the human through a short, friendly Q&A to draw
the plan out of their head: read `interview.md` beside this skill first.
2. **The argument points at a file → absorb the spec.** A bare path, an `@spec.md`
mention, or a path wrapped in a sentence all count. Strip any leading `@` and probe
the token with the `Read` tool; if Claude Code has already injected the referenced
file's contents into your context, treat that as the spec rather than re-fetching.
Read the spec and distill it into `intent.md`, **retaining enough detail that
`intent.md` stands on its own**; don't just link to the source. Add a one-line
provenance (`*Source: <path>*`) and, for anything sizable, a `## Source` appendix
preserving the original text. Any prose wrapped around the reference (for example "absorb
@spec.md") is extra intent; fold it in. (If the token isn't a real file, fall to
mode 3.)
3. **Any other text → expand the inline intent.** Treat the text as the human's
rough plan, expand it into the full `intent.md`, and ask only about what is
genuinely ambiguous.
All three modes converge on the **same artifact**: a complete, standalone `intent.md`
an agent can follow with `/plumbbob:run`, or with `/plumbbob:build` when it cuts no ranges.
The argument only seeds how you get there.
## What this skill does
1. **Scaffold.** If there is no active session, run `plumbbob start "<title>"`
to create `.plumbbob/` (baseline recorded, session opened). If a session already
exists, say so and edit the existing `intent.md` rather than starting over.
- **If `start` warns that the gate sees no code checks**, surface that to the
human now (while they're still deciding, not at the first refused
checkpoint) and offer to set the `check` key in `.plumbbob/settings.json`
(for example `"check": "npm test"`) before any step is built.
2. **Frame** (`intent.md` in the build folder, `.plumbbob/builds/<slug>/intent.md`), with the human: the **Problem** in plain words,
the **smallest thing** that solves it, what **done looks like**, and what you are
**explicitly NOT doing**. This is the human's convergence: propose wording, but
the human decides every line.
3. **Research**, sized to the work. A plan is written from what you remember, and that
has a date. Before the Decisions, check the Frame against the world, through up to three
lenses:
| Lens | Asks | Reads |
| --- | --- | --- |
| Ecosystem | Is this buildable on the versions installed today? What changed, what is deprecated, what are the known gotchas? | official docs, changelogs and issue trackers, for each dependency the plan leans on |
| Codebase | What conventions apply, and which file is the exemplar? | the repo, `rules/`, keyframes.md's Map |
| Record | Was this tried, or decided against? | `docs/decisions.md`, keyframes.md, past builds' intent and parks |
A **tiny** plan runs none and skips this step. A **small** plan runs the codebase and
record lenses. A **medium** plan runs all three. Where the host can run subagents, run
the lenses in parallel, one subagent each, the ecosystem lens with the host's own web
tools; the record lens needs no web at all. Where it cannot, read through them in turn
yourself. With no web tool on the host, skip the ecosystem lens and say so when you
present the plan; never write an ecosystem finding from memory.
Write what they find to `research.md` in the build folder, beside `intent.md`: one
`## Ecosystem`, `## Codebase` or `## Record` section per lens that ran, and every
finding in one shape, what was found, its source, and what it changes:
```markdown
- <what was found, in a sentence>
- source: <a URL, or `file:line`>
- changes: <a proposed Decision | an Open question | a `like:` path on a step | nothing>
```
Leave the first line to the CLI. Run
`plumbbob research --stamp <the dependencies the plan leans on>` once the file is
written: it puts the stamp above the findings (the date, each lockfile's hash, each
named dependency's installed version) and rewrites nothing beneath it. That line is how
the plan card and the dashboard later say the research has gone out of date
(D158 (research-is-dated)).
Then carry each finding that changes something into `intent.md` as a **proposal**: a
Decision, an Open question with its lean, or a `- like:` line on the step it serves.
Say which came from research when you present the plan, so the human can keep or cut
each one. A finding never becomes a Decision by itself; the human decides every line,
here as in the Frame. A plan that absorbs a storyboard spec links that record from
`research.md` and does not redo it: whether this is the right thing to build was asked
there.
4. **Decisions & Constraints.** Record the settled calls (one line each, with the
*because*) and the hard rules the build must honor. **Slug each at birth**: mint a two-
or three-word slug where the item is born (`- **D1 (default-waves)**: …`,
`- **C1 (no-new-deps)**: …`), then cite it everywhere else in the file as
`D4 (default-waves)` in plain text, carrying that slug verbatim: **never a bare
`D4`/`C6`/`Q2` reference**, so a cold reader never has to hunt the number down. Write
no `<a id>` anchor and no `(#d4)` link: the file is read as text, and markup there is
noise (D170 (plain-intent)).
An unresolved hole goes to **Open questions**, never guessed into a Decision,
and it goes in the expanded form the template shows: a slugged opener (the hole as a
question, `- **Q1 (default-waves)**: …`), a `*plain:*` sub-line (what's at
stake, in plain words, enough to judge it cold), then a `*lean:*` sub-line (your
proposed resolution: one answer to react to, not a menu), so the human settles it in
one pass without a round-trip. (A tiny, obvious question may stay one bare line; the
sub-lines earn their keep only when a human decision genuinely waits on it.) The plan
card tables the open questions, one row each, and a cell shows only the first sentence
of its line, so write each to stand on that sentence: the opener asks one question in
one sentence, `*plain:*` opens on why it matters, and `*lean:*` opens on the answer
(D118 (questions-table)).
Keep the question about as long as the why and the lean: the table is a review, and it
cuts a question at twelve words, leaving the rest to its link to the entry
(D124 (brief-questions)).
The rest of each line is for the cold reader of `intent.md`. The card's
`yes to all leans` move (or `yes to all leans except Q3: <their answer>`) settles them
in one reply: on each opener line swap `*resolve by:*` for `*resolved:* <date>, <the
answer>`, add the Decision the answer settles, and run `plumbbob handoff --plan` again.
A question the human would rather let the work answer is deferred, not resolved: on
`defer Q3 until <what settles it>`, run `plumbbob defer Q3 "<what settles it>"`, which
keeps the question and swaps its `*resolve by:*` for
`*deferred:* <date>, until <what settles it>` on the opener line, then run
`plumbbob handoff --plan` again. It stays open, the card lists it in a `Deferred` table
beneath the questions table, out of reach of `yes to all leans`, and the Questions row counts it
apart (`**1** to answer · 2 deferred`); once the work answers it, swap the marker for
`*resolved:*` as above
(D120 (deferred-questions)).
A question the human keeps open on purpose, as the running log of something the build
tunes, is deferred the same way, until the work it logs; left on `*resolve by:*`, the
card counts it as a call still owed
(D123 (defer-records)).
Deferring is the human's call, never yours: a lean you are unsure of is still a lean.
5. **Author the Steps.** Write the **full build plan** under `## Steps` (each step a
small, verifiable increment) in the exact format the parser reads:
```markdown
1. [ ] feat(scope): <title>
- seam: `<file>`, `<file>`
- like: <optional; `<file>` to copy the pattern from>
- proof: `<command>` passes; <what it shows>
- model: <optional; smallest that can carry it, with the one-phrase why>
```
Every step needs a **proof** `/plumbbob:verify` can check and a **seam** (the exact
paths it touches). The proof is the step's finish line, written on its own `- proof:`
line beside the seam. **Open it on the command when there is one**: the code span that
opens the line, and only that one, is a shell command `plumbbob checkpoint` runs at the
repo root once the gate is green, and a command that exits non-zero refuses the
checkpoint the way a red check does. So
`` - proof: `pnpm vitest run limiter` passes; the 6th request in 60s returns 429 `` is
measured, and a proof that opens on words (`- proof: the 6th request in 60s returns
429`) is a manual one that you judge at the pause. Never open a manual proof on a code
span that is not a command (a file path, a function call): the checkpoint would try to
run it. One `- proof:` line to a step. A `- like:` line is optional and earns its place
only when a clear exemplar exists: a file already in the repo that does what this step
does, in the shape the step should take (`` - like: `src/throttle.ts` `` on a step that
adds a second limiter). Name one file, two at most, in backticks, repo-relative; the
builder reads them before its first edit and a reviewer gets them as `step.like`. With
no such file, leave the line out, since a loose resemblance teaches the wrong pattern.
It is advice and never a gate: nothing refuses on it, and the card names a like path
that does not exist under `**Seams**:`
(D156 (like-is-advice)). When the card shows a `**Seams**:` part, it has read a seam the build
would refuse, or a path one edit from a file that exists: fix the seam in `intent.md`
and run `plumbbob handoff --plan` again, or, when the path is a new file on purpose, say
so in one line and leave it
(D131 (seams-at-the-plan)). Later steps may be fuzzier than the first (that's fine); they get
sharpened just-in-time when you reach them with `/plumbbob:step`. Keep each small enough to
verify in one review pass. Number them in the sequence you expect to build them and
leave `## Build order` alone: it is for later, when a refine appends a step that has to
land before an existing one (`plumbbob order`).
**When status names a grain, cut the steps to it.** The `grain` line in the state above
sizes a step to the model that builds it, and it alone moves "small enough to verify in
one review pass". Under `fine` a step's seam names 3 paths at most, so cut smaller.
Under `coarse` a step may run past one review pass when its proof opens on a command,
and the cold read does not flag such a step for its size: the command carries what a
read of the diff no longer can. The card names a step cut against the grain under
`**Seams**:`, as guidance. Leave the ranges where the human calls are; no grain moves
one.
**When status names `orchestration host`, read `orchestration.md` beside this skill
before writing the Steps**: it says how a wide step carries its split, and what the
plan card names when one does not (D167 (host-orchestration)).
**Three lines a scheduler reads are optional.** `- after:`, `- stop:` and `- effort:`
each ride a step at most once, and a plan with none of them exports fully serial, which
is what plumbbob builds anyway
([docs/plan-export.md](https://github.com/robmclarty/plumbbob/blob/main/docs/plan-export.md)).
Write one only when the human asks for it or a scheduler will read the plan. The first
`plumbbob export` is what creates `plan.json`, and a build never exported has none. When the
build folder already holds a `plan.json`, any edit you make to `intent.md` leaves it
behind and turns the next check red, so run `plumbbob export` after the edit, before
the plan card
(D146 (cli-keeps-current)).
**The title *is* the commit subject; author it as one**
(D68 (conventional-subjects)): write each
`<title>` as a plain, single-line Conventional-Commit subject,
`type(scope): description`, and it lands in `git log` verbatim (its breaking `!`
honored); this is how each step lands a *real* `feat`/`fix`/`chore` in the history.
Keep load-bearing detail (file paths, module names) in `seam` and `proof`; it is
**never jammed into the title**, which has to read as plain English and as a clean
subject at once. Aim for **≤72 characters** (GitHub's subject convention): soft
guidance you eyeball at plan time, no lint, no gate.
**Set the build's default scope, then let steps override it**: fill the
`**Scope:**` header once with a short feature-level name (the catch-all every step
inherits) and give a step its own `(scope)` when it touches a distinct code area
(`plan`, `commitmsg`, `docs`). A step's `(scope)` names the *code area*; the header
names the *feature*, so scopes stay consistent and greppable across builds. Scope
resolves title-scope → `**Scope:**` default → build slug → bare, and type resolves
title-type → `feat`, so a scopeless plain title still yields a clean
`feat(<slug>): <title>` unchanged.
**Recommend a model per step where the signal is clear** *(optional)*: the
`- model:` sub-line names the **smallest model that can carry the step**, with the
one-phrase why; the human buys capability only where the step needs it. E.g.
`model: sonnet (mechanical, fully specified by the proof)` for rote edits;
`model: opus (strong-assertion test authoring)` where the tests do the thinking;
`model: fable (subtle cross-cutting design)` for judgment-heavy or creative work.
It is advisory metadata for the human (`/plumbbob:status` surfaces it before each build),
never a gate, and nothing switches models automatically. Write it plain (no
backticks) and omit it when any model would do.
6. **Cut the build ranges.** With the steps written, say where the build stops for a
human call, under `## Build ranges`
(D92 (build-ranges)):
one sentence on how to drive the build, a `/plumbbob:run` per range, then one numbered
item per range, in the format the parser reads:
```markdown
1. `/plumbbob:build 1`, **stop:** at step 1's pause, approve the schema before anything writes to it
- model: opus
2. `/plumbbob:build 2-5`, **stop:** review the parser before the renderers build on it
- model: sonnet
- note: <optional; what the range should watch for>
```
**A range ends where a human call is due, and nowhere else.** Three things make a
call: a decision the plan leaves open (an Open question, or a fork only a spike can
settle), a review before later steps build on what landed, and a thing only the human
can do, such as a push, a live key, or spending money. A range that runs through one
has the model make the human's call; a stop that marks none of them is a pause nobody
needed. The command's form says what kind of stop it is
(D85 (range-top-lands)).
A span such as `2-5` lands every step it names and stops at the boundary after the
last, so its stop is a review of what landed, or a decision the next steps need before
they build. A bare `N` builds step N to its pause, so write one for a call that has to
be made before its step lands, on the step's own work: approving the wording it
drafted, or the rule it found. Write each stop as what the human decides or reviews
there, in words they can act on cold.
Name every step in exactly one range, by its plan number. A fresh plan has no build
order, so the ranges follow the numbering. Give each range a `- model:` line naming the
strongest model any step inside it recommends, written plain the way a step's is,
because that is the `/model` the human picks before typing the run; any other
sub-line (a `- note:` on what to watch for) is the reader's, and the CLI leaves it
alone. Replace the template's placeholder item rather than writing beside it: an item
still holding its `<...>` fill-ins reads as no range at all.
**Size the ranges to the work.** A plan of two or three steps may carry one range, or
none. When every step would be its own bare range, delete the section: the default
loop already stops at each step's pause, and `/plumbbob:build` drives a plan without
ranges a step at a time.
**The card names the run, not the item.** The item's command is the range's
definition: the form the parser reads, and the kind of stop it makes. The card names
`/plumbbob:run` on the range line beneath Next Up for the range holding the next step,
with the steps it will land beside it, and `/plumbbob:run 3` runs range 3 by its item number
(D95 (run-verb)).
A range grants nothing until the human types the run that names it, and then the turn
hook mints the grant from the plan as it stands
(D96 (plan-names-the-grant)),
so a range you cut is never a grant you mint
(D67 (auto-not-a-grant)).
7. **Offer harness bindings** *(optional)*. If the build will lean on user-authored
agents, read `agents.md` beside this skill and author `harness.json` at the same
plan pause. Skip it when no step uses an agent; the loop runs identically without it.
8. **Commit the plan.** Once the human approves the frame and steps, run
`plumbbob checkpoint --plan` to commit the scaffold on its own: subject
`chore(<scope>): plan` (with a `plumbbob plan` body marker), only `.plumbbob/builds/<slug>/`,
a `plan <sha>` line in
`checkpoints`. This keeps the first step's diff clean, so history reads
baseline → plan → steps. Pass a proportional `--body` (the single-quoted stdin
heredoc, with nothing after `<<'BODY'` on its line, not even `2>&1`) when the
rationale is worth carrying; skip it for a small plan. Do this
only on the human's approval; the plan is their convergence.
- **The plan pause is a decision turn.** Present the framed plan for the human's call,
its build ranges with it (each range's command and its stop, since a stop is where
the human will be asked, and moving one is cheapest now), then give it the cold
read (**§ The cold read**), write the result into `.plumbbob/detail.md`, and relay `plumbbob handoff --plan`'s block whole: the CLI
renders the your-call block with the moves that apply before anything is recorded,
the state table headed by Next Up, your recommendation, and a `more details` link to
the cold read (the decision tier of the
[turn anatomy](https://github.com/robmclarty/plumbbob/blob/main/docs/presentation.md)),
so the moves are relayed, never hand-composed. *looks good* marks the plan decided, and
its row names the move the human types next: `/plumbbob:run` for the range holding
Step 1 when the plan declares ranges, `/plumbbob:build` for Step 1 when it does not;
a message that asks (`expand 2`, or any question) is answered from the detail file or
`intent.md` and changes nothing; a message that directs is what to sharpen, cheap
now, before any code. The revert move vanishes there on its own: nothing has landed
to wind back. The turn is your framed plan, then that block, and nothing after it:
anything you would add goes above the `---` rule the block opens on.
- **Open questions go first, as choices, where the host can.** When your tools
include `AskUserQuestion` and the plan holds a question that waits on the human, ask
before you write any text this turn: before the framed plan, and before
`plumbbob handoff --plan`
(D129 (ask-first)).
With two or more waiting, ask one question first, `<N> open questions, each with a
lean. How do you want to settle them?`, under the header `Questions`, with three
options: `Take every lean (Recommended)`, `Go through them`, and
`Leave them for the card`. With one waiting, ask it directly. Going through them, ask
up to four in one call: each question's text is its handle, the question, and its
`*plain:*` line, and its options are `Take the lean`, described by the lean verbatim,
and `Defer to the work`; the tool's free-text choice is the human's own answer. A
lean taken or an answer given is resolved on the question's opener line, with the
Decision it settles; a deferral is `plumbbob defer`. The card then tables whatever
still waits, and the plan still lands only on a typed `looks good`. With no such
tool, or the question dismissed, skip all of this: the card's table and a typed reply
are the whole path, as they always were.
- **The plan commit is latched too.** Once the turn ledger exists, `checkpoint
--plan` refuses to land in the same turn `start` stamped it: present the plan,
**end the turn**, and the human's approving message is the tick that lets it
commit on the next run; the refusal *is* the plan pause. Never route around it with a
raw `git commit`. (One documented seam: the very first plan of a brand-new
session runs `start` *before* the turn hook has ever ticked, so that single
commit predates the ledger and stays guidance-governed; it lands without a
refusal.)
- **The plan commit prints its own close.** `plumbbob checkpoint --plan` emits the
whole boundary ending: `**Plan**: committed (<sha>)`, any advisory, and the state
table headed by the pointer at the step the build starts on, the range line beneath it naming the
run that lands that step's range when the plan declares ranges. Relay that block whole and run no second command; the
plan-pause card above is the one place `handoff` is still called, because no verb has
run yet there.
- **The card says what the commit publishes.** Until the plan commit lands, the plan
card's `looks good` row names the tracked folder, which rides this branch into the PR
(teammates will see the plan and build record in review), and a `keep it local` row
offers the way out. You compose neither note, before the
card or after it. When the human picks `keep it local`, run `plumbbob start --local`
on the open session: it excludes `.plumbbob/` in this clone, so the plan and finish
commits land record-only and the folder never rides the branch. Then run
`plumbbob handoff --plan` and end on the card, which now says record-only. Once the
plan has landed, the folder is in a commit and `start --local` refuses.
- **Record-only variant.** When the repo's own `.gitignore` excludes `.plumbbob/`, or
the session was kept local, the folder can't ride the branch; `start` flags a
gitignored repo up front, the card's `looks good` row says record-only, and the plan
commit lands as an empty commit whose message carries the plan, the files staying
untracked. The rationale is published in `git log`, not the folder, so pass a fuller
`--body` than you otherwise would, since the message is the whole record.
9. **Offer to stress-test it.** Suggest `/plumbbob:refine` to attack the frame for holes (or
to repair the plan as it drifts). Optional, the human's call.
## The cold read
The plan pause ends on your recommendation, and the recommendation is an estimate made
with fresh eyes, not a re-reading of your own plan. Before you relay the card, give the
framed plan one bounded adversarial pass under a fixed lens, the pass `/plumbbob:refine`'s
attack mode makes, but without its writing: surface, never append. Edit nothing, add no
Open questions, and keep it to one screen of reading. The lens:
- an ambiguity a builder would have to guess through;
- an edge case or a hidden assumption no Decision settles;
- a collision with the existing code (read the files the seams name);
- a proof no test or check can measure, or a seam that names a file that does not
exist or misses one that must change;
- a step too large to review in one pass, or a Decision with no *because*;
- a range that runs through a call the plan leaves open, so the model would make it;
- a range that stops where no call is due, a pause the human did not need.
Write what you found into `.plumbbob/detail.md`, overwriting whatever a past session
left, the findings first and the recommendation last:
```markdown
# Detail · Plan · <the title>
## 1 <the first hole: one sentence, naming where it sits in intent.md>
<what it is, and what closing it would take>
## 2 ...
## Recommendation
<The move.> <The reason, one or two sentences.>
```
The recommendation takes one of two shapes. A sound plan gets `Approve it.` and what the
read checked and found sound. A plan with a hole gets `Sharpen <the one worst hole> first.`
and why it matters; when the read found more than one, say how many sit behind `expand`
and name `/plumbbob:refine` as the move that writes them up as Open questions, with their
plain and lean sub-lines, for the human to settle. Three findings at most; the rest is
refine's. A shell command you want the human to run never rides inside a sentence: end the
sentence on a colon and give the command a fenced `sh` block of its own, one command to a
line, which handoff keeps line for line; `/plumbbob:refine` stays in backticks in the
sentence. `plumbbob handoff --plan` prints the label and your recommendation beneath the
state table, then the `more details` link to the file, "expand 2" opens `## 2`, and `checkpoint --plan` records the read beneath the
plan's line in the build-log's `## Log`, the build's first entry. The cold read is the tip of refine: it makes the
full attack discoverable at the moment it would pay, and lets a sound plan skip it. Refine
is where the real adversary looks; this is an estimate, and it says so by staying short.
## The hard contracts
- **Deciding before code.** `/plumbbob:plan` writes `intent.md` only, never source.
- **The human converges.** You surface options and draft wording; the human picks.
An unresolved hole is an Open question, not a guessed Decision.
- **Stands on its own.** Whatever the input mode, the finished `intent.md` carries
enough detail to be followed without the chat or the external source.
- **Size to the work.** A small change fills Frame + a couple of Decisions + a step or
two and stops; ceremony on a one-liner is the failure mode, not thoroughness.