/flow:flow [ resume | next | card | check C-NNN | project-type web|cli|library|skill | mode teach|work | skip <stage> | ready [--json] | workspace add|list|enter|remove|check|doctor | auto [--parallel] [stop] | attest semantic|live-verify|status|recover|verify-chain | doctor | retro | eval | clarify | converge | or just say what you want in plain language ]from flow
Runs a gated build process from idea to deployed evidence. Walks stages (Idea→Research→Scope→PRD→ADR→Contract→Cards→Build→Review→Deploy→Verify→Retro) with honest gates. Adapts to web, CLI, library, or skill projects.
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.
Read when SKILL.md points to them.
Idea to world-state done-evidence (deployed URL for web; install+run for cli/library/skill), not paperwork. Each stage has an artifact and a GATE. Kill at any gate is a valid, honored outcome.
Idea -> Research -> Scope -> PRD -> ADR -> Contract -> Cards -> Build -> Review -> Deploy -> Verify-live -> Retro
|------------------ planning (files in flow/) ------------------| |------- shipping (inside cards/) -------|
/flow is two layers. Both must agree; the script can pass hollow content.
runner/flow.sh (deterministic, exit 0/1). Stage/card lifecycle plus
cheatable checks: unchecked boxes (including leftover - [ ] under ## Open decisions),
[FILL], card status, empty done-evidence, plus content scanners on 01/02/03/05
(typed-web entry floor, L-above-A, PRD adjectives, OD cap). Always run it first — its
exit code is ground truth, never host judgment. Open-decision leftover boxes are the
same scanner; clarify only prints them — not a second gate.references/gate-examples.md before letting the operator advance.This file is always-on. Load one extra reference for the verb in play (load table)
plus that verb's row in references/command-dispatch.md. Do not load the rest until
needed. Typed verbs always win over chat.
FLOW_FORCE a live
session; concurrent runs corrupt the plan. Set FLOW_SESSION_ID per session.teach, never tick a box or
write an artifact on the operator's behalf.DEBT.md.done without pasted world-state evidence._templates/ or runner/flow.sh during a project run.NEXT_VERB= / JSON next_verb is advisory; never auto-exec next, card,
card-start, check, fix-gate, auto, or skip.flow.sh firstFrom the project root (where flow/ and cards/ live):
# macOS / Linux / Windows Git Bash:
bash <skill-dir>/runner/flow.sh <command>
# Windows PowerShell or cmd (INCLUDING inside Codex): use the .cmd launcher, NOT bare bash.
<skill-dir>\runner\flow.cmd <command>
Bare bash on Windows/Codex is usually WSL and cannot read C:/ paths. Always
runner/flow.cmd from a Windows shell; it locates Git Bash. Call flow.sh directly
only when bash is Git Bash.
Flow v1 runtime requirement (pre-release target): product operations require Python
3.7 or newer (standard library only), resolved as python3 then python. Missing,
below-floor, or nonworking interpreters refuse progression; a nonempty
FLOW_HARNESS_DISABLE also refuses product operations. Help and doctor remain available
for diagnosis. The graph executor owns ordering; the mechanical runner remains the gate
verdict authority. This contract is not shipped until implementation, migration/rollback,
review and CI acceptance are complete; see the v1 migration guide.
<skill-dir> is the install home (~/.claude/skills/flow, ~/.codex/skills/flow,
~/.agents/skills/flow, Antigravity ~/.gemini/antigravity-cli/skills/flow (CLI) /
~/.gemini/config/skills/flow (IDE), or project .claude/skills/flow). Override with
FLOW_PROJECT_ROOT. Antigravity (agy CLI / IDE): same SKILL.md bundle; run
agy inspect to confirm it loaded.
One session per project. flow/.lock auto-reclaims after FLOW_LOCK_TTL (default
900s). Mutating commands refuse a fresh foreign lock. Export a stable FLOW_SESSION_ID.
FLOW_FORCE=1 only for a lock known dead; unlock clears it.
| In play | Load |
|---|---|
| typed verb | references/command-dispatch.md (that row only) |
| plain language | references/concierge.md, references/flow-catalog.tsv |
| next PASS / check semantic | references/gate-examples.md |
| card / build session | law/CLAUDE.md |
| UI | law/DESIGN.md |
| auto | references/auto-run.md |
| attest / receipts | references/attestations.md |
| mode work | references/mode-work.md |
| eval | references/gate-eval.md |
| Idea/Scope ritual | references/forge-idea.md |
| engines | references/codex-integration.md, references/antigravity-integration.md, references/claudekit-skills.md |
| parallel occupancy | references/host-agnostic-parallel.md |
| agents | references/agent-detection.md, references/agent-stage-mapping.md |
| skip / halt | references/debt-and-halts.md |
| host context adapters (opt-in) | references/host-hooks.md |
| harness | harness/README.md |
| retro | law/RETRO.md |
flow/ or cards/ → run
resume first (read-only session-story: last session, in-flight + dwell, gate state,
one NEXT -> line). Skip only with live context this session.flow.sh first and relay exit + output (/flow, next, check,
resume, doctor). Lock BLOCKED → STOP. Treat PIN v1 and inactive-auto
receipt warnings as host-internal metadata (never dump PIN v1 as user prose);
always add 1–2 plain EN/VI sentences stating what failed ([FILL], - [x],
done-evidence), how to fix it, and the exact next command (references/concierge.md)./flow mode work when a beginner is stuck
hand-editing in teach), never author/tick in teach. PASS → semantic challenge in
gate-examples.md (the one extra file). Do not silently advance hollow content; do
not silently block a sound artifact.law/CLAUDE.md — one card per session, only ## Allowed files,
contract is the seam, done = world-state proof. Run recall first; apply its output.work: interview once, draft 00–05, pause only for scope sign-off, same
gates as teach._templates/ or runner/flow.sh during a project run. Read any file
the runner just created before editing it.references/command-dispatch.md (no Commands table in this file).references/concierge.md + references/flow-catalog.tsv.references/forge-idea.md (adapted from BMAD-METHOD,
bmad-forge-idea, MIT, opt-in, never a gate condition).references/codex-integration.md.references/antigravity-integration.md
(confirm load with agy inspect).references/claudekit-skills.md.references/host-agnostic-parallel.md.references/attestations.md.harness/ is flow-owned. Improve via R-IMPROVE-HARNESS in
references/native-rituals.md. Never story update --status implemented — use
story complete --proof-source.done without pasted world-state evidence.ready marks them safe._templates/ or runner/flow.sh during a project run._templates/00-idea.md (opens in a new tab)_templates/00-inspect.md (opens in a new tab)_templates/01-research.md (opens in a new tab)_templates/02-scope.md (opens in a new tab)_templates/03-prd.md (opens in a new tab)_templates/04-adr.md (opens in a new tab)_templates/05-contract.md (opens in a new tab)_templates/card.md (opens in a new tab)_templates/constitution.md (opens in a new tab)adapter-hooks/claude-settings-snippet.json (opens in a new tab)adapter-hooks/context_handler.py (opens in a new tab)adapter-hooks/flow-context-handler (opens in a new tab)eval/fixtures/b00_supported/flow/00-inspect.md (opens in a new tab)eval/fixtures/b00_unchecked/flow/00-inspect.md (opens in a new tab)eval/fixtures/converge/conv-01/cards/C-001.md (opens in a new tab)eval/fixtures/converge/conv-01/flow/03-prd.md (opens in a new tab)eval/fixtures/converge/conv-01/src/app.py (opens in a new tab)eval/fixtures/converge/gap-01/cards/C-001.md (opens in a new tab)eval/fixtures/converge/gap-01/cards/C-002.md (opens in a new tab)eval/fixtures/converge/gap-01/flow/03-prd.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
User wants to build a real product end-to-end with discipline (idea -> a deployed URL for web, or installs+runs for a CLI/library/skill), or types any /flow command, or asks for a gated build process, scope decision, contract-first plan, or card-based shipping.
npx claudepluginhub manhquydev/flow-skill --plugin flow2 skills in this plugin
Other plugins' skills for the same job