/plugin marketplace add Git-Fg/thecattoolkit/plugin install git-fg-verify-plugins-verify@Git-Fg/thecattoolkitDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/evaluate-stop.sh",
"timeout": 10
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/compact-memory.sh",
"timeout": 60
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"once": true,
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/protect-files.sh",
"timeout": 5
},
{
"once": true,
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-check.sh",
"timeout": 5
}
],
"matcher": "Edit|Write"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "jq -r '{tool: .tool_name, file: (.tool_input.file_path // .tool_input.TargetFile // .tool_input.command[:100] // \"unknown\")} | \"[\" + (now | strftime(\"%Y-%m-%d %H:%M:%S\")) + \"] \" + .tool + \": \" + .file' >> \"$CLAUDE_PROJECT_DIR/.cattoolkit/context/context.log\" 2>/dev/null || true",
"timeout": 5
}
],
"matcher": "Edit|Write|Bash"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/restore-context.sh",
"timeout": 30
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 6
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"PreToolUse": 2,
"PostToolUse": 1,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 5,
"projectScripts": 1
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}