/compact-plus:compact-plus [recovery notes]from compact-plus
Saves Claude Code/Codex session state to a temporary file before /compact, preserving recovery notes beyond the standard compaction summary.
Ships in compact-plus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
In Claude Code and Codex, the PreCompact hook automatically saves a pre-compaction state file when /compact runs.
This skill is a manual fallback for richer recovery notes.
Before /compact, save working state that is not reliably preserved by the compaction summary to the
runtime-specific state directory.
/compact.$CLAUDE_CODE_SESSION_ID in Claude Code.$CODEX_THREAD_ID in Codex.$CODEX_COMPANION_SESSION_ID is the final compatibility fallback.${TMPDIR:-/tmp}/claude-compact-state/${SESSION_ID}.md.${TMPDIR:-/tmp}/codex-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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
session-state, compact-fallback, recovery-notes, pre-compact, state-save
npx claudepluginhub u-ichi/compact-plus --plugin compact-plusOther plugins' skills for the same job