Stats
Actions
Tags
Help us improve
Share bugs, ideas, or general feedback.
From safety-hooks
Executes Node.js scripts on PreToolUse for Bash|Write|Edit|NotebookEdit matchers (can block/modify tools) and on all UserPromptSubmit events. Touches bash execution and file writes.
2 events · 5 hooks
npx claudepluginhub pchalasani/claude-code-tools --plugin safety-hooksSafety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Bashbash -c 'if test -f "${CLAUDE_PLUGIN_ROOT}/hooks/bash_hook.py"; then python3 "${CLAUDE_PLUGIN_ROOT}/hooks/bash_hook.py"; else echo "{\"decision\":\"approve\"}"; fi'10msEditbash -c 'if test -f "${CLAUDE_PLUGIN_ROOT}/hooks/file_length_limit_hook.py"; then python3 "${CLAUDE_PLUGIN_ROOT}/hooks/file_length_limit_hook.py"; else echo "{\"decision\":\"approve\"}"; fi'10msWritebash -c 'if test -f "${CLAUDE_PLUGIN_ROOT}/hooks/file_length_limit_hook.py"; then python3 "${CLAUDE_PLUGIN_ROOT}/hooks/file_length_limit_hook.py"; else echo "{\"decision\":\"approve\"}"; fi'10msReadbash -c 'if test -f "${CLAUDE_PLUGIN_ROOT}/hooks/read_env_protection_hook.py"; then python3 "${CLAUDE_PLUGIN_ROOT}/hooks/read_env_protection_hook.py"; else echo "{\"decision\":\"approve\"}"; fi'10msbash -c 'if test -f "${CLAUDE_PLUGIN_ROOT}/hooks/allow_git_hook.py"; then python3 "${CLAUDE_PLUGIN_ROOT}/hooks/allow_git_hook.py"; else echo "{\"decision\":\"approve\"}"; fi'10msShare bugs, ideas, or general feedback.