debug-live-issue
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows,…
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
Claude Code
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer --agent claude-code
Codex
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a codex -y
Cursor
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a cursor -y
Gemini CLI
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a github-copilot -y
OpenCode
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a opencode -y
Windsurf
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill workflow-optimizer -a windsurf -y
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.
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows,…
MANDATORY for every coding agent (Claude Code, Codex, or any other) on every change-set — every applicable source file the agent…
MANDATORY for every coding agent and contributor touching localized content — keep all five localization surfaces (dashboard UI…
Operate and maintain the local MCP server for this project. Use when creating MCP host config, troubleshooting tool connectivity,…
Push the current working tree directly to a GitHub PR whose head lives on a **fork**, without creating a new branch and without…
Onboard quickly to this repository. Use when asked to understand architecture, locate ownership, choose the right module, or…
Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…
Direct actions on one Orchestrator session or PR: stop or interrupt, resume, merge a PR, start a review, screenshot a session's…
Your capability catalog — read this at boot. Lists the temporal date-range skills and the external integrations (reached via the…