REQUIRED when .agents/ directory exists. Context-driven dev workflow with Beads integration. Produces spec-first plans, TDD-driven implementations with cross-session memory, and structured phase completions with verification evidence. Auto-activate when: .agents/ directory present; Flow workflow intents such as setup, plan, PRD, design, research, docs, implement, sync, status, refresh, validate, revise, review, finish, archive, revert, or task; any /flow:* command in hosts that support it; editing spec.md or files in .agents/; beads/br commands; TDD workflow; spec-first planning; cross-session memory. Not for standalone code edits outside the .agents/ workflow, simple file changes that don't need spec tracking, or direct tool use that doesn't involve Flow state.
From flownpx claudepluginhub cofin/flow --plugin flowThis skill uses the workspace's default tool permissions.
references/archive.mdreferences/discipline.mdreferences/docs.mdreferences/finish.mdreferences/implement.mdreferences/plan.mdreferences/prd.mdreferences/refresh.mdreferences/research.mdreferences/revert.mdreferences/review.mdreferences/revise.mdreferences/setup.mdreferences/status.mdreferences/sync.mdreferences/task.mdreferences/validate.mdSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
This skill activates when:
.agents/ directory exists in the project root/flow:* commands in hosts that support themA flow is a logical unit of work (feature or bug fix). Each flow has:
shortname (e.g., auth).agents/specs/{flow_id}/[ ] - Pending/New[~] - In Progress[x] - Completed (with commit SHA: [x] abc1234)[!] - Blocked (logged in blockers.md)[-] - Skipped (logged in skipped.md)Flow requires Beads for persistent cross-session memory:
br status + br ready at session startTo locate files within Flow context:
.agents/index.md.agents/flows.md.agents/specs/{flow_id}/index.mdDefault Paths:
.agents/product.md.agents/tech-stack.md.agents/workflow.md.agents/patterns.md.agents/knowledge/.agents/knowledge/index.md.agents/beads.jsonHost note: Claude Code uses /flow-command and Gemini CLI / OpenCode use /flow:command.
Codex currently runs the same workflows via the installed Flow skill and natural-language requests such as
Use Flow to set up this project or Use Flow to create a PRD for user authentication.
| Claude Code | Gemini CLI / OpenCode | Purpose |
|---|---|---|
/flow-setup | /flow:setup | Initialize project with context files |
/flow-prd | /flow:prd | Create feature/bug flow |
/flow-plan | /flow:plan | Plan flow with unified spec.md |
/flow-sync | /flow:sync | Sync Beads state to spec.md |
/flow-implement | /flow:implement | Execute tasks (TDD workflow) |
/flow-status | /flow:status | Display progress overview |
/flow-revert | /flow:revert | Git-aware revert |
/flow-validate | /flow:validate | Validate project integrity |
/flow-revise | /flow:revise | Update spec/plan mid-work |
/flow-archive | /flow:archive | Archive completed flow |
/flow-task | /flow:task | Ephemeral exploration task |
/flow-docs | /flow:docs | Documentation workflow |
/flow-refresh | /flow:refresh | Sync context with codebase |
/flow-finish | /flow:finish | Complete flow: verify, review, merge/PR |
/flow-review | /flow:review | Dispatch code review with Beads git range |
See references/discipline.md for iron laws, rationalization tables, and red flags.
br ready (Beads is source of truth)br update {id} --status in_progresssuperpowers:subagent-driven-development is available, use it for implementation subagent orchestration<type>(<scope>): <description>br close {id} --reason "commit: {sha}"/flow:sync to update spec.md.CRITICAL: Never write [x], [~], [!], or [-] markers to spec.md manually. Beads is the source of truth — after ANY Beads state change, you MUST run /flow:sync to keep spec.md in sync.
Before marking a task complete, verify:
<type>(<scope>): <description> formatlearnings.mdpatterns.md.agents/knowledge/.patterns.md + scan .agents/knowledge/ chapters.No completion claims without fresh verification evidence. See references/discipline.md.
When a phase completes:
references/review.mdbr comments add {epic_id} "Phase {N} checkpoint: {sha}"/flow:sync (MANDATORY)Before claiming a phase is complete, verify:
/flow:sync was run after Beads state change (MANDATORY)When Superpowers skills are available, the following protocols MUST be followed:
Brainstorming & Planning Overrides:
superpowers:brainstorming) MUST write their results to .agents/specs/<flow_id>/spec.md.superpowers:writing-plans) MUST be written to .agents/specs/<flow_id>/spec.md.docs/superpowers/ for Flow-related artifacts..agents/specs/<flow_id>/.Implementation Orchestration:
/flow:implement, you MUST explicitly recommend the "Subagent-Driven" approach to the user if superpowers:subagent-driven-development is available.superpowers:subagent-driven-development to orchestrate the implementation of tasks.Self-Review & Quality Gate:
/flow:prd) or Plan (/flow:plan), you MUST invoke code-reviewer (or use the internal Spec Review Loop) to validate the artifacts against project patterns and requirements.TDD & Verification:
superpowers:test-driven-development for task implementation.superpowers:verification-before-completion before closing a task in Beads or marking it complete.When Flow skill is active:
br status and br ready for context.knowledge/index.md for relevant past learnings when starting a new flow./flow:sync after any Beads state change.flow:apilookup proactively for external API/docs/version/migration questions.For detailed instructions and directives for specific flow commands, refer to the following documents in references/:
/flow:setup/flow:prd/flow:plan/flow:implement/flow:sync/flow:status/flow:revert/flow:validate/flow:revise/flow:archive/flow:task/flow:docs/flow:research/flow:refresh/flow:finish/flow:reviewThese Flow skills enhance specific phases of development. They activate automatically based on context, but can also be invoked explicitly.
flow:challenge — Use when evaluating claims, reviewing feedback, or when agreement feels reflexive. Forces structured critical reassessment.flow:consensus — Use when evaluating decisions with multiple valid approaches. Rotates through advocate/critic/neutral stances. Sequential mode for bounded decisions, subagent mode for high-stakes architectural choices.flow:deepthink — Use when a problem resists quick answers or investigation is going in circles. Tracks hypothesis, evidence, and confidence level to prevent circular reasoning.flow:perspectives — Shared foundation providing stance prompts and critical thinking frameworks. Loaded automatically by other companion skills.flow:tracer — Use for systematic code exploration: execution traces, dependency mapping, and data flow analysis. Start at a known point, follow connections outward, build a map.flow:docgen — Use for systematic documentation generation with progress tracking. File-by-file analysis ensuring complete coverage.flow:apilookup — Use for documentation lookups. Checks local skill references first, then targets known URLs, then falls back to web search.These can be dispatched as specialized subagents during code review or design evaluation:
flow:devils-advocate — Adversarial reviewer applying critic stance. Surfaces risks and untested assumptions.flow:security-auditor — OWASP-informed security review. Checks injection, auth, data exposure, input validation, dependencies.flow:architecture-critic — Evaluates structural quality: boundaries, coupling, cohesion, testability, simplicity.flow:performance-analyst — Identifies bottlenecks: query patterns, memory, I/O, caching, concurrency, resource lifecycle.| Superpowers Skill | Companion Skills |
|---|---|
| brainstorming | consensus for approach evaluation, challenge if convergence is too fast, architecture-critic for structural implications |
| systematic-debugging | tracer for systematic exploration, deepthink if hypothesis testing stalls |
| requesting-code-review | devils-advocate, security-auditor, architecture-critic, performance-analyst as specialized reviewers |
| receiving-code-review | challenge to evaluate feedback before implementing |
| writing-plans | consensus for architectural decisions, architecture-critic for structural quality |