From ccam-analytics
After every Claude response: runs jq -r '{session_id: .session_id, stop_reason: .stop_reason, timestamp: now | tod…. After every subagent response: runs jq -r '{session_id: .session_id, agent_id: .agent_id, stop_reason: .stop_reason,….
2 events · 2 hooks
Ships in ccam-analytics. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
jq -r '{session_id: .session_id, stop_reason: .stop_reason, timestamp: now | todate}' | curl -s -X POST http://localhost:4820/api/hooks/event -H 'Content-Type: application/json' -d @- > /dev/null 2>&1 || truejq -r '{session_id: .session_id, agent_id: .agent_id, stop_reason: .stop_reason, timestamp: now | todate}' | curl -s -X POST http://localhost:4820/api/hooks/event -H 'Content-Type: application/json' -d @- > /dev/null 2>&1 || trueWhere this hook configuration is defined
Defined in hooks/hooks.json
112 plugins in 52 repositories ship this exact hooks config · first indexed Dec 4, 2025
npx claudepluginhub hoangsonww/claude-code-agent-monitor --plugin ccam-analyticsOther plugins' hooks for the same job