Skills for Real Engineers. Straight from my .agents directory.
hook-diagnostics
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
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.
How to install hook-diagnostics
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-devtools/skills/hook-diagnostics/
# into
~/.claude/skills/hook-diagnostics/ (all projects)
.claude/skills/hook-diagnostics/ (one project)
1# Hook Diagnostics23Diagnose hook integration issues between Claude Code and the Agent Monitor.45## Input67The user provides: **$ARGUMENTS**89This may be:10- "full" or empty (default: run all diagnostics)11- "install" to check hook installation only12- "connectivity" to check dashboard connectivity only13- "events" to check event delivery only1415## Procedure1617Run diagnostic checks in this order:1819### 1. Hook Installation Check20Verify hooks are installed in Claude Code settings:2122```bash23# Check if hooks exist in Claude Code settings24cat ~/.claude/settings.json | jq '.hooks // empty'25```2627Verify:28- All 7 expected hook types are registered: `PreToolUse`, `PostToolUse`, `Stop`, `SubagentStop`, `Notification`, `SessionStart`, `SessionEnd`29- Hook commands point to the correct handler script path30- Handler script exists and is readable at the configured path3132### 2. Dashboard Connectivity33Test that the dashboard API is reachable:3435```bash36curl -sf http://localhost:4820/api/health37```3839Verify:40- Dashboard responds with 200 OK41- Response includes expected health fields42- WebSocket endpoint is accessible4344### 3. Hook Handler Validation45Check the hook handler script:4647```bash48# Verify handler exists and is executable49ls -la <handler-path>50# Syntax check51node --check <handler-path>52```5354### 4. Event Delivery Test55Send a test event and verify it arrives:5657```bash58echo '{"hook_type":"test","session_id":"diag-test","data":{}}' | \59 curl -sf -X POST http://localhost:4820/api/hooks/event \60…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
