/ccam-workflows:dag-mapfrom ccam-workflows
Renders the multi-agent orchestration DAG for a Claude Code session, showing parent-child subagent edges, tree depth, and fan-out from the Agent Monitor API. Useful for visualizing how a session's agent structure was organized.
Ships in ccam-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Render the subagent orchestration graph for one Claude Code session as a depth-ordered DAG.
The user provides: $ARGUMENTS
A session ID. If empty, fetch GET /api/sessions?limit=1 and use the most recent session, stating which one you picked.
| Endpoint | Returns |
|---|---|
GET /api/workflows/{sessionId} | The orchestration dataset: DAG nodes (agent id, type, model, status, depth) and parent→child edges |
GET /api/agents | Raw subagent records (status, type, depth, parent) to cross-check node/edge counts |
GET /api/sessions/{sessionId} | Full session detail with nested agents[] to confirm the root and total agent count |
From orchestration: the root agent, total agent count, max depth, and max fan-out (most children under any one parent). Confirm the agent count against /api/agents filtered to this session.
Every parent→child edge, grouped by depth, formatted as:
depth d: parent[model] → child[type, status]
Mark leaf agents (no children) and any orphan nodes (a parent that is not present in the node set).
| Depth | Agents at depth | Children spawned | Avg fan-out |
|---|
A simple indented tree rendering of the DAG, e.g.:
root [opus, completed]
├─ explore [sonnet, completed]
└─ code-review [sonnet, error]
└─ debugger [sonnet, completed]
npm start from the repo root.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hoangsonww/claude-code-agent-monitor --plugin ccam-workflows5 skills in this plugin
/concurrency-reportReport concurrency and parallelism for a session — how many agents ran in parallel, concurrency-lane utilization, peak parallel width, and serialization bottlenecks (sequential chains that could have run as parallel lanes) — using the Agent Monitor workflow intelligence API. Use when checking whether a multi-agent session used parallelism efficiently.
/delegation-auditAudit model delegation and subagent effectiveness for a session — which models handled which subagent types, per-type success rates and average durations, and wasted delegations (heavy models on trivial work or types that consistently fail) — using the Agent Monitor workflow intelligence API. Use when reviewing how a session delegated work across models and subagents.
/error-propagationTrace error propagation through a multi-agent session by agent depth — where failures originated, the depth at which they appeared, and how they cascaded up to parent agents — using the Agent Monitor workflow intelligence API and the session event stream. Use when a multi-agent run failed and you need to find the origin and blast radius of the failure.
/fleet-runsSummarize Workflow-tool fleet runs from the Agent Monitor — these fleets emit no hooks and are ingested from on-disk run journals. List recent runs with status and agents-per-run, then drill into a single run's per-agent detail. Reconciles against the live run-state endpoints. Use when reviewing Workflow() fleets rather than hook-instrumented interactive sessions.
5 plugins ship this exact skill · first indexed Aug 10, 2026
Other plugins' skills for the same job