Executes automated bash commands before and after specific tool uses and at session start.
/plugin marketplace add mindmorass/reflex/plugin install reflex@mindmorass-reflexDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/guardrail-hook.sh",
"timeout": 5
}
],
"matcher": "Bash|Write|Edit|MultiEdit|mcp__.*__jira_delete_issue|mcp__.*__jira_remove_issue_link|mcp__.*__confluence_delete_page"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/qdrant-hook.sh",
"timeout": 3
}
],
"matcher": "mcp__.*qdrant__.*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/langfuse-hook.sh",
"timeout": 5
},
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/notify-hook.sh",
"timeout": 5
}
]
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/check-dependencies.sh",
"timeout": 10
}
]
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": true,
"touchesFileWrites": true
},
"typeStats": {
"command": 5
},
"eventStats": {
"PreToolUse": 2,
"PostToolUse": 2,
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 5,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}