After a tool call (Edit|Write): runs jq -r '.tool_input.file_path' | { read file_path; if echo "$file_path" | grep -q…. When a session starts (startup): runs "$CLAUDE_PLUGIN_ROOT"/hooks/session_check.sh, "$CLAUDE_PLUGIN_ROOT"/hooks/warmup.sh.
2 events · 3 hooks
Ships in opinionated-python-hook. 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|Writejq -r '.tool_input.file_path' | { read file_path; if echo "$file_path" | grep -q '\.py$'; then "$CLAUDE_PLUGIN_ROOT"/hooks/python_format.sh "$file_path"; fi; }startup"$CLAUDE_PLUGIN_ROOT"/hooks/session_check.sh"$CLAUDE_PLUGIN_ROOT"/hooks/warmup.shWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub ftnext/claude-code --plugin opinionated-python-hook269 plugins in 249 repositories ship this exact hooks config · first indexed Nov 28, 2025
Other plugins' hooks for the same job