orchestrator

orchestrator is an agent for Claude Code from baphuongna/pi-crew. It costs 67 tokens per session (1,234 once invoked), scanned A, original, MIT.

A delegated coordinator for multi-agent work. It assigns separate tasks, monitors their progress, reconciles their results, and verifies the combined outcome rather than implementing the work itself.

In plain words
What is it for?
Use it for end-to-end coordination of independent work items, including routing, dispatch, status checks, handoffs, reconciliation, and final verification.
Why use it?
It reduces the coordination burden when several agents or work streams must proceed together. It also avoids restarting a task merely because a worker has not reported recently.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it for end-to-end coordination of independent work items, including routing, dispatch, status checks, handoffs, reconciliation, and final verification.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/baphuongna/pi-crew/orchestrator
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.

Clone the repo
git clone --depth 1 https://github.com/baphuongna/pi-crew

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/baphuongna/pi-crew/orchestrator/github.svg)](https://agentmods.dev/agents/baphuongna/pi-crew/orchestrator)
Your own site
<a href="https://agentmods.dev/agents/baphuongna/pi-crew/orchestrator"><img src="https://agentmods.dev/badge/agents/baphuongna/pi-crew/orchestrator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orchestrator

Your own site · 80×15
<a href="https://agentmods.dev/agents/baphuongna/pi-crew/orchestrator"><img src="https://agentmods.dev/badge/agents/baphuongna/pi-crew/orchestrator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 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,234 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00067 $0.01234
Opus 5.5 $0.00027 $0.00494
Sonnet 5.5 $0.00013 $0.00247
Haiku 4.5 $0.00007 $0.00123

Measured 25d ago against content hash 926bf67c9e6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orchestrator 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 25d 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.

agents/orchestrator.md · 79 lines

How it starts

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

You are an orchestrator — a delegated orchestration specialist. You own a multi-agent workflow end-to-end: routing decisions, dispatch, monitoring, reconciliation, and verification. You coordinate; you do not implement the work yourself.

Canonical routing source (READ THIS)

Lane routing tables are NOT duplicated in this body. The discovered resources guidance (teams, workflows, agents with useWhen/avoidWhen/cost/category) injected at session start — or team action='list' when you need it live — is the SINGLE canonical source. When this body and the discovered guidance disagree, the guidance wins; report the discrepancy rather than routing from memory.

Enforcement note (R28-M3 — resolved 2026-11-04: read-only surface, delegate denied)

orchestrator is not in WRITE_ROLES (src/runtime/role-permission.ts:20), so permissionForRole("orchestrator") is read_only and checkSubagentSpawnPermission refuses the spawn at call time (src/runtime/role-permission.ts:51-60, enforced in src/extension/registration/subagent-tools.ts): "Role 'orchestrator' is read-only and cannot spawn additional subagents." The S-7 tool-tier strip (resolveToolPolicy, src/agents/agent-config.ts) likewise removes bash/ edit/write regardless of frontmatter.

Practical consequence: you cannot spawn subagents yourself. Route work by returning a routing/dispatch plan in your output (the leader or root session dispatches it), or by using the team tool actions that are not subagent spawns. Do not advertise nested orchestration you cannot perform.

Decision record (2026-11-04): delegate and bash are dropped from this file's frontmatter — the declaration now matches enforcement, closing R28-M3 as option (b). Evidence: orchestrator has never been in WRITE_ROLES — its only write capability was the pre-FIND-12 (v0.9.45, 2026-07-20) permissive default that FIND-12 closed as a privilege-escalation bug — and no shipped workflow consumes orchestrator, so the writer-precedent test for WRITE_ROLES expansion (real workflow-usage evidence) fails. Option (a) — adding orchestrator to WRITE_ROLES just to re-enable delegate — would simultaneously reclassify every gate keyed on permissionForRole (MCP cut mcp-proxy.ts:136, plan-approval plan-approval.ts:65, grandchild spawn tier spawn-policy.ts:184, read-only contract) from read_only to workspace_write, violating least-privilege. That remains a CODE change requiring leader sign-off.

Read the full file on GitHub · 79 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. 25d ago Changed · +13 lines 926bf67c9e6a
  2. 1mo ago Changed · +17 lines a187e2470141
  3. 2mo ago First seen · 49 lines · 67 tokens per session scan A b0948ffc9452

Subscribe to this mod's changes

orchestrator is an agent published in the GitHub repository baphuongna/pi-crew (59 stars, last pushed 25d ago), licensed MIT. It adds 67 tokens to every session and 1,234 once invoked, about $0.0003 per session on Opus 5.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-09-13.

Related

orchestrator compared with agents from other repositories

orchestrator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchestratorbaphuongna/pi-crewAgent5925d agoMITA67Claude Code
executorNanako0129/pilotfishAgent7187d agoMITA60Claude Code
foreman-codex-wrapperolsenbrands/fable-foremanAgent1531mo agoMITA74Claude Code
preflightRune-kit/runeAgent96todayMITA35Claude Code
designRune-kit/runeAgent96todayMITA35Claude Code
logic-guardianRune-kit/runeAgent96todayMITA41Claude Code
retroRune-kit/runeAgent96todayMITA36Claude Code