From safety-hooks
Before a tool call (Edit|Write): runs ${CLAUDE_PLUGIN_ROOT}/hooks/protect-files.sh, ${CLAUDE_PLUGIN_ROOT}/hooks/warn-large-files.sh, ${CLAUDE_PLUGIN_ROOT}/hooks/scan-secrets.sh. Before a tool call (Bash): runs ${CLAUDE_PLUGIN_ROOT}/hooks/block-dangerous-commands.sh.
1 event · 4 hooks
Ships in safety-hooks. Installing the plugin adds it to Claude Code.
Safety signals detected in this hook configuration
Event handlers and matchers — expand Raw configuration for the full JSON
Edit|Write${CLAUDE_PLUGIN_ROOT}/hooks/protect-files.sh10s${CLAUDE_PLUGIN_ROOT}/hooks/warn-large-files.sh10s${CLAUDE_PLUGIN_ROOT}/hooks/scan-secrets.sh10sBash${CLAUDE_PLUGIN_ROOT}/hooks/block-dangerous-commands.sh10sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub poshan0126/dotclaude --plugin safety-hooks471 plugins in 439 repositories ship this exact hooks config · first indexed Nov 28, 2025
Other plugins' hooks for the same job