Defined in ./hooks/hooks.json
{
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/pre_compact.py",
"description": "Pre-compact processing"
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/subagent_stop.py",
"description": "Handle subagent stop events"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/user_prompt_sumbit.py",
"description": "Process user prompts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/task-completion-enforcer.py",
"description": "Enforce task completion"
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 4
},
"eventStats": {
"PreCompact": 1,
"SubagentStop": 1,
"UserPromptSubmit": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 4,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 4
}
}