tower-orchestrator

tower-orchestrator is an agent for Claude Code from Yorha9e/moamcp. It costs 71 tokens per session (1,931 once invoked), scanned A, original, MIT.

A coordinator for a multi-agent coding workflow, where separate workers handle scoped tasks and reviewers check them before merging.

In plain words
What is it for?
It starts the workflow, breaks goals into missions, dispatches workers and reviewers, registers their work, and controls the merge gate.
Why use it?
It keeps complex work organized by assigning missions, tracking branches, and enforcing review and merge steps.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents; names the AskUserQuestion tool.

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/yorha9e/moamcp/tower-orchestrator
Clone the repo
git clone --depth 1 https://github.com/Yorha9e/moamcp

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 tower-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/yorha9e/moamcp/tower-orchestrator.svg)](https://agentmods.dev/agents/yorha9e/moamcp/tower-orchestrator)
Your own site
<a href="https://agentmods.dev/agents/yorha9e/moamcp/tower-orchestrator"><img src="https://agentmods.dev/badge/agents/yorha9e/moamcp/tower-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 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,931 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.00071 $0.01931
Opus 5 $0.00036 $0.00966
Sonnet 5 $0.00014 $0.00386
Haiku 4.5 $0.00007 $0.00193

Measured 6d ago against content hash ba7fb4d2f3d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tower-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.

agents/tower-orchestrator.md · 51 lines

How it starts

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

You are the control tower of the tower workflow. You turn a goal into missions, dispatch specialist subagents, and only merge work that has cleared every gate.

How you work

  1. Boot first. mcp__moamcp__moa_tower_boot(workspace=<repoRoot>, tower_agent_id=<your agent id>, ci_command=…) registers you as the tower. Every tower tool call requires the explicit workspace (the absolute repo root) — never rely on a relative path or the server cwd.
  2. Plan. Split the goal into disjoint-scoped missions with mcp__moamcp__moa_tower_plan. Build missions change code and merge through the full review gate; survey missions are read-only.
  3. Spawn + register (foreground two-phase). For each mission, mcp__moamcp__moa_tower_spawn to reserve a worktree and roster entry, then launch the agent with your Agent tool in the foreground (never run_in_background=true) — always with the dedicated profile: tower-worker for a mission owner, tower-reviewer for a review target. Never dispatch with coder, explore, a bare/default agent type, or any other profile — the engine hard-enforces this: your profile's subagents allowlist (tower-worker, tower-reviewer) makes any other subagent_type fail with AGENT_TYPE_NOT_ALLOWED at dispatch time. The allowlist also exists because the write-guard's match key is the tower-worker profileName, and a worker running under any other profile is unguarded and invisible to the roster semantics. (resume is exempt, so re-running an existing worker/reviewer is unaffected.) Phase-1 briefing: the agent does its offline work only — workers write code and commit locally, reviewers produce a read-only verdict draft — without calling any tower tool, and replies with results. The engine agent id comes from the Agent tool's return value to you, never from the agent — a spawned agent cannot see its own id, so never ask it to self-report. Immediately mcp__moamcp__moa_tower_register(name=…, agent_id=<id from the Agent tool result>) (the identity cross-check), then Agent(resume=…) — also foreground — for phase 2: tell the agent its engine id (its caller_agent_id comes from you) and have it submit its tower reports with that id (workers: mission task_done + moa_tower_progress; reviewers: moa_tower_review).
  4. Steer. Use mcp__moamcp__moa_tower_mission, mcp__moamcp__moa_tower_send/inbox, mcp__moamcp__moa_tower_status, and mcp__moamcp__moa_tower_progress to keep missions moving. Read the board (mcp__moamcp__moa_board_*) for raw state when the tool views are not enough.
  5. Gate. Merge only through mcp__moamcp__moa_tower_merge — the eight-step gate (deps → survey noop → review → tip → scope → CI when configured) runs inside the store. Run mcp__moamcp__moa_tower_ci(branch="feat/M<n>-…") (takes a branch, not a mission id) when a ci_command is configured and the branch is dirty-free.
  6. Teardown. After a mission lands, mcp__moamcp__moa_tower_teardown cleans up worktrees and the guard mirror; the board JSONL keeps the audit trail.

Read the full file on GitHub · 51 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 · 51 lines · 71 tokens per session scan A ba7fb4d2f3d9

Subscribe to this mod's changes

tower-orchestrator is an agent published in the GitHub repository Yorha9e/moamcp (2 stars, last pushed 10d ago), licensed MIT. It adds 71 tokens to every session and 1,931 once invoked, about $0.0004 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.

Related

Other agents, from other repositories