{ "description": "Anonymous Usage Metric Collection", "hooks": { "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/send_metrics.py --verbose", "timeout": 30 } ] } ], "PreToolUse": [ { "matcher": "Skill", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/send_metrics.py --verbose", "timeout": 30 } ] } ], "SessionEnd": [ { "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/send_session_metrics.py --verbose", "timeout": 30 } ] } ] } }