Stats
Actions
Tags
From guardrails
Runs Node.js scripts before Edit/MultiEdit/Read tools (blocks/modifies possible), after trueline_edit, and on SessionStart/SubagentStart. Performs file writes.
4 events · 5 hooks
Safety 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
Edit|Write"${CLAUDE_PLUGIN_ROOT}"/hooks/protect-files.shEdit|Writebash -c 'FILE=$(jq -r ".tool_input.file_path"); npx prettier --write "$FILE" 2>/dev/null || true'15msEdit|Writebash -c 'FILE=$(jq -r ".tool_input.file_path"); npx eslint --fix "$FILE" 2>/dev/null || true'30mscompact"${CLAUDE_PLUGIN_ROOT}"/hooks/restore-context.sh"${CLAUDE_PLUGIN_ROOT}"/hooks/subagent-context.shnpx claudepluginhub kellymears/agents --plugin guardrails