debug-live-issue
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows, regressions, flaky behavior, or data…
Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/workflow-optimizerContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces
name: workflow-optimizer description: > Analyze workflow patterns using the Agent Monitor's workflow intelligence API — orchestration DAGs, tool flow transitions, subagent effectiveness, model delegation patterns, error propagation by depth, concurrency lanes, compaction impact, and agent co-occurrence. Produces prioritized optimization recommendations with quantified impact.
Analyze Claude Code workflows using the Agent Monitor's workflow intelligence engine.
The user provides: **$ARGUMENTS**
Options: "analyze", a session ID for single-session analysis, or a focus: "tools", "subagents", "cost", "errors".
| Endpoint | Returns | |----------|---------| | `GET /api/sessions?limit=100` | Session list with metadata | | `GET /api/workflows/{sessionId}` | **11 workflow datasets** (see below) | | `GET /api/analytics` | Tool usage top 20, event types, agent types | | `GET /api/pricing` | Model pricing rules for cost comparison |
Returns these 11 datasets per session:
| Dataset | Content | |---------|---------| | `stats` | Aggregate session stats: tool count, agent depth, event count | | `orchestration` | **DAG**: agent nodes with parent/child edges, depths, types | | `toolFlow` | **Transition matrix**: tool A → tool B with counts (common sequences) | | `effectiveness` | **Subagent success**: per-type completion rates, avg duration, task success | | `patterns` | **Recurring sequences**: detected workflow patterns with frequency | | `modelDelegation` | **Model choices**: which models are delegated which tasks | | `errorPropagation` | **Error flow by depth**: where in the agent tree errors originate and propagate | | `concurrency` | **Concurrency lanes**: overlapping agent execution timelines | | `complexity` | **Complexity score**: numerical score based on depth, breadth, tool diversity | | `compaction` | **Compaction impact**: token savings, frequency, context health | | `cooccurrence` | **Agent pairs**: which agents frequently run together |
From `toolFlow` transition data:
From `effectiveness` + `orchestration`:
From `modelDelegation`:
From `errorPropagation`:
From `concurrency`:
From `compaction`:
Prioritized recommendations table:
| # | Recommendation | Source Data | Impact | Effort | Est. Savings | |---|---------------|-------------|--------|--------|-------------|
Top 5 recommendations with detailed explanation, supporting data from the workflow API, and implementation steps.
🚀 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.
Repo: hoangsonww/Claude-Code-Agent-Monitor
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows, regressions, flaky behavior, or data…
MANDATORY for every coding agent (Claude Code, Codex, or any other) on every change-set — every applicable source file the agent creates or updates MUST start…
MANDATORY for every coding agent and contributor touching localized content — keep all five localization surfaces (dashboard UI keys, wiki page, mirrored…
Operate and maintain the local MCP server for this project. Use when creating MCP host config, troubleshooting tool connectivity, modifying tool domains, or…
Push the current working tree directly to a GitHub PR whose head lives on a **fork**, without creating a new branch and without pushing to `origin` (which is…
Onboard quickly to this repository. Use when asked to understand architecture, locate ownership, choose the right module, or identify the correct commands and…