From pi
After every Claude response: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-decision.sh. Before context compaction: runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh. After a tool call (Bash): runs bash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-tool-result.sh success. And 4 more.
7 events · 7 hooks
Ships in pi. 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 ${CLAUDE_PLUGIN_ROOT}/hooks/capture-decision.sh10s*bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.sh5sBashbash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-tool-result.sh success5sbash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-subagent.sh stop5sbash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-subagent.sh start5sbash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-prompt.sh5sBashbash ${CLAUDE_PLUGIN_ROOT}/hooks/capture-tool-result.sh failure5sWhere this hook configuration is defined
Defined in hooks/hooks.json
event-capture, session-logging, tool-tracking, prompt-logging
npx claudepluginhub share-skills/pi --plugin piOther plugins' hooks for the same job