From probe-daemon
After every Claude response: runs /bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; …. After every Claude response: runs /bin/bash -c '[ "${CLAUDE_CODE_SESSION_ATTENDED:-}" = 1 ] || exit 0; SID="${CLAU…. And 6 more.
7 events · 8 hooks
Ships in probe-daemon. 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 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" stop'16s/bin/bash -c '[ "${CLAUDE_CODE_SESSION_ATTENDED:-}" = 1 ] || exit 0; SID="${CLAUDE_CODE_SESSION_ID:-${CODEX_THREAD_ID:-}}"; SID="${SID//[^A-Za-z0-9_-]/}"; [ -n "$SID" ] || exit 0; shopt -s nullglob; R="${XDG_STATE_HOME:-$HOME/.local/state}/probe/reads"; W=("$R/asks/$SID"/a*.json "$R/asks/$SID"/.taken/a*.json "$R/requests/$SID"/w*.json "$R/requests/$SID"/.taken/w*.json "$R/messages/$SID"/00000000000000000000-n*.json); [ ${#W[@]} -gt 0 ] || [ -f "$R/status/$SID.json" ] || exit 0; ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -f "$ROOT/hooks/reads_hook.py" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -f "$ROOT/hooks/reads_hook.py" ] || exit 0; [ -n "${PLUGIN_ROOT:-}" ] && export PROBE_AGENT=codex; PY="$(command -v python3)" || exit 0; exec "$PY" "$ROOT/hooks/reads_hook.py"'604860s/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" pre-compact'11s/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" pre-tool'6s/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" session-end'3s/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" post-tool'6s/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" session-start'/bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; if [ ! -x "$ROOT/hooks/dispatch.sh" ] && [ -n "${PLUGIN_ROOT:-}" ]; then ROOT="$(ls -dt "${ROOT%/*}"/[0-9]*.[0-9]*/.codex-plugin/plugin.json 2>/dev/null | head -1)"; ROOT="${ROOT%/.codex-plugin/plugin.json}"; [ -n "$ROOT" ] && export PLUGIN_ROOT="$ROOT"; fi; [ -x "$ROOT/hooks/dispatch.sh" ] || exit 0; exec "$ROOT/hooks/dispatch.sh" prompt'10snpx claudepluginhub prbe-ai/probe --plugin probe-daemon15 plugins in 13 repositories ship this exact hooks config · first indexed Jul 6, 2026
Other plugins' hooks for the same job