u-ichi/compact-plus

Claude Code plugin: preserve and restore working state around /compact

199Stars on the repository
9Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

UserPromptSubmit

01

u-ichi/compact-plus

Hook

Runs when you submit a prompt, before the agent sees it, executing userpromptsubmit-compaction-recovery.sh and userpromptsubmit-compact-plus-reminder.sh via bash (2 commands). From u-ichi/compact-plus.

199 1mo ago A tokens not measured original MIT

PreCompact

02

u-ichi/compact-plus

Hook

Runs before the context is compacted, executing precompact-transcript-backup.sh and precompact-state-summary.sh via bash (2 commands). From u-ichi/compact-plus.

199 1mo ago A tokens not measured copy · 53% MIT

PostCompact

03

u-ichi/compact-plus

Hook

Runs after the context is compacted, executing compaction-recovery.sh via bash. From u-ichi/compact-plus.

199 1mo ago A tokens not measured original MIT

SessionStart

04

u-ichi/compact-plus

Hook

Runs when a session starts on compact, executing sessionstart-compaction-recovery.sh and sessionstart-export-session-id.sh via bash (2 commands). From u-ichi/compact-plus.

199 1mo ago A tokens not measured copy · 55% MIT