npx claudepluginhub damusix/ai-tools --plugin auto-approve-compound-bashDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT:-$PLUGIN_DIR}\"/approve-compound-bash.sh --explain",
"timeout": 3
}
],
"matcher": "Bash"
}
]
}"Runs a Node.js script before every Bash tool call via PreToolUse hook with Bash matcher, enabling blocking or modification of bash commands. Executes bash, no file writes."