Executes bash commands before and after tool usage while managing session lifecycle with notifications.
npx claudepluginhub captaincrouton89/crouton-kitDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/push-to-protected-guard.py"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/block-destructive-git.sh"
}
],
"matcher": "Bash"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/claude-md-manager.bundle.mjs"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/push-pr-prompt.py"
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pr-merge-cleanup.py"
}
],
"matcher": "Bash"
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/notification-sound.sh"
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/claude-md-manager.bundle.mjs"
}
],
"matcher": "clear"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/setup-path.sh"
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 8
},
"eventStats": {
"PreToolUse": 2,
"SessionEnd": 1,
"PostToolUse": 2,
"Notification": 1,
"SessionStart": 2
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 8,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 8
}
}