Skip to content
Development
Command

/workflow

Summarize the workflow intelligence for a session — stats, complexity, and top patterns.

From plugin
claude-code-agent-monitor
89133 skills21 agents33 commands
Install
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/workflow

Context preview

What this command does when you run it.

Summarize the workflow intelligence for a session — stats, complexity, and top patterns.

Command definition

workflow.md
description: Summarize the workflow intelligence for a session — stats, complexity, and top patterns.
argument-hint: "[session-id]"

Summarize the Agent Monitor workflow intelligence 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:

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

This returns 11 datasets: `stats`, `orchestration`, `toolFlow`, `effectiveness`, `patterns`, `modelDelegation`, `errorPropagation`, `concurrency`, `complexity`, `compaction`, `cooccurrence`.

Print, concisely:

1. **Header** — session id, total agents, max depth, and total tool calls (from `stats` / `orchestration`). 2. **Complexity** — the numeric `complexity` score and what drives it (depth, breadth, tool diversity). 3. **Top patterns** — up to 5 recurring sequences from `patterns`, each as `sequence ×frequency`, sorted by frequency descending. 4. **Quick signals** — one line each: concurrency lane count (`concurrency`), subagent success rate (`effectiveness`), and total errors with origin depth (`errorPropagation`).

Keep it terse — this is a one-shot. Cite only numbers returned by the API; for deeper analysis point the user at the `dag-map`, `delegation-audit`, `concurrency-report`, or `error-propagation` skills.

Read more
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.

Get the whole plugin, auto-invoked
Stats
891
Stars
0
Views
201
Forks
Active
Maintenance
TypeScript
Language
MIT
License
1h ago
Last commit
5mo ago
Created

Repo: hoangsonww/Claude-Code-Agent-Monitor