After every Claude response: runs /bin/bash -c 'ROOT="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; ROOT="${ROOT%/}"; …. And 7 more.
7 events · 10 hooks
Ships in probe-research-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 'S="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; S="${S%/}/hooks/stop-wake.sh"; [ -f "$S" ] || exit 0; exec /bin/bash "$S" alert'604860s/bin/bash -c 'S="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; S="${S%/}/hooks/stop-wake.sh"; [ -f "$S" ] || exit 0; exec /bin/bash "$S" answer'604860s/bin/bash -c 'S="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; S="${S%/}/hooks/stop-wake.sh"; [ -f "$S" ] || exit 0; exec /bin/bash "$S" message'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/research-os-agent --plugin probe-research-daemon15 plugins in 13 repositories ship this exact hooks config · first indexed Jul 6, 2026
Other plugins' hooks for the same job