/flow:start <goal>from flow
Use for any non-trivial task in a repo that has .flow/config.json (a feature, a bug fix, an integration, a job), for /flow:start <goal>, and to continue a flow task on the branch. The one entry point of flow - it classifies the risk, then runs every step itself (prove the risky part first, the shortest real path, verify, ship) and comes back only at a human checkpoint or when it's done.
Ships in flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
One command runs the whole task. The engineer types /flow:start <goal> once. You run every step below in order, without being told the next one, and come back only at a checkpoint (below) or when the work is done. Never end a turn by telling the engineer to run a flow command: run that step yourself. The one exception is an approval, which only a human gives.
The goal: catch expensive mistakes (wrong problem, wrong architecture, wrong economics, wrong test method) while they are cheap, show working results early and often, and spend no ceremony on small work.
Read the relevant code, recent PRs, logs and data. For a bug, find the first cause and whether it's a regression (when, which PR). Small work: minutes, not hours.
Access first. List what the task needs that you can't reach yet: a signed-in dashboard, admin page, staging app or vendor console. If you can drive a browser (Claude in Chrome, the built-in browser), ask once, now, in one message: which page to open and what to sign in to (that sign-in is the go-ahead to read there); if you can't, ask for a screenshot or an export instead. Never ask for or type passwords or codes; the engineer signs in. Then use that browser to read, test and unblock yourself, and keep working on everything else while you wait. It is read-only by default: read only what the task needs, and never approve, merge, post approvals, change settings or secrets, or write to production there (🔴).
.flow/config.json risk: which rules will this work trip? On an existing diff run node .github/flow/flow.mjs classify.override approval.| Tier | Steps, all run by you | Human |
|---|---|---|
| Small | Reproduce → fix → test (the likeliest failure too) → PR with a ## Evidence section. No task. | None |
| Medium | Task → prove it first (§5) → /flow:challenge (light) → /flow:build → /flow:verify → /flow:ship | None, unless you need an override or a 🔴 decision |
| High | Production evidence → task → prove it first (§5) → /flow:challenge → draft PR with only the spec → checkpoint 1 → flow.mjs sync → /flow:build → /flow:verify → /flow:ship (checkpoint 3) | spec@ before code, ship@ before merge |
Each /flow:<step> is a skill: load it with the Skill tool (flow:build, flow:verify, ...) and follow it to its end before the next one. Don't fold a step into another: a medium task isn't done until it has its light challenge (challenge.simplest and 2 challenge.failureModes), and, when a signal whose rule has capacity: true in .flow/config.json fires (model-call, external-api, worker, bulk), a top-level capacity block in task.json (beside challenge, not inside it) with workload.users, workload.workPerUser, latency.firstResult, cost.perUser and cut80, each number with its source; every criterion has evidence in task.json, verify.md ends with a verdict, and a PR is open (or the one thing blocking it is named).
Create .flow/tasks/<ID>/task.json. The shape is in ../../templates/task.example.json, relative to this skill's directory. Copy its structure, not its content.
<PREFIX>-<n>, for example the ticket id. It is permanent; never rename or delete a task.<ID>.<n>), kind, severity (critical or normal), verify (unit, integration, e2e, failure_injection, eval, canary or manual) and a testable behavior.
functional, or safety for what must never happen; verify: failure_injection; critical for the likely ones); if the repo has no CI check for failure_injection tests (config.verify.failure_injection.checks), add one or prove it with integration, never unit or manual. "It'll probably be fine" is not a decision. In an agent or LLM product, a failed tool returns a clear, specific result to the model (what failed, whether retrying can help, and the best fallback for the user, such as the content inline or a request to paste it) with an instruction not to guess causes or promise retries or ETAs the system doesn't have.chosen holds what the human decided.flow status find the task.Agree the criteria and how each will be proven before substantial implementation. For medium work, record that agreement in the task. For high work, it is checkpoint 1.
Plans fail on the assumption nobody ran: a throughput that turns hours into days, an access nobody has, a dependency that is off in production. Before building broadly:
capacity as source: measured (ref, at), the whole-workload forecast as latency.fullCompletion with source: estimate and a basis naming that run, and both as round 0 in progress.md (§6). A number you didn't run is never measured.Skip only when nothing scales and nothing depends on something you haven't touched; say so in log.
progress.md: the smallest real example that shows useful progress (pick the one that exercises the suspected failure, not the easiest to pass), what the engineer will inspect (a before/after diff or output, a screenshot, a running interaction, a command to reproduce; whichever makes the behavior easiest to judge), and what success means for it. For a trivial task, the finished change is the result..flow/tasks/<ID>/progress.md (private examples stay in private storage; no transcripts; commits and test counts aren't progress):## Round 2: one real transcript, before/after (2026-10-19, rev 1a2b3c4)
- goal: keep the decisions a meeting made
- artifact: out/round2/facts-diff.md
- result: 7 of 9 decisions kept (was 3); dates still lost; long transcripts unverified
- scorecard: heavy user done in 14 h (target 2 h) · $3.10 per user (target $1) · 18/20 useful
- next: keep dates in the extraction
- verdict: off-track
log.In a repo with no .flow/config.json, run the same steps (classify with ../../templates/config.json's risk rules, prove it first, rounds, verify), with two differences:
.flow/ files.Batch questions as multiple choice, each with your recommended default. A small bug may need none; a new system may need many. Never ask what the code, the data or a sensible default can answer.
/flow:challenge output plus the gate's PR comment).ship@).Everything else is yours to decide.
No goal came with the command: use the goal stated in this thread; if there is none, ask for it in one line and stop, without exploring the repo first. An interrupted or killed tool call (exit 137, "the session ended before this call's result was recorded") is never a reason to end the turn: re-run what you need and go on, and never answer "No response requested." while the task is open.
Before you end a turn, the task is waiting for its goal, at checkpoint 1, 2 or 3 or a 🔴 decision (one ready-to-paste ask, and you keep doing what doesn't depend on it), waiting on something outside the session (name it), or done (deployed and verified, or the PR open with the one thing blocking the rest named). A round is not a stop. Otherwise, continue. Stop at once when the engineer says stop or pause; answer a question about something else, then resume the task unless told not to. A later prompt about this task resumes it from progress.md and flow.mjs status <ID>.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yassineldeeb/claude-skills --plugin flow9 skills in this plugin
/buildA step of /flow:start (run it from there; the engineer doesn't call it). Build a flow task inside its approved boundaries - the walking skeleton first, failing tests as the finish line, a round shown at each milestone./challengeA step of /flow:start (run it from there; the engineer doesn't call it). Attack a high-risk design before any code is written - production evidence, a measured run of the risky part, alternatives, capacity and cost, failure modes, assumptions - with an independent reviewer. A light version for medium./installInstall or upgrade flow in the current repository (gate, config, PR template, rules), including migrating a flow 1.x repo. Use when the user runs /flow:install or asks to set up flow or "Shipping with AI" in a repo.Other plugins' skills for the same job