Defined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "dotnet run \"${CLAUDE_PLUGIN_ROOT}/hooks/prevent-backup-files/dotnet/prevent-backup-files.cs\"",
"timeout": 10
}
],
"matcher": "Write|Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "dotnet run \"${CLAUDE_PLUGIN_ROOT}/hooks/inject-current-date/dotnet/inject-current-date.cs\"",
"timeout": 10
},
{
"type": "command",
"command": "dotnet run \"${CLAUDE_PLUGIN_ROOT}/hooks/inject-best-practices/dotnet/inject-best-practices.cs\"",
"timeout": 10
},
{
"type": "command",
"command": "python \"${CLAUDE_PLUGIN_ROOT}/hooks/inject-capability-index/python/inject-capability-index.py\"",
"timeout": 10
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "dotnet run \"${CLAUDE_PLUGIN_ROOT}/scripts/hooks/dotnet/suggest-docs-delegation.cs\"",
"timeout": 10
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 5
},
"eventStats": {
"PreToolUse": 1,
"SessionStart": 3,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 5,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}