Defined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "SILENT=true woof 'Claude has a question'",
"timeout": 5000
}
],
"matcher": "AskUserQuestion"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "SILENT=true woof 'Claude needs permission'",
"timeout": 5000
}
],
"matcher": "permission_prompt|elicitation_dialog"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreToolUse": 1,
"Notification": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}