Defined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-scripts/git_gpg_check.sh"
}
],
"matcher": "Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-scripts/add_context.sh ${CLAUDE_PLUGIN_ROOT}/hooks-scripts/SessionStart.md"
}
],
"matcher": "startup|clear"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks-scripts/repo_setup.sh"
},
{
"type": "command",
"command": "echo The current user is : $USER"
},
{
"type": "command",
"command": "echo Git remote at: $(git config --get remote.origin.url)"
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 5
},
"eventStats": {
"PreToolUse": 1,
"SessionStart": 1,
"UserPromptSubmit": 3
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 5
}
}