Skip to content
Agent Workspaces
Command

/dag

Print the orchestration DAG edges (parent→child subagents) for a session.

From plugin
claude-code-agent-monitor
1.1k33 skills21 agents33 commands1 MCP
> /plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor

Command definition

dag.md
description: Print the orchestration DAG edges (parent→child subagents) for a session.
argument-hint: "[session-id]"

Print the multi-agent orchestration DAG for a session from `http://localhost:4820`.

The session id is **$ARGUMENTS**. If empty, fetch `curl -s 'http://localhost:4820/api/sessions?limit=1'` and use the most recent session, stating which id you picked. If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.

Fetch the workflow intelligence and read its `orchestration` dataset:

curl -s http://localhost:4820/api/workflows/$ARGUMENTS

`orchestration` contains the DAG nodes (agent id, type, model, status, depth) and parent→child edges.

Print, concisely:

1. **One-line topology** — `root → depth <N>, fan-out <max>, <agent count> agents`. 2. **Edge list** — one line per edge, grouped/ordered by depth: `depth d: parent[model] → child[type, status]` 3. **Leaves** — list the leaf agents (no children) on one line.

No tables, no preamble — just the topology line and the edges. Cite only nodes and edges returned by the API; never invent agents. If the session has no subagents, say so (single-agent session, depth 0). For a rendered tree and depth/fan-out breakdown, point the user at the `dag-map` skill.

@hoangsonww
Ships withclaude-code-agent-monitor

🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.

1.1k75 skills21 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.1k
Star history of hoangsonww/Claude-Code-Agent-Monitor on GitHub, a chart by star-history.com

Other commands on claude-code-agent-monitor.

More commands from other plugins.

configure

configure

Command

Configure HUD display options (layout, language, presets, display elements) while preserving advanced manual overrides

@jarrodwatts@jarrodwattsInstall Command
superset-automation
Auto-invoked

superset-automation

Command

Manage a single Paradev automation: edit its prompt in $EDITOR, view recent runs, or trigger a one-off run.

paradev1d16k
@superset-sh@superset-shInstall Command