From git-hooks
Before a tool call (Bash): runs python3 ${CLAUDE_PLUGIN_ROOT}/hooks/git_pre_hook.py. After a tool call (Bash): runs python3 ${CLAUDE_PLUGIN_ROOT}/hooks/cleanup_hook.py.
2 events · 2 hooks
Ships in git-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
Bashpython3 ${CLAUDE_PLUGIN_ROOT}/hooks/git_pre_hook.pyBashpython3 ${CLAUDE_PLUGIN_ROOT}/hooks/cleanup_hook.pyWhere this hook configuration is defined
Defined in hooks/hooks.json
136 plugins in 120 repositories ship this exact hooks config · first indexed Dec 13, 2025
npx claudepluginhub steeef/claude-hooks --plugin git-hooksOther plugins' hooks for the same job