From predicate
Before a tool call (Task|Agent): runs python3 "${CLAUDE_PLUGIN_ROOT}/harness/pretooluse_agent_shadow.py". When a session starts: runs python3 "${CLAUDE_PLUGIN_ROOT}/harness/session_start.py". When a subagent starts: runs python3 "${CLAUDE_PLUGIN_ROOT}/harness/session_start.py".
3 events · 3 hooks
Ships in predicate. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
Task|Agentpython3 "${CLAUDE_PLUGIN_ROOT}/harness/pretooluse_agent_shadow.py"10s*python3 "${CLAUDE_PLUGIN_ROOT}/harness/session_start.py"10s*python3 "${CLAUDE_PLUGIN_ROOT}/harness/session_start.py"10sWhere this hook configuration is defined
Defined in harness/hooks.json
10 plugins in 8 repositories ship this exact hooks config · first indexed Aug 19, 2026
npx claudepluginhub nrdxp/predicate --plugin predicateOther plugins' hooks for the same job