Files
2025-11-30 08:46:03 +08:00

40 lines
791 B
JSON

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