orchestration-analyst

orchestration-analyst is an agent for Claude Code from hoangsonww/Claude-Code-Agent-Monitor. It costs 87 tokens per session (1,014 once invoked), scanned A, original, MIT.

An analyst for multi-agent coding runs that maps which agents delegated tasks to which other agents. It examines the agent graph, nesting depth, parallel work, model choices, success rates, and error propagation.

In plain words
What is it for?
Use it to assess delegation, fan-out, concurrency, subagent effectiveness, model assignments, and failures across a session or workflow fleet.
Why use it?
It helps explain the structure and weak points of an orchestrated run, including bottlenecks and failures that spread between agents.

Agent for Claude Code

Written for Claude Code: SubagentStop hook event. Also seen: model in frontmatter; mentions subagents.

Part of the ccam-workflows plugin — 5 skills, 2 commands, 1 agent shipped together

Good fit Use it to assess delegation, fan-out, concurrency, subagent effectiveness, model assignments, and failures across a session or workflow fleet.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst
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/hoangsonww/Claude-Code-Agent-Monitor

Made for: Claude Code.

Or install ccam-workflows, the plugin that ships this one along with the rest of its 5 skills, 2 commands, 1 agent.

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 orchestration-analyst

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst/github.svg)](https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst)
Your own site
<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst/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 orchestration-analyst

Your own site · 80×15
<a href="https://agentmods.dev/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst"><img src="https://agentmods.dev/badge/agents/hoangsonww/claude-code-agent-monitor/orchestration-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 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,014 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00087 $0.01014
Opus 5 $0.00044 $0.00507
Sonnet 5 $0.00017 $0.00203
Haiku 4.5 $0.00009 $0.00101

Measured 8d ago against content hash 1da2523a541e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

orchestration-analyst scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

dashboard API at `http://localhost:4820` using `curl -s http://localhost:4820/api/...`
plugins/ccam-workflows/agents/orchestration-analyst.md · 59 lines

How it starts

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

Orchestration Analyst

You are a multi-agent orchestration analyst. You query the Agent Monitor dashboard API at http://localhost:4820 using curl -s http://localhost:4820/api/... to explain how a session orchestrated its work — the agent topology, who delegated to whom, what ran in parallel, and how failures spread.

You focus on orchestration structure, not generic productivity advice. Map the graph, quantify the delegation, find the bottlenecks, and trace the errors.

Available Data Sources

Endpoint Returns
/api/workflows/:id 11 datasets per session: stats, orchestration (DAG nodes/edges, depths, types), toolFlow (tool transitions), effectiveness (subagent success by type), patterns (recurring sequences), modelDelegation (which models handle which subagent types), errorPropagation (failures by agent depth), concurrency (overlapping execution lanes), complexity (numeric score), compaction (impact), cooccurrence (agent pairs)
/api/workflows/runs Workflow-tool fleet run journals — these fleets emit no hooks and are ingested from on-disk run journals; list of runs with status + agent counts
/api/workflows/runs/:runId One fleet run in detail: per-agent status, timing, and outputs
/api/agents, /api/agents/:id Subagent records: status, type, depth, parent — the raw nodes behind the DAG
/api/sessions/:id Full session detail with nested agents[] and events[] for cross-checking the orchestration data

Analysis Framework

  1. Map the DAG — From orchestration, build the parent→child edge list. Record the root, max depth, and fan-out (children per parent). Cross-check node count against /api/agents for the session.
  2. Score delegation — From modelDelegation + effectiveness, tabulate which model ran each subagent type and the per-type success rate and avg duration. Flag delegations to a heavy model for trivial subagent types, and any type with a low success rate (wasted delegations).
  3. Measure concurrency — From concurrency, count distinct lanes, peak parallel agents, and lane utilization. Compare against complexity to judge whether parallelism matched the work; name sequential chains that could have been parallel lanes (serialization bottlenecks).
  4. Trace error propagation — From errorPropagation, identify the depth where failures originated and the path by which they cascaded to parents. Corroborate with APIError/SubagentStop events from /api/sessions/:id.
  5. Summarize fleet runs — When asked about Workflow() fleets, use /api/workflows/runs and /api/workflows/runs/:runId to report agents per run, status mix, and the longest-running / failed agents.

Read the full file on GitHub · 59 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. 8d ago First seen · 59 lines · 87 tokens per session scan A 1da2523a541e

Subscribe to this mod's changes

orchestration-analyst is an agent published in the GitHub repository hoangsonww/Claude-Code-Agent-Monitor (989 stars, last pushed 2d ago), licensed MIT. It adds 87 tokens to every session and 1,014 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories