npx claudepluginhub steeef/claude-hooks --plugin command-safetyDefined in hooks/hooks.json
Bashpython3 ${CLAUDE_PLUGIN_ROOT}/hooks/command_hook.pyExecutes shell scripts before Bash and Read tool calls, enabling custom pre-checks, logging, or blocking for bash commands and file reads. Runs bash scripts, no file writes.