From compact-plus
Saves pre-compaction session state for Claude Code before /compact, preserving active plans, task lists, session decisions, and recovery notes. Use as a manual fallback when the PreCompact hook doesn't run.
How this skill is triggered — by the user, by Claude, or both
Slash command
/compact-plus:compact-plus [recovery notes][recovery notes]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
In Claude Code, the PreCompact hook automatically saves a pre-compaction state file when `/compact` runs.
In Claude Code, the PreCompact hook automatically saves a pre-compaction state file when /compact runs.
Codex does not run that hook, so this skill can be used as a manual fallback when needed.
Before Claude Code /compact, save working state that is not reliably preserved by the compaction summary to
${TMPDIR}/claude-compact-state/${SESSION_ID}.md.
/compact.${CLAUDE_PLUGIN_ROOT}/scripts/get-session-id.sh.${TMPDIR:-/tmp}/claude-compact-state/${SESSION_ID}.md.~/.claude/plans/ when one is present.Not used.# Compact Prep State
## Active Plan
## Current Phase
## TaskList Summary
## Session Decisions
## Constraints and Blockers
## Worker Topology
## Skills Invoked
## Editing Files
## Failed Attempts
## Recovery Notes
Preparation complete. Please run /compact.Include the following when complete:
Preparation complete. Please run /compact.npx claudepluginhub u-ichi/compact-plus --plugin compact-plusSaves critical files, task progress, and working state before context compaction, then restores them after. Use before /compact or when auto-compact triggers.
Manages session context across long development sessions using tiered summarization and checkpoints. Enables seamless resume after breaks.
Preserves critical data before automatic context compression. Creates snapshots, verifies integrity, and prevents information loss during sessions.