debug-live-issue
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows,…
Audit hook delivery health from Agent Monitor data — balance PreToolUse vs PostToolUse (a gap means tools that started but never reported back), detect missing Stop/SubagentStop terminators (sessions/subagents that never closed), and check for stale ingestion (no recent events).
Claude Code
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit --agent claude-code
Codex
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a codex -y
Cursor
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a cursor -y
Gemini CLI
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a github-copilot -y
OpenCode
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a opencode -y
Windsurf
$ npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-failure-audit -a windsurf -y
name: hook-failure-audit description: > Audit hook delivery health from Agent Monitor data — balance PreToolUse vs PostToolUse (a gap means tools that started but never reported back), detect missing Stop/SubagentStop terminators (sessions/subagents that never closed), and check for stale ingestion (no recent events). Use when hooks look unreliable or events seem to be dropping.
Assess whether the hook pipeline is delivering events reliably, using the event counts and stream the dashboard already has. This is about *delivery* health (missing/dropped events), not about why a model errored.
The user provides: **$ARGUMENTS**
This may be:
| Endpoint | Returns | |----------|---------| | `GET /api/analytics` | `event_types` (counts per type: PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd), `daily_events` (365d), `total_subagents`, `sessions_by_status` — fleet-wide delivery balance | | `GET /api/stats` | `total_sessions`, `total_agents`, `total_events`, `events_today` — expected terminator counts and recency | | `GET /api/events?session_id=X` | Per-session stream — confirm which sessions are missing a `PostToolUse`, `Stop`, or `SubagentStop` |
From `GET /api/analytics` `event_types`: `gap = PreToolUse − PostToolUse`. A positive gap means tools whose completion hook never arrived. Report the gap as a count and as a percentage of `PreToolUse`. A healthy pipeline keeps this near 0%.
Compare `Stop` count against completed sessions (`sessions_by_status`) and `SubagentStop` against `total_subagents`/`total_agents` (from `/api/stats`). A shortfall means sessions or subagents that ran but never emitted a closing hook — likely dropped delivery or a crashed handler. Report expected vs observed for each.
Check `events_today` from `/api/stats` and the tail of `daily_events` from analytics. If recent days are empty while sessions exist, ingestion has stalled. Report the most recent day with events and how long ago that was.
For the sessions with the largest gaps or missing terminators, pull `GET /api/events?session_id=X` and confirm which specific hook types are absent. List the offending session IDs.
🚀 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…