Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/stop-hook.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type Stop"
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/context-compression-hook.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PreCompact"
}
],
"matcher": ""
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PreToolUse"
}
],
"matcher": "*"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-session-summary.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SessionEnd"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type PostToolUse"
}
],
"matcher": "*"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/load-core-context.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/initialize-pai-session.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SessionStart"
}
]
}
],
"SubagentStop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/subagent-stop-hook.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type SubagentStop"
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/update-tab-titles.ts"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/capture-all-events.ts --event-type UserPromptSubmit"
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": true,
"touchesFileWrites": false
},
"typeStats": {
"command": 15
},
"eventStats": {
"Stop": 2,
"PreCompact": 2,
"PreToolUse": 1,
"SessionEnd": 2,
"PostToolUse": 1,
"SessionStart": 3,
"SubagentStop": 2,
"UserPromptSubmit": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 15,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 15
}
}