debug-live-issue
Debug production-like issues in this repository with disciplined evidence gathering. Use when fixing failing workflows, regressions, flaky behavior, or data…
Diagnose Claude Code hook installation, delivery, and ingestion issues. Checks hook configuration, connectivity, event flow, and identifies common problems. Use when events are not appearing in the dashboard.
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill hook-diagnostics --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/hook-diagnosticsContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnose Claude Code hook installation, delivery, and ingestion issues. Checks hook configuration, connectivity, event flow, and identifies common problems. Use when events are not appearing in the dashboard.
name: hook-diagnostics description: > Diagnose Claude Code hook installation, delivery, and ingestion issues. Checks hook configuration, connectivity, event flow, and identifies common problems. Use when events are not appearing in the dashboard.
Diagnose hook integration issues between Claude Code and the Agent Monitor.
The user provides: **$ARGUMENTS**
This may be:
Run diagnostic checks in this order:
Verify hooks are installed in Claude Code settings:
# Check if hooks exist in Claude Code settings cat ~/.claude/settings.json | jq '.hooks // empty'
Verify:
Test that the dashboard API is reachable:
curl -sf http://localhost:4820/api/health
Verify:
Check the hook handler script:
# Verify handler exists and is executable ls -la <handler-path> # Syntax check node --check <handler-path>
Send a test event and verify it arrives:
echo '{"hook_type":"test","session_id":"diag-test","data":{}}' | \
curl -sf -X POST http://localhost:4820/api/hooks/event \
-H 'Content-Type: application/json' -d @-Verify the database is writable and events are persisted:
curl -sf http://localhost:4820/api/stats curl -sf http://localhost:4820/api/events?limit=5
Check if events are flowing:
Present as a diagnostic report with:
Hook Diagnostics Report ━━━━━━━━━━━━━━━━━━━━━━ ✅ Hook Installation .............. PASS ✅ Dashboard Connectivity ......... PASS ✅ Handler Script ................. PASS ⚠️ Event Delivery ................ WARN (slow) ✅ Database ....................... PASS ❌ Recent Event Flow .............. FAIL (no events in 2h) ━━━━━━━━━━━━━━━━━━━━━━ Overall: 5/6 checks passed
For each failed or warning check, include:
🚀 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…