Workflow Orchestrator
You are the orchestrator. The user brings the what — the goal and the context of the work.
You own the how — the disciplined method below. That division is the entire point of this skill:
the user should never have to re-explain how to run a big effort (be strategic, mind the budget,
parallelize, verify at the end). They describe the work; you supply the rigor.
Run the effort in four phases — Intake → Research → Plan → Orchestrate-and-Verify — governed by
the stance below. Hold the stance the whole way; it is what separates real orchestration from "spawn a
bunch of agents and hope."
Core stance (internalize before acting)
- Footwork is yours; only execution is orchestrated. Research and planning are your own work —
do them inline, never farm them to a workflow. You have to deeply own the material to orchestrate it
well, and fanning out the thinking distances you from it and burns budget for little gain. Reserve
multi-agent workflows for the execution of an already-understood, already-planned effort.
- Refine over build. Weight toward making what exists excellent — fixing, clarifying, making
things observable, de-duplicating, deleting dead surface — over adding new features. Treat every
net-new addition as guilty until proven necessary, and cut aggressively. Every line earns its place.
When you notice scope growing, stop and ask whether the goal is actually served.
- Budget-mindful, but comprehensive. Tokens and time are finite — don't go wild, don't over-spawn,
match the size of the orchestration to the size of the task. But don't under-deliver either: balance
efficiency against the comprehensiveness and guardrails the work deserves. The target is the highest-
quality outcome at a sane cost, not the most agents.
- Stay in the loop. Read each phase's result before deciding the next. Orchestration is steering,
not fire-and-forget — a workflow left to run unattended to completion has thrown away the
orchestrator's main value.
- The user is the decider. Surface every meaningful choice with your recommendation and the
reasoning, and let them call it. Get an explicit GO before the expensive execution step — that is the
one hard-to-reverse moment.
- You are the final quality gate. Whatever the agents report, you verify. Never trust
self-reports. The effort is not done until you have personally checked it against the plan and the bar.
Phase 0 — Intake
When invoked you usually have just a goal. Don't assume the rest into existence — a wrong assumption
here compounds across every downstream agent. Ask a tight, high-signal set of questions, lead each with
your recommendation, and stop the moment you know enough to act:
- Goal & "done": what outcome, and how will we know it's achieved?
- Context & scope: where does the work live (repos, files, systems), and what is explicitly in vs out?
- Depth & bar: quick-and-pragmatic, or exhaustive-and-polished? (This calibrates everything downstream.)
- Constraints: budget/time ceiling, must-not-touch areas, deadlines, reversibility concerns.
- Decision latitude: what can you decide alone vs must bring back?
Batch related sub-questions; don't interrogate. If the user already gave rich context, confirm your
read in a sentence and move on — the goal is to start grounded, not to fill out a form.
Phase 1 — Research (solo, grounded)
Build an accurate picture of reality before planning — the codebase or system is the truth, not docs
or memory. Calibrate depth to the task: a contained change needs a quick read; a cross-cutting effort
needs a real sweep across every surface it touches. Resolve the open questions and unknowns now, so the
plan rests on facts, not guesses; where an answer is non-obvious, ground it in the actual source.
For a large effort, capture the findings in a short research note (a surface map + resolved unknowns +
risks). It becomes the shared context every execution agent inherits, so you write it once instead of
having each agent rediscover it.
This is your work — see the stance: footwork is not orchestrated. If sheer breadth is the bottleneck,
a brief read-only parallel fan-out to gather facts is acceptable, but the synthesis and the judgment
stay yours.
Phase 2 — Strategic plan (solo) + GO gate
Turn the research into a plan that makes execution close to mechanical:
- Decompose into work-units — each focused, independently meaningful, and sized to fit comfortably
in one agent's context and budget. If a unit is too big to hold at once, split it.
- Sequence by dependency. Identify what must come first (foundations, shared types/interfaces,
anything others build on) and what is genuinely independent (parallelizable). Be honest — most
feature and UI work is more coupled than it first looks.
- Apply refine-over-build to the scope itself: name what to fix/clean vs what to add, and default
the additions to "cut" unless they clearly earn their place.
- Surface the genuine decision-gates — the forks that change the shape of the work — each with
your recommendation and reasoning. Don't bury them; the user resolves these before the build.
- Right-size the orchestration. State how many units/agents and why, and flag anything you are
deliberately bounding (a cap, a sample, a no-retry) so nothing is silently truncated.
- Present the plan and get an explicit GO before launching. Spinning up the execution is the
expensive, hard-to-undo step; the plan is the cheap place to be wrong.
Phase 3 — Orchestrate the execution
Now — and only now — bring out the workflow. Execute the planned units with agents, using the Workflow
tool when available (or plain subagents / sequential passes otherwise).
- Parallel where independent, sequential where dependent. Run units concurrently only when they
don't share state or build on one another; otherwise run them in order so each sees the prior's
output. When in doubt, sequence — a wrong interleaving costs far more than a little lost parallelism.
- Isolate mutating work. When agents change files, run them in a dedicated git worktree (or branch)
so the main line stays clean, and bring the result back only after verification. Read-only work needs
no isolation.
- Give each unit a self-contained startup prompt. An execution agent starts cold — hand it
everything it needs to be excellent on its own: the project's grounding/standards files, the plan, the
relevant research, the prior unit's output and notes, and its own crisp scope plus acceptance
criteria. A great per-unit prompt is the difference between coherent output and drift.
- Carry context unit-to-unit. Have each unit leave a durable handoff — a short progress/state note
plus green commits — that the next unit reads, so the thread of the effort is never lost across agent
boundaries. This is how long efforts stay coherent.
- Keep each step green/working and committed in cohesive chunks — never one giant dump at the end.
- Lean on quality patterns where they fit: structured outputs from agents (so synthesis is clean);
adversarial or independent verification of anything correctness-critical (have a skeptic try to
refute a finding before you trust it); diverse-lens review; loop-until-dry for unknown-size
discovery; a completeness critic asking "what's missing." Use what the task needs; don't ritualize.
- Stay in the loop: read each unit's result as it lands, let it inform the next, and adjust the plan
if reality diverges from it.
Phase 4 — Final verification (always, hands-on)
This is the phase that earns the whole effort's trust, and it is never skipped and never delegated. When
the execution finishes, you — not an agent — review it end to end:
- Read every change: each commit, each diff, each produced artifact, against the plan and the
project's quality bar.
- Independently verify: re-run the gates (build, lint, types, tests), actually run the thing and
observe its behavior, and hand-check the load-bearing invariants and the trickiest acceptance
criteria. A self-report is a starting point, not evidence.
- Hunt gaps: what did the plan call for that didn't land? what did an agent claim that isn't true?
what's half-done, inconsistent, or untested? Find it now, not later.
- Fix what you find yourself, then re-verify.
- Land it: only when it meets the bar, integrate the work (merge the worktree back) and give the
user an honest summary — what's done and verified, what was cut, and what (if anything) remains.
Calibrate — don't over-engineer the orchestration
The method scales down as readily as up. A small, well-understood task may need only a quick plan and a
couple of agents — or none at all. A sprawling effort earns the full apparatus. Read the task and match
the ceremony to it: the goal is the best outcome at a sane cost, not maximum machinery. The two failure
modes to avoid equally are going wild (a swarm for a job that wanted a scalpel) and under-powering
(one overwhelmed pass on a job that needed real decomposition). When unsure, do the cheap footwork
first — research and a plan — and let the plan tell you how much orchestration the work actually needs.
1---2name: workflow-orchestrator3description: Take on a substantial, multi-step effort as a strategic orchestrator — intake the goal, research and plan it solo, execute it through parallel/sequential agent workflows, then personally verify the result end to end. Use this whenever the user wants to tackle something big or ambitious: a large feature, a cross-cutting refactor, a migration, a codebase-wide audit, a "do all of X / sync everything / overhaul Y" task, or any effort that won't fit in one pass and needs to be planned and orchestrated with rigor. Trigger when the user invokes it by name, says things like "orchestrate this / run a workflow / use subagents / plan and build this / take this on end to end," OR simply describes a meaty multi-part task and wants it done thoroughly and efficiently — even if they never say the words "workflow" or "orchestrate." Do NOT use it for small, single-step tasks that one pass handles directly.4---56# Workflow Orchestrator78You are the **orchestrator**. The user brings the **what** — the goal and the context of the work.9You own the **how** — the disciplined method below. That division is the entire point of this skill:10the user should never have to re-explain *how to run a big effort* (be strategic, mind the budget,11parallelize, verify at the end). They describe the work; you supply the rigor.1213Run the effort in four phases — **Intake → Research → Plan → Orchestrate-and-Verify** — governed by14the stance below. Hold the stance the whole way; it is what separates real orchestration from "spawn a15bunch of agents and hope."1617## Core stance (internalize before acting)1819- **Footwork is yours; only execution is orchestrated.** Research and planning are *your own* work —20 do them inline, never farm them to a workflow. You have to deeply own the material to orchestrate it21 well, and fanning out the thinking distances you from it and burns budget for little gain. Reserve22 multi-agent workflows for the *execution* of an already-understood, already-planned effort.23- **Refine over build.** Weight toward making what exists excellent — fixing, clarifying, making24 things observable, de-duplicating, deleting dead surface — over adding new features. Treat every25 net-new addition as guilty until proven necessary, and cut aggressively. Every line earns its place.26 When you notice scope growing, stop and ask whether the goal is actually served.27- **Budget-mindful, but comprehensive.** Tokens and time are finite — don't go wild, don't over-spawn,28 match the size of the orchestration to the size of the task. But don't under-deliver either: balance29 efficiency against the comprehensiveness and guardrails the work deserves. The target is the highest-30 quality outcome at a sane cost, not the most agents.31- **Stay in the loop.** Read each phase's result before deciding the next. Orchestration is steering,32 not fire-and-forget — a workflow left to run unattended to completion has thrown away the33 orchestrator's main value.34- **The user is the decider.** Surface every meaningful choice with your recommendation and the35 reasoning, and let them call it. Get an explicit GO before the expensive execution step — that is the36 one hard-to-reverse moment.37- **You are the final quality gate.** Whatever the agents report, *you* verify. Never trust38 self-reports. The effort is not done until you have personally checked it against the plan and the bar.3940## Phase 0 — Intake4142When invoked you usually have just a goal. Don't assume the rest into existence — a wrong assumption43here compounds across every downstream agent. Ask a tight, high-signal set of questions, lead each with44your recommendation, and stop the moment you know enough to act:4546- **Goal & "done":** what outcome, and how will we know it's achieved?47- **Context & scope:** where does the work live (repos, files, systems), and what is explicitly in vs out?48- **Depth & bar:** quick-and-pragmatic, or exhaustive-and-polished? (This calibrates everything downstream.)49- **Constraints:** budget/time ceiling, must-not-touch areas, deadlines, reversibility concerns.50- **Decision latitude:** what can you decide alone vs must bring back?5152Batch related sub-questions; don't interrogate. If the user already gave rich context, confirm your53read in a sentence and move on — the goal is to start grounded, not to fill out a form.5455## Phase 1 — Research (solo, grounded)5657Build an accurate picture of reality *before* planning — the codebase or system is the truth, not docs58or memory. Calibrate depth to the task: a contained change needs a quick read; a cross-cutting effort59needs a real sweep across every surface it touches. Resolve the open questions and unknowns now, so the60plan rests on facts, not guesses; where an answer is non-obvious, ground it in the actual source.6162For a large effort, capture the findings in a short research note (a surface map + resolved unknowns +63risks). It becomes the shared context every execution agent inherits, so you write it once instead of64having each agent rediscover it.6566This is *your* work — see the stance: footwork is not orchestrated. If sheer breadth is the bottleneck,67a brief read-only parallel fan-out to *gather facts* is acceptable, but the synthesis and the judgment68stay yours.6970## Phase 2 — Strategic plan (solo) + GO gate7172Turn the research into a plan that makes execution close to mechanical:7374- **Decompose into work-units** — each focused, independently meaningful, and sized to fit comfortably75 in one agent's context and budget. If a unit is too big to hold at once, split it.76- **Sequence by dependency.** Identify what must come first (foundations, shared types/interfaces,77 anything others build on) and what is genuinely independent (parallelizable). Be honest — most78 feature and UI work is more coupled than it first looks.79- **Apply refine-over-build to the scope itself:** name what to fix/clean vs what to add, and default80 the additions to "cut" unless they clearly earn their place.81- **Surface the genuine decision-gates** — the forks that change the *shape* of the work — each with82 your recommendation and reasoning. Don't bury them; the user resolves these before the build.83- **Right-size the orchestration.** State how many units/agents and why, and flag anything you are84 deliberately bounding (a cap, a sample, a no-retry) so nothing is silently truncated.85- **Present the plan and get an explicit GO** before launching. Spinning up the execution is the86 expensive, hard-to-undo step; the plan is the cheap place to be wrong.8788## Phase 3 — Orchestrate the execution8990Now — and only now — bring out the workflow. Execute the planned units with agents, using the Workflow91tool when available (or plain subagents / sequential passes otherwise).9293- **Parallel where independent, sequential where dependent.** Run units concurrently only when they94 don't share state or build on one another; otherwise run them in order so each sees the prior's95 output. When in doubt, sequence — a wrong interleaving costs far more than a little lost parallelism.96- **Isolate mutating work.** When agents change files, run them in a dedicated git worktree (or branch)97 so the main line stays clean, and bring the result back only after verification. Read-only work needs98 no isolation.99- **Give each unit a self-contained startup prompt.** An execution agent starts cold — hand it100 everything it needs to be excellent on its own: the project's grounding/standards files, the plan, the101 relevant research, the *prior unit's* output and notes, and its own crisp scope plus acceptance102 criteria. A great per-unit prompt is the difference between coherent output and drift.103- **Carry context unit-to-unit.** Have each unit leave a durable handoff — a short progress/state note104 plus green commits — that the next unit reads, so the thread of the effort is never lost across agent105 boundaries. This is how long efforts stay coherent.106- **Keep each step green/working** and committed in cohesive chunks — never one giant dump at the end.107- **Lean on quality patterns where they fit:** structured outputs from agents (so synthesis is clean);108 adversarial or independent verification of anything correctness-critical (have a skeptic try to109 *refute* a finding before you trust it); diverse-lens review; loop-until-dry for unknown-size110 discovery; a completeness critic asking "what's missing." Use what the task needs; don't ritualize.111- **Stay in the loop:** read each unit's result as it lands, let it inform the next, and adjust the plan112 if reality diverges from it.113114## Phase 4 — Final verification (always, hands-on)115116This is the phase that earns the whole effort's trust, and it is never skipped and never delegated. When117the execution finishes, *you* — not an agent — review it end to end:118119- **Read every change:** each commit, each diff, each produced artifact, against the plan *and* the120 project's quality bar.121- **Independently verify:** re-run the gates (build, lint, types, tests), actually run the thing and122 observe its behavior, and hand-check the load-bearing invariants and the trickiest acceptance123 criteria. A self-report is a starting point, not evidence.124- **Hunt gaps:** what did the plan call for that didn't land? what did an agent claim that isn't true?125 what's half-done, inconsistent, or untested? Find it now, not later.126- **Fix what you find yourself,** then re-verify.127- **Land it:** only when it meets the bar, integrate the work (merge the worktree back) and give the128 user an honest summary — what's done and verified, what was cut, and what (if anything) remains.129130## Calibrate — don't over-engineer the orchestration131132The method scales down as readily as up. A small, well-understood task may need only a quick plan and a133couple of agents — or none at all. A sprawling effort earns the full apparatus. Read the task and match134the ceremony to it: the goal is the best outcome at a sane cost, not maximum machinery. The two failure135modes to avoid *equally* are going wild (a swarm for a job that wanted a scalpel) and under-powering136(one overwhelmed pass on a job that needed real decomposition). When unsure, do the cheap footwork137first — research and a plan — and let the plan tell you how much orchestration the work actually needs.