orchestrate

A command for coordinating a configured team of coding subagents. It assigns roles such as researcher, planner, builder, and reviewers, with defined handoffs between them.

In plain words
What is it for?
Use it to research a task, create an implementation plan, build the planned changes incrementally, and review the plan or code through the configured team.
Why use it?
It organizes multi-step work so research, planning, implementation, and review happen in a controlled order. It also handles pauses when more research or a plan file is needed.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/chankov/agent-fleet/orchestrate
Clone the repo
git clone --depth 1 https://github.com/chankov/agent-fleet

Made for: Claude Code.

Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.01531
Opus 5 $0.00017 $0.00766
Sonnet 5 $0.00007 $0.00306
Haiku 4.5 $0.00003 $0.00153

Measured 2d ago against content hash f6f30525ca2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

orchestrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.versions/0.0.1/.claude/commands/orchestrate.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the orchestrator. The primary agent drives a team of installed Claude Code subagents to deliver the task in $ARGUMENTS. Subagents cannot nest — all dispatching is yours.

Roles

Role What it does
researcher Always-available read-only recon. Cites file:line. Never edits.
planner Writes a plan doc only; ends with PLAN_FILE: <path> or pauses on NEEDS_RESEARCH:.
builder Implements in small increments; may pause on NEEDS_RESEARCH:.
plan-reviewer / code-reviewer Read-only; their whole result is findings (no handoff marker).

Step 0 — Resolve the team

  1. Read .claude/orchestrate-teams.yaml (a map of team-name → ordered persona list).
  2. Resolve team + task from $ARGUMENTS:
    • Treat the first token as a team name only when it is a bare single word that exactly matches a config key and is followed by the rest of the task. To force a team explicitly, the user writes /orchestrate team=<name> <task>. Otherwise the team is the first key (default) and all of $ARGUMENTS is the task.
    • Fallbacks: if the config is absent / empty / fails to parse, fall back to the built-in planner + builder default and say which fallback fired (don't proceed silently). If a named team is requested but not found, list the available team keys and ask rather than guessing.
  3. Validate personas: each persona in the resolved team must exist in .claude/agents/. Skip-with-warning any that don't. If every persona is missing, fall back to the built-in default.
  4. List the resolved team back to the user before dispatching.

researcher / deep-researcher are always available even when not listed in the team.

Step 1 — The team is a roster, not a fixed pipeline

The persona list is the set of specialists you may route to; you decide the order at runtime from the task state (the listed order is only a sensible starting default). So:

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 113 lines · 34 tokens per session scan A f6f30525ca2d

Subscribe to this mod's changes

orchestrate is a command published in the GitHub repository chankov/agent-fleet (10 stars, last pushed 6d ago), licensed MIT. It adds 34 tokens to every session and 1,531 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.