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.
git clone --depth 1 https://github.com/baphuongna/pi-crewWrote 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.
[](https://agentmods.dev/agents/baphuongna/pi-crew/orchestrator)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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.
- 25d ago Changed · +13 lines 926bf67c9e6a
- 1mo ago Changed · +17 lines a187e2470141
- 2mo ago First seen · 49 lines · 67 tokens per session scan A b0948ffc9452
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.
orchestrator compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orchestratorbaphuongna/pi-crew | Agent | 59 | 25d ago | MIT | A | 67 | Claude Code |
| executorNanako0129/pilotfish | Agent | 718 | 7d ago | MIT | A | 60 | Claude Code |
| foreman-codex-wrapperolsenbrands/fable-foreman | Agent | 153 | 1mo ago | MIT | A | 74 | Claude Code |
| preflightRune-kit/rune | Agent | 96 | today | MIT | A | 35 | Claude Code |
| designRune-kit/rune | Agent | 96 | today | MIT | A | 35 | Claude Code |
| logic-guardianRune-kit/rune | Agent | 96 | today | MIT | A | 41 | Claude Code |
| retroRune-kit/rune | Agent | 96 | today | MIT | A | 36 | Claude Code |