From worktree-guard
Before a tool call (Edit|Write|NotebookEdit|apply_patch): runs /usr/bin/python3 "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-guard.py" pre-tool-use. Before a tool call (Bash): runs /usr/bin/python3 "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-guard.py" pre-tool-use. And 1 more.
2 events · 3 hooks
Ships in worktree-guard. 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|NotebookEdit|apply_patch/usr/bin/python3 "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-guard.py" pre-tool-use10sBash/usr/bin/python3 "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-guard.py" pre-tool-use10s/usr/bin/python3 "${CLAUDE_PLUGIN_ROOT}/hooks/worktree-guard.py" session-start10sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub cjthompson/claude-code-config --plugin worktree-guard240 plugins in 234 repositories ship this exact hooks config · first indexed Nov 28, 2025
Other plugins' hooks for the same job