From guardrails
Before a tool call (Bash): runs node "${CLAUDE_PLUGIN_ROOT}/scripts/pre-bash.mjs". Before a tool call (Edit|Write|MultiEdit|Read): runs node "${CLAUDE_PLUGIN_ROOT}/scripts/protected-files.mjs". And 1 more.
2 events · 3 hooks
Ships in guardrails. 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
Bashnode "${CLAUDE_PLUGIN_ROOT}/scripts/pre-bash.mjs"60sEdit|Write|MultiEdit|Readnode "${CLAUDE_PLUGIN_ROOT}/scripts/protected-files.mjs"10sEdit|Write|MultiEditnode "${CLAUDE_PLUGIN_ROOT}/scripts/lint-after-edit.mjs"70sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub benweese/claude-plugins --plugin guardrails336 plugins in 308 repositories ship this exact hooks config · first indexed Nov 28, 2025
Showing 6 of 336 plugins, one per repository first
Other plugins' hooks for the same job