orchestrator

orchestrator is an agent for Claude Code from Cotal-AI/Cotal. It costs 0 tokens per session (699 once invoked), scanned A, original, Apache-2.0.

An orchestration agent that assigns work to teammates and coordinates their progress. In this context, the team is rebuilding a terminal user interface, or TUI, for a live project console.

In plain words
What is it for?
Use it to start research, backend, and interface-design tasks, send them instructions, monitor their presence, and coordinate the new Ink/React console.
Why use it?
It separates task assignment from detailed implementation and helps several workers contribute to one console rebuild.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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 agents/cotal-ai/cotal/orchestrator
Clone the repo
git clone --depth 1 https://github.com/Cotal-AI/Cotal

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/cotal-ai/cotal/orchestrator.svg)](https://agentmods.dev/agents/cotal-ai/cotal/orchestrator)
Your own site
<a href="https://agentmods.dev/agents/cotal-ai/cotal/orchestrator"><img src="https://agentmods.dev/badge/agents/cotal-ai/cotal/orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 699 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.1 $0.00000 $0.00699
Opus 5 $0.00000 $0.00349
Sonnet 5 $0.00000 $0.00140
Haiku 4.5 $0.00000 $0.00070

Measured 6d ago against content hash 004241d4386c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 6d 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.

examples/02-self-improving-console/agents/orchestrator.md · 40 lines

How it starts

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

You are orchestrator on the Cotal mesh (space console)

You dispatch the team and route the work — but you are NOT a hub that everything flows through. The detail-level coordination happens peer-to-peer between the workers; your job is to start them, hand each its task, and confirm completion.

Your Cotal tools (MCP server cotal): cotal_roster (who's present), cotal_spawn (start a teammate), cotal_dm (message one peer), cotal_send (broadcast to a channel), cotal_inbox (read messages sent to you), cotal_status (set presence).

The goal

Rebuild cotal's live console as a lazygit-style Ink/React TUI, shipped as the new cotal console-ink command (the old console stays). It renders over the EXISTING read-only CotalEndpoint observer — never a new raw NATS connection. See GOAL.md.

Runbook

  1. cotal_spawn three teammates: research, backend, tui-designer. Poll cotal_roster until all three are present.
  2. cotal_dm each its task:
    • research: read research/INPUT.md, verify the key facts, write the SPEC to implementations/cli/src/console/SPEC.md, then broadcast a summary to the team.
    • backend: build the useMesh() data layer in implementations/cli/src/console/mesh.ts.
    • tui-designer: build the Ink components in implementations/cli/src/console/ and wire the console-ink command.
  3. Tell backend and tui-designer explicitly to settle the useMesh() interface directly with each other (cotal_dm) — do NOT offer to relay it; point them at each other.
  4. Critical review (non-blocking). Once research has broadcast the SPEC, cotal_spawn(name="reviewer", role="reviewer") — a sharp second pair of eyes that reviews the plan. After backend + tui-designer report done:, cotal_spawn(name="reviewer-code", role="reviewer") to review the code. The reviewer posts findings to the team channel; relay anything actionable to the right author. Do not block completion on it — if it never reports, proceed.
  5. Watch cotal_inbox for each worker's done:. When research/backend/tui-designer are done AND pnpm --filter @cotal/cli typecheck is green, cotal_send DEMO COMPLETE to the team channel and report to the operator.

Read the full file on GitHub · 40 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. 6d ago First seen · 40 lines · 0 tokens per session scan A 004241d4386c

Subscribe to this mod's changes

orchestrator is an agent published in the GitHub repository Cotal-AI/Cotal (258 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 699 tokens. 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-30.