From probe-hooks
After every Claude response: runs /bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ]…. After every Claude response: runs /bin/bash -c '[ "${CLAUDE_CODE_SESSION_ATTENDED:-}" = 1 ] || exit 0; R="${CLAUDE…. And 10 more.
11 events · 12 hooks
Ships in probe-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
/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event Stop --timeout 16'16s/bin/bash -c '[ "${CLAUDE_CODE_SESSION_ATTENDED:-}" = 1 ] || exit 0; R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event Stop --timeout 604860 --wait reads'604860s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event PreCompact --timeout 11'11s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event PreToolUse --timeout 6'6s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event SessionEnd --timeout 20'20s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event PostToolUse --timeout 6'6s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event Notification --timeout 6'6s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event SessionStart --timeout 60'60s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event SubagentStop --timeout 16'16s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event SubagentStart --timeout 30'30s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event UserPromptSubmit --timeout 10'10s/bin/bash -c 'R="${CLAUDE_PLUGIN_ROOT:-}"; R="${R%/}"; [ -f "$R/hooks/hook.py" ] || exit 0; command -v python3 >/dev/null 2>&1 || exit 0; exec python3 -S -B "$R/hooks/hook.py" --harness claude_code --event PermissionRequest --timeout 10'10sWhere this hook configuration is defined
Defined in hooks/hooks.json
Other plugins' hooks for the same job
npx claudepluginhub prbe-ai/research-os-agent --plugin probe-hooks4 plugins ship this exact hooks config · first indexed Oct 25, 2026