From compact-plus
Before context compaction: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/precompact-transcript-backup.sh". Before context compaction: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/precompact-state-summary.sh". On PostCompact: runs bash "${CLAUDE_PLUGIN_ROOT}/hooks/compaction-recovery.sh". And 4 more.
4 events · 7 hooks
Ships in compact-plus. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
bash "${CLAUDE_PLUGIN_ROOT}/hooks/precompact-transcript-backup.sh"30sbash "${CLAUDE_PLUGIN_ROOT}/hooks/precompact-state-summary.sh"180sbash "${CLAUDE_PLUGIN_ROOT}/hooks/compaction-recovery.sh"5scompactbash "${CLAUDE_PLUGIN_ROOT}/hooks/sessionstart-compaction-recovery.sh"5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/sessionstart-export-session-id.sh"3sbash "${CLAUDE_PLUGIN_ROOT}/hooks/userpromptsubmit-compaction-recovery.sh"5sbash "${CLAUDE_PLUGIN_ROOT}/hooks/userpromptsubmit-compact-plus-reminder.sh"3sWhere this hook configuration is defined
Defined in hooks/hooks.json
8 plugins ship this exact hooks config · first indexed Jun 23, 2026
Other plugins' hooks for the same job
npx claudepluginhub u-ichi/compact-plus --plugin compact-plus