/flow:flow-dispatchfrom flow
Routes work to the right execution surface: inline edits, subagents, packaged workflows, bounded swarms, or cross-harness CLI bridges. Use when deciding how to dispatch tasks across models and workspaces.
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.
Choose the lightest execution mechanism that fits the job, route live model roles without hardcoding vendor IDs, dispatch work across installed CLI harnesses, and coordinate active conversations across separate workspaces.
| Need | Surface | Primary Tool / Command |
|---|---|---|
Small edit (<= 5 files or <= 300 LOC) or narrow read (<= 12 files) | Direct inline work | Edit and verify inside the current session |
| One isolated investigation or heavy standalone module | Single subagent | invoke_subagent with compact path list and stop condition |
| Multi-chapter spec, parallel research, or batched execution | Packaged workflow | run_workflow (flow-scout, flow-spec-planning, flow-chapter-pipeline, flow-dual-review) |
Ready tasks editing separate files (<= 4 at once) | Bounded swarm / parallel workers | flow tasks plan --flow <id> --briefs --json |
| Second-opinion review or cross-harness task | Cross-harness CLI bridge | flow harness detect, dispatch, or delegate |
| Separate repository conversation in Google Antigravity | Peer session bridge | flow agent list, inspect, send, or start |
<= 5 files, <= 300 LOC) and quick lookups inside the main session so worker startup does not waste latency or tokens.flow tasks plan --flow <flow_id> --briefs --json before spawning workers (workers <= 4).flow models route --task-kind <kind> --json to pick (model, effort) dynamically for strong, standard, fast, or light roles. Keep user overrides in ~/.config/flow/models.json, never inside tracked repo specs or skills.flow models materialize --harness <harness> when delegating to claude, codex, cursor, vscode, or opencode.strong role for planning, spec review, bug diagnosis, and cross-vendor checks. Use standard or fast for well-scoped implementation tasks with compact briefs.Every delegated brief (invoke_subagent, workflow task, swarm worker, or flow agent send) must carry on-disk paths rather than pasted chat history:
files: and tests:), or read-only.path:start-end or path::Symbol targets plus the active schema card (templates/agent/*.md).flow harness): Detect installed CLIs via flow harness detect --json. Use worktree-isolated when another conversation may edit the same repository root, or direct-workspace for sequential handoffs.flow agent): Inspect existing sessions (flow agent list --json and flow agent inspect <id> --steps 10 --json) before writing to a sibling workspace or starting a duplicate conversation.running conversation, hand work off with flow agent send <id> --prompt "<brief>" --json instead of editing its files directly. Re-run flow agent inspect <id> after a pause to confirm delivery instead of polling in a tight loop.<= 4 workers): Never spawn large uncoordinated swarms without user confirmation because parallel worker startup drains quota and increases merge conflicts.files: or tests:; concurrent writes overwrite sibling edits.flow agent send instead.git status --porcelain, and verification exit codes before stamping checklists or closing a step.~/.config/flow/models.json.Plan model routing, check available harnesses, and inspect or nudge an active peer session:
flow models route --task-kind planning --risk normal --json
flow harness detect --json
flow agent list --status running --json
flow agent inspect <conversation_id> --steps 10 --json
Start or message a peer workspace session when no overlapping write session is running:
flow harness dispatch --harness codex --mode worktree-isolated --prompt "Run targeted auth tests." --json
flow agent start --ws ../sibling-repo --title "Sync API schema" --prompt "Align consumer types and run tests." --json
Report the selected execution surface, resolved model role, dispatched worker or conversation ID, checked exit codes, and the next coordinator action.
Confirm worker briefs name exclusive write paths (or read-only mode), background processes define timeouts, git status --porcelain shows no unintended mutations on read-only runs, and flow status --json matches reported progress.
run_workflow rules, type_name="self", and profile materialization.flow sync.simplify reviews.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cofin/flow --plugin flow11 skills in this plugin
/debloatUse when reviewing or simplifying code, tests, prose, or repository checks through behavior-preserving cuts while keeping typing, performance, and conventions intact. Don't use for adding new features, planning specs (use flow-planning), or running full workflow closeouts (use flow-completion)./flowUse when a repository has .agents, or when routing Flow lifecycle tasks (setup, prd, spec, plan, revise, research, implement, status, dispatch, delegate, coordinate, learn, refresh, sync, docs, pr, review, simplify, finish, archive, cleanup, revert, validate, studio). Don't use for direct coding without specs or standalone plugin authoring (use multi-harness-plugins)./flow-completionUse when running independent code, spec, or subtraction-only simplify reviews, finishing and syncing completed specs, archiving into knowledge bundles, cleaning up, reverting, or validating Flow bundles. Don't use for planning new specs (use flow-planning) or implementing open tasks (use flow-execution).Other plugins' skills for the same job