Before a tool call (Bash|PowerShell|mcp__.*): runs if python -c "import sys; sys.exit(sys.version_info < (3, 7))" </dev/null >/dev/…. When a session starts: runs python3 -c "import sys; sys.exit(sys.version_info < (3, 7))" >/dev/null 2>&1 || ….
2 events · 2 hooks
Ships in SQL Server: Write 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
Bash|PowerShell|mcp__.*if python -c "import sys; sys.exit(sys.version_info < (3, 7))" </dev/null >/dev/null 2>&1; then python "${CLAUDE_PLUGIN_ROOT}/hooks/block_sql_writes.py"; else python3 "${CLAUDE_PLUGIN_ROOT}/hooks/block_sql_writes.py"; fi10spython3 -c "import sys; sys.exit(sys.version_info < (3, 7))" >/dev/null 2>&1 || python -c "import sys; sys.exit(sys.version_info < (3, 7))" >/dev/null 2>&1 || cat "${CLAUDE_PLUGIN_ROOT}/hooks/no-python-warning.json"10sWhere this hook configuration is defined
Defined in hooks/hooks.json
npx claudepluginhub erikdarlingdata/claude-plugins --plugin sqlserver-write-guard355 plugins in 345 repositories ship this exact hooks config · first indexed Dec 3, 2025
Other plugins' hooks for the same job