Forward Plan
Convert your roadmap and ready set into a dependency-filed plan artifact.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/forward-plan-escoffier-labs/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Works for every skill.What this command does
- Makes a new, empty temporary folder.
- Downloads the skill's folder,
src/brigade/templates/skills/forward-plan, fromgithub.com/escoffier-labs/brigadestack(branchmain), the GitHub repository it's listed from. You get the version that is there now, not a copy we keep. - Copies that folder to
~/.claude/skills/forward-plan-escoffier-labs/. - Deletes the temporary folder.
Installing runs none of the skill's files; it only downloads and copies them. When you later use the skill, Claude follows its SKILL.md and may run scripts that come with it. Read them first.
Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Use when turning Brigade's native ready set, outcome rank, and ROADMAP.md into a dependency-filed plan artifact under .brigade/work/plans/ - propose brigade-code-graph-derived edges (blocks from def/use, conflicts-with from write overlap) marked derived and requiring confirmation. Degrade cleanly when brigade-code-graph is unavailable. Never a subcommand.
What this skill does
forward-plan
Turn the native ready set, outcome ranking, and the repo ROADMAP into one dependency-filed plan artifact. Brigade stays invoke-only. This skill is the allowlist-bound agent recipe. It is a registry skill, never a CLI subcommand - the planning sequence stays inspectable.
When this applies
- You need a forward plan that joins what is ready now with roadmap direction.
- An operator schedules a headless harness against this skill for planning.
- The workspace has (or can create)
.brigade/work/and may or may not have brigade-code-graph installed.
Allowlist
Work only through this allowlist:
brigade work ready --json(add--explainwhen blocked items matter)brigade outcome rank --json(optional--by-capability/--recency)- Read of repo-root
ROADMAP.mdunder the parse contract below brigade code …for brigade-code-graph footprint / impact / doctor checksbrigade work task add --graph …only after an operator confirms derived edges (never auto-apply. See Safety gates)brigade work plansto list existing plan artifacts- Write only under
.brigade/work/plans/(the plan JSON + plan.md pair) - Read/Grep of on-disk task ledgers, existing plans, and code paths named by brigade-code-graph output
Bash is scoped to those brigade … commands only. Do not expand into arbitrary
shell, remote APIs, or writes outside .brigade/work/plans/. Stay inside the
target workspace. Do not follow .. or symlinks out of it.
Safety gates
Plan draft is not graph-ingest input. A forward-plan draft under
.brigade/work/plans/ (the .json / .plan.md pair) is not valid input
to brigade work task add --graph. That command expects a graph-ingest file
shaped for task creation with edges. Feeding it a plan draft can create task
nodes while applying zero proposed edges from proposed_edges.
Confirmation is procedural, not enforced by the allowlist. Derived-edge
confirmation is an operator-in-the-loop gate. The broad
Bash(brigade work task:*) allowed-tool pattern does not enforce it, so this
recipe must not run any mutating brigade work task … or
brigade work task add --graph … command before the operator gives explicit
confirmation.
Inputs
- Native ready set -
brigade work ready --json(from the work ledger dependency edges / ready resolver). Prefer--explainwhen the ready set is empty so blocked paths are visible. Ready items may carry optionalseat_class(mechanical|judgment|review) andspend_by(ISO-8601 deadline) annotations for quota-driven dispatch routing. Pass those through when proposing or filing work; never invent a model id. When filing tasks after confirmation, emit them withbrigade work task add … --seat-class … --spend-by …ormetadata.seat_class/metadata.spend_byon--graphnodes. Absent annotations change nothing. - Outcome rank -
brigade outcome rank --json. Use ranking only as a soft priority signal for ordering proposed work, never as a substitute for readiness. - ROADMAP.md - repo-root roadmap, parsed with the contract below.
ROADMAP.md parse contract
Read only the repo-root file ROADMAP.md (or the path the operator names as
that roadmap). Heading shapes:
| Heading shape | Action |
|---|---|
# … (document title) | Ignore for item extraction. Context only. |
## Now… / ## Current… | Read. Collect - / * bullets as active candidates. |
## Next… | Read. Collect bullets as near-term candidates (below Now). |
## Later… | Read. Collect bullets as deferred candidates (lowest priority). |
## Vocabulary / ## How items move / archive / process sections | Ignore. |
## Where things stand / status snapshot sections | Ignore for new plan nodes (background only). |
Any other ## / ### | Ignore unless the operator explicitly names it in scope. |
Bullet rules:
- Only lines starting with
-or*under an included section become candidates. Nested prose paragraphs, tables, and fenced code are ignored. - Bold lead-ins (
- **Title.** rest) keep the title as the candidate label. The rest is supporting detail. - Links, archive pointers, and "Status: implemented" closure notes do not create new plan nodes on their own.
- Do not invent roadmap items that are not on-disk bullets under an included heading.
Output: dependency-filed plan artifact
Write a paired artifact under .brigade/work/plans/:
.brigade/work/plans/<plan-id>.json.brigade/work/plans/<plan-id>.plan.md
Choose <plan-id> as forward-plan-<UTC-YYYYMMDDTHHMMSSZ> (filesystem-safe).
Use the shipped plan.template.json shape in this skill directory as the JSON
contract. Required fields:
kind:"forward-plan"status:"draft"until an operator accepts. Never auto-acceptinputs: records of ready-set, outcome-rank, and roadmap sources usednodes: proposed or existing work items (ready tasks first, then Now/Next roadmap candidates not already covered)proposed_edges: dependency proposals (see below)graphtrail: availability, snapshot identity when known, and degradation notenext_command: a safe next step (default review the draft. Never a mutating apply)
The .plan.md mirrors the JSON: summary, nodes, proposed edges (calling out
derived + unconfirmed), brigade-code-graph status, and next safe command.
Derived dependency edges (brigade-code-graph impact intersection)
When brigade-code-graph is available (brigade code doctor / impact / neighbors work):
- Build a footprint per candidate node (files + symbol ids) from brigade-code-graph context/impact, stamped with the graph snapshot you queried.
- Pairwise impact intersection over open / proposed nodes:
- def/use ordering → directed
blocks(definer/source blocks consumer/target) - write overlap (same files written) → unordered
conflicts-with
- def/use ordering → directed
- Every such edge is derived: set
derived: true, recordrule(def-useorwrite-overlap), and asnapshot_hash(or graph identity). Setconfirmed: false. - Derived edges require confirmation before they become real ledger edges.
Do not call
--graphapply for derived edges until an operator confirms them. - Only derived edges may be auto-retracted by a later reconcile recipe (see scheduled-care / outcome reconcile docs). Authored (human-confirmed) edges are never auto-deleted by this skill. If brigade-code-graph later contradicts them, flag the contradiction in the plan, do not silently remove them.
conflicts-with is proposal-only in the plan artifact today (the native ledger
edge types are blocks, parent-child, discovered-from). On confirmation,
file native blocks edges that the operator accepts. Keep confirmed
conflicts-with in the plan as parallel-safety advisories unless a native type
exists.
brigade-code-graph unavailable (degrade cleanly)
If brigade-code-graph is missing, the DB is absent, or brigade code … fails:
- Propose no derived edges (
proposed_edges: []). - Set the artifact's
graphtrail.availablefield (its name is unchanged) tofalseand state plainly in both JSON and plan.md: "brigade-code-graph unavailable. No derived dependency edges proposed." - Still write the plan from the ready set, outcome rank, and ROADMAP parse.
- Do not invent edges from prose guesswork.
Process
- Run
brigade work ready --json(and--explainif ready is empty). - Run
brigade outcome rank --json. - Read
ROADMAP.mdunder the parse contract. Collect Now / Next / Later bullets. - Probe brigade-code-graph (
brigade code doctoror a cheapbrigade code stats). If unavailable, skip to step 6 with empty proposed edges and say so. - Otherwise compute footprints and propose derived edges from impact intersection. Mark each derived + unconfirmed.
- Soft-order nodes: ready set first, then outcome-rank hints, then Now, Next, Later roadmap candidates.
- Write
.brigade/work/plans/<plan-id>.jsonand.plan.mdfrom the template contract. Leavestatus: draft. - Stop. Present the artifact paths and wait for confirmation before filing any
ledger edges. Capture outcomes against
forward-planwhen verification is part of the run.
Failure paths
- Missing
.brigade// work ledger / target: stop. Report the missing path. Do not invent a ledger or run against the operator home. - Empty ready set and no includable ROADMAP bullets: exit cleanly with "nothing to plan". Write no artifact (or write a draft that says so and lists zero nodes - prefer no artifact when both inputs are empty).
- Missing
ROADMAP.md: continue with ready set + outcome rank only. Note the missing roadmap ininputsand do not invent roadmap nodes. - Malformed ready / rank JSON or unreadable ROADMAP: skip the bad input, say so, continue with what remains. Never rewrite ledger or roadmap files to "fix" parse errors.
- brigade-code-graph errors mid-probe: degrade as above (no derived edges, say so).
Out of scope
- New CLI subcommands or changing the work ledger schema
- Auto-applying derived edges without confirmation
- Scheduler or model-dispatch integration
- Auto-retracting authored edges
Related skills
C-Suite Chief of Staff
alirezarezvani
Route founder questions to advisors, coordinate board meetings, and synthesize decisions.
Documentation Consolidator
daymade
Merge redundant documentation files while keeping all unique content and information.
Video Research Assistant
owainlewis
Generate YouTube video ideas for any topic and save them to Airtable.
Scope Decomposer
levnikolaevich
Break down project scope into epics, stories, and prioritized tasks.