Skip to content
Back to skills

Orchestrate

ASecurity

Coordinate multi-agent work: prepare the run (interview when unclear, inventory installed skills and CLIs, propose missing tools), then pick and run a bounded strategy for implementation plans, app builds and deep multi-source research — parallel worktrees, hierarchical fleets, staged reviews, teams, workflows, goal loops, advisor splits, adversarial planning, external coding CLIs. Triggers: "orchestrate this", "run this plan with subagents", "fan out agents", "deep research", "agent swarm", ...

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentsrustgoshellrailsgitdocumentation

Works with

  • cursor
  • terminal
  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add gabros20/orchestrate-skill --skill orchestrate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestrate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orchestrate
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabros20-orchestrate/badge)](https://www.skillsdirectory.com/skills/gabros20-orchestrate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orchestrate
description: >-
  Coordinate multi-agent work: prepare the run (interview when unclear, inventory installed skills
  and CLIs, propose missing tools), then pick and run a bounded strategy for implementation plans,
  app builds and deep multi-source research — parallel worktrees, hierarchical fleets, staged
  reviews, teams, workflows, goal loops, advisor splits, adversarial planning, external coding CLIs.
  Triggers: "orchestrate this", "run this plan with subagents", "fan out agents", "deep research",
  "agent swarm", or resuming a run (`.orchestrate/` exists: "continue the run").
  Not for small coupled tasks, single lookups, or choosing a product lifecycle.
---

# Orchestrate

## Mission and boundary

Prepare the run, then coordinate, dispatch, review, and gate multi-agent work through nine strategy
presets. The invoking agent is the controller: it prepares the run, resolves the topology, and keeps
durable state; subagents implement or investigate.

`orchestrate` owns **how work is assigned across agents**. It does not decide which product-lifecycle
domains are required, replace a domain skill, or own product progress. A lifecycle composer such as
`digital-product` may request orchestration, but neither capability depends on the other.

## Invocation grammar

Use the explicit form supported by the client: `$orchestrate` in Codex, `/orchestrate` in
slash-command clients, or the host's equivalent. Documentation uses `/orchestrate` as shorthand.

```text
<plan-file | task description>
  [strategy=auto|staged|parallel|hierarchical|team|workflow|loop|advisor|adversarial|xcli]
  [kind=build|research|fix|review|content|ops|other] [prep=auto|full|off]
  [review=dual|spec|quality|panel:N|consensus:N|factcheck|off]
  [engine=claude|codex|grok|cursor|agy|opencode|hermes|kimi|pi|mixed]
  [models=orchestrator:<tier>,worker:<tier>,advisor:<tier>,reviewer:<tier>] [posture=frontier|balanced|economy]
  [effort=<level | role:level map>]
  [isolation=worktree|branch|off]
  [trigger=once|goal:"<stop condition>"|interval:<t>|schedule:"<cron>"]
  [workers=N] [budget=<cycles|agents|tokens>] [confirm=on|off] [alias=<saved-preset>]
```

Selection priority: explicit `strategy=` > `alias=` from [config.yaml](config.yaml) >
[auto-triage](references/triage.md) > ask. Ask only when triage signals genuinely conflict.

## Route before acting

1. Reject orchestration when the coordination cost exceeds the expected benefit.
2. Prepare before routing: clarify, equip, scout, set up ([prepare](references/shared-prepare.md)).
   Resolve the host and its available primitives before choosing a strategy.
3. Select one strategy and record all resolved dimensions in `.orchestrate/run.md`.
4. Read the selected strategy plus only the supporting routes its roles and gates require.
5. Never preload the entire reference library.

### Strategy route

**Auto mode — the kind picks the play, the dependency graph the shape**
([triage](references/triage.md)): **build** → hierarchical across domains, parallel waves inside
one, staged only for a true chain · **research** → parallel source lanes · **fix** → solo, team
debug, or loop · **review** → parallel lenses · **content** → research lanes, then production lanes
· **ops** → loop on a trigger.

| Strategy | Use when | Read | Contribution |
|---|---|---|---|
| **staged** | The plan's tasks form a true chain, each needing the previous one's output | [Staged](references/strategy-staged.md) | Sequential task cycle, fix-wave rules, and merge gate |
| **parallel** | Two or more tasks with no edge between them; one-domain builds and research lanes | [Parallel](references/strategy-parallel.md) | Waves on the graph, dispatch on readiness, integration, overload behavior |
| **hierarchical** | A build spans domains that each need a lead, workers, and integration | [Hierarchical](references/strategy-hierarchical.md) | Domain leads running their own waves, gates, and merges |
| **team** | Workers must message, debate, or coordinate across layers | [Team](references/strategy-team.md) | Shared-context team protocol and host degradation |
| **workflow** | Large deterministic fan-out should be held by a script rather than model memory | [Workflow](references/strategy-workflow.md) | Pilot, budget, batch, verify, and aggregation procedure |
| **loop** | Work repeats until a verifiable goal or scheduled condition is met | [Loop](references/strategy-loop.md) | Bounded cycle, stop condition, kill switch, and evolution pass |
| **advisor** | Expensive reasoning should be separated from cheaper execution | [Advisor](references/strategy-advisor.md) | Consultation cadence and advisor/executor contract |
| **adversarial** | A high-stakes plan deserves independent challenge before execution | [Adversarial](references/strategy-adversarial.md) | Debate roles, synthesis, and hardened plan |
| **xcli** | External coding CLIs act as workers, peers, or second opinions | [External CLIs](references/strategy-xcli.md) | Verified CLI invocation, isolation, monitoring, and result capture |

Strategies compose through dimension overrides: `strategy=staged engine=codex`,
`strategy=loop topology=parallel`, or `strategy=parallel review=panel:3`.

### Shared route

| Condition | Read | Contribution |
|---|---|---|
| Every run, before triage | [Prepare](references/shared-prepare.md) | Clarify rounds, tool inventory, install proposals, scout, Task 0 |
| Research tasks and Prepare's scout | [Research](references/shared-research.md) | Source lanes, query rounds, provenance, synthesis, fact-check |
| Any non-reference host or uncertain primitive | [Hosts](references/shared-hosts.md) | Host detection, primitive binding, and honest degradation |
| Before the first multi-agent dispatch | [Flight plan](references/shared-flight-plan.md) | Rendered topology plan, approval gate, and tweak loop |
| Every dispatched task | [Contracts](references/shared-contracts.md) | Brief, status, report, findings, and workspace schemas |
| Any review-enabled run | [Review gates](references/shared-review-gates.md) | Ordered spec/quality gates and panel behavior |
| Any role or engine selection | [Model routing](references/shared-model-routing.md) → [catalog](references/shared-model-catalog.md) | Tiers and drift rules, then the dated harness · model · effort pick per role and posture |
| Any external-CLI dispatch | [Engines](references/shared-engines.md) → one block: [codex](references/engine-codex.md) · [grok](references/engine-grok.md) · [claude](references/engine-claude.md) · [cursor](references/engine-cursor.md) · [agy](references/engine-agy.md) · [opencode](references/engine-opencode.md) · [hermes](references/engine-hermes.md) · [kimi](references/engine-kimi.md) · [pi](references/engine-pi.md) | The cross-engine session/receipt/cap map, then the one engine's verified invocation block |
| Any external-CLI launch, resume, or quota stall | [Lane hygiene](references/shared-lane-hygiene.md) | Flag probing, wrapper launches, resume-by-id, stall recovery, usage receipts |
| More than one writer | [Isolation](references/shared-isolation.md) | Worktree/branch rules and integration ownership |
| Background, long-running, or external work | [Monitoring](references/shared-monitoring.md) | Polling, liveness, timeout, and recovery rules |
| Every run | [Safety rails](references/shared-safety-rails.md) | Main-branch, overload, loop, budget, and reward-hacking guards |
| A `DESIGN_CONFLICT`, or reality breaks the plan | [Replan](references/shared-replan.md) | Triage, architect pass, decisions, bounds |
| Resume, compaction, or controller transfer | [Handoff](references/shared-handoff.md) | Durable state and clean controller handoff |
| Finish or a milestone | [Retro](references/shared-retro.md) | Run score, calibration, field-report draft |
| Every dispatch and returned report | [Token economy](references/shared-token-economy.md) | Role-scoped communication blocks and priming anatomy |

### Prompt route

| Role | Read | Contribution |
|---|---|---|
| Implementation worker | [Implementer](references/prompt-implementer.md) | Executable task brief and dense report contract |
| Spec reviewer | [Spec reviewer](references/prompt-spec-reviewer.md) | Requirement-compliance review prompt |
| Quality reviewer | [Quality reviewer](references/prompt-quality-reviewer.md) | Maintainability and correctness review prompt |
| Integration owner | [Integrator](references/prompt-integrator.md) | Cross-worktree merge and conflict-resolution prompt |
| Domain sub-orchestrator | [Sub-orchestrator](references/prompt-sub-orchestrator.md) | Delegated planning, dispatch, and summary contract |
| Research or scout lane | [Researcher](references/prompt-researcher.md) | Source funnel and cited lane-file contract |
| Advisor | [Advisor prompt](references/prompt-advisor.md) | Bounded consultation prompt |
| Triage assessor | [Triage assessor](references/prompt-triage-assessor.md) | Independent strategy-assessment prompt |
| Verification-only worker | [Verifier](references/prompt-verifier.md) | Minimal objective verification prompt |
| Adversarial planner | [Planner debate](references/prompt-planner-debate.md) | Independent proposal and challenge prompt |
| Architect (redesign) | [Architect](references/prompt-architect.md) | Design delta, decisions, and user questions after a conflict |
| Loop evolution pass | [Evolve](references/prompt-evolve.md) | Periodic pattern extraction and process-improvement prompt |

## Dimensions

| Dimension | Values | Default |
|---|---|---|
| `topology` | solo · staged · parallel · hierarchical · team · workflow · loop | selected strategy |
| `kind` | build · research · fix · review · content · ops · other | triage (`board set kind=…`) |
| `prep` | auto · full · off | auto ([prepare](references/shared-prepare.md)) |
| `tools` | the run's toolchain line, free first | Prepare (`board set tools=…`) |
| `planning` | none · plan-first · interview · adversarial | plan-first (`interview` forces clarify) |
| `review` | off · spec · quality · dual · panel:N · consensus:N · factcheck (research lanes) | dual |
| `engine` | claude · codex · grok · cursor · agy · opencode · hermes · kimi · pi · mixed | host-appropriate |
| `models` | advisor · orchestrator · reasoner · worker · reviewer · peer tier map | model routing |
| `posture` | frontier · balanced · economy — the cost dial for unpinned roles | balanced ([catalog](references/shared-model-catalog.md)) |
| `effort` | per-host reasoning levels (e.g. low · medium · high · xhigh · max) | pinned per dispatch where the surface supports it; else session effort, recorded |
| `isolation` | none · worktree · branch | worktree for multiple writers |
| `trigger` | once · goal · interval · schedule | once |
| `budget` | max cycles · agents · tokens · open PRs | selected strategy |
| `confirm` | on · off | on for any multi-agent dispatch; headless prints the plan and proceeds |

## Universal rules

1. **The controller coordinates; subagents work.** Do not silently implement a failed task in the
   controller. Fix the brief, model, context, or worker and re-dispatch deliberately.
2. **Artifacts on disk are the interface.** Keep briefs, reports, findings, raw logs, and ledgers in
   `.orchestrate/`; do not rely on chat memory.
3. **Pin a model on every dispatch.** An omitted model may inherit an unintended expensive default.
4. **Enforce typed gates.** When dual review is enabled, spec review precedes quality review.
5. **Ledger before memory.** Append progress after every gated unit; on resume, trust the ledger and
   repository state over recollection.
6. **Keep safety rails active.** Never begin on main/master without consent; cap loops and open work;
   on overload resume or nudge the existing agent rather than spawn a duplicate.
7. **Prime with pointers, log milestones, report dense.** Workers keep a short work log in their
   own transcript; required safety and coordination messages always go out; routine narration and
   raw output dumps never do. Before any command that may run long — tests, builds, scripts, waits —
   every agent, the controller included, first writes one visible line: what runs, why, how long.
8. **Do not orchestrate small coupled work.** If one agent can complete the task efficiently within
   one coherent context, use solo execution and optionally one reviewer.
9. **No silent launch.** Before the first multi-agent dispatch, show the user the flight plan — the
   topology, models, gates, and budget they are about to pay for — and gate on their approval
   ([flight plan](references/shared-flight-plan.md)). Tool output is invisible to the user: paste the
   whole `board plan` output in your reply, never through head/tail. `confirm=off` skips the
   question, never the showing; `board dispatch` refuses while the plan is pending.
10. **Reality over plan — redesign, never patch.** A failed plan assumption comes back up the
   hierarchy as `DESIGN_CONFLICT`, never as a workaround; route it to a fresh strongest-tier
   architect (internal design) or the user (product behavior) ([replan](references/shared-replan.md)).
11. **Prepare before you dispatch.** Clarify every decision you would otherwise guess (rounds, a
   recommended answer each; facts are looked up, never asked); use what the machine has, free and
   local first; propose installs and paid tools, never run them unasked; scout only an undecided
   toolchain.
12. **Concurrency is the default; sequence is a finding.** Independent tasks run at once — dispatched
   on readiness, reviewed as each lands, merged continuously; only a real dependency makes work
   wait, and the gates never change with the shape.

## Core workflow

1. **Prepare** ([prepare](references/shared-prepare.md)): [workspace](scripts/workspace), then
   [board](scripts/board) `init --goal "…" --prep auto` (decisions need the journal; no plan yet), equip
   ([capabilities](scripts/capabilities) `--refresh`), clarify, propose gaps, scout an undecided
   toolchain, set up Task 0. Read the repository state, host, and stop condition (resuming:
   `board version`) and the repo's project memory when it keeps one (`board init` names it): one
   `ctx context --scope` packet per scope, pinned in the briefs.
2. Triage: resolve kind, strategy, dimensions, roles, models, budget, isolation, review, and
   degradation; record them — `board set strategy=… kind=… tools=…`, or `board init PLAN --resume
   --strategy …` once the plan exists (it keeps Prepare's record and queues the plan's tasks). The
   `## Resolved` block of `run.md` is generated; prose (the why) goes below it. **An
   existing `.orchestrate/` with work in it is adopted, never restarted**: `board init … --resume`
   starts or continues the journal over the ledger and reports that are there (a workspace from
   an older skill included — `board check` says "predates the journal"); a bare `init` refuses,
   and only `--fresh` archives unfinished work on purpose. Re-resolve a dimension with `board set key=value`, never by editing; declare
   the board's lanes when the shape has more stages than the five defaults (`--lanes`).
3. Create task briefs with [task-brief](scripts/task-brief) and validate them with
   [brief-check](scripts/brief-check).
4. Render the flight plan (`board plan --why "…"`) and show all of it to the user — a text fence in
   terminals, `--format md` in apps, or `board plan --ask` as the AskUserQuestion payload on Claude
   Code — then gate on approval ([flight plan](references/shared-flight-plan.md)); apply tweaks by
   re-resolving that dimension and re-showing; record the outcome (`board plan approved`).
5. Dispatch ready work the moment it is ready (rule 12): `board dispatch` (a reviewer: `board review
   --agent`) writes the agent's card, the role's template filled in; the agent's prompt starts with
   the line it prints, then the task (a hand-written prompt drops the contract). Journal every transition:
   dispatch and return, gate and vote, machine check (`board exec N --name tests -- <cmd>`), recovery (`board
   nudge` / `board escalate`); a subprocess lane is one command (`board launch … [--after M]`).
   Dispatch parallel workers with `--owns`. Agents talk through the journal, never mid-turn
   (`board send` / `board inbox` / `board wait`). At every checkpoint run `board next` (what needs you,
   with its command); block on a landing with `board wait --task N --timeout 0` in a background shell (exit 3 =
   it cannot land). Syntax: `board help controller` (a lead: `board help lead`). Integrate through
   the selected strategy's owner.
6. Package review evidence with [review-package](scripts/review-package), enforce configured gates,
   and send failures back to the correct worker or owner.
7. Close each gated unit with `board done N` (it writes the ledger line; refused over a failed or
   missing gate, or a failed check); `board check --finish` must be clean (it refuses processes the run left:
   `board reap`) and `board finish --gate pass|fail --evidence` recorded before you finish or hand
   off (`board resume` for a handoff; `board memory` when the repo keeps project memory). Then the
   [retro](references/shared-retro.md): `board retro` scores the run; a skill-level finding becomes
   a field report, filed on the user's yes.

Run [toolbox](scripts/toolbox) (repo recipes) and [capabilities](scripts/capabilities) (machine tools)
once; reuse their files.
The journal (`.orchestrate/journal.jsonl`) is the run's spine and the board a view over it, never
a second record; `board help` indexes it by role — the controller records transitions, workers
only observe (`board note` / `exec --agent <you>` / `learn` / mail; a read-only lane prints the
line to carry in its return instead of failing), the user watches from a pane of their own (`board`).

## Artifact contract

Every run owns `.orchestrate/run.md`, `journal.jsonl`, `progress.md`, task briefs, worker reports, review findings,
and any raw evidence required to reproduce a gate. Record resolved dimensions, exact role/model
assignments, budgets, branch/worktree ownership, decisions, failures, and the verified stop
condition.

## Completion and handoff

Complete only when every in-scope task has a terminal status, required reviews passed, integration
is verified, temporary worktrees or processes are accounted for (`board reap`), and the goal or one-shot stop
condition is satisfied. On interruption or controller transfer, emit the durable handoff defined in
[shared handoff](references/shared-handoff.md); never force the next controller to reconstruct state
from chat.

Files in this skill

  • SKILL.md15.1 KB
  • agents/openai.yaml260 B
  • config.yaml1.2 KB
  • references/engine-agy.md1.6 KB
  • references/engine-claude.md2.6 KB
  • references/engine-codex.md5.2 KB
  • references/engine-cursor.md1.5 KB
  • references/engine-grok.md2.5 KB
  • references/engine-hermes.md2.2 KB
  • references/engine-kimi.md2.1 KB
  • references/engine-opencode.md1.6 KB
  • references/engine-pi.md1.9 KB
  • references/prompt-advisor.md1.9 KB
  • references/prompt-evolve.md5 KB
  • references/prompt-implementer.md6.9 KB
  • references/prompt-integrator.md4.6 KB
  • references/prompt-planner-debate.md2.5 KB
  • references/prompt-quality-reviewer.md3.5 KB
  • references/prompt-spec-reviewer.md3.7 KB
  • references/prompt-sub-orchestrator.md6.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.