/plugin marketplace add Git-Fg/thecattoolkit/plugin install git-fg-guard-python-plugins-guard-python@Git-Fg/thecattoolkitDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-python/hooks/scripts/hook_runner.py\" protect-files",
"timeout": 10000
},
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-python/hooks/scripts/hook_runner.py\" security-check",
"timeout": 10000
}
],
"matcher": "Edit|Write"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-python/hooks/scripts/hook_runner.py\" type-check-on-edit",
"timeout": 10000
}
],
"matcher": "Edit|Write"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 3
},
"eventStats": {
"PreToolUse": 2,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}