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.Scans a codebase for architectural friction, presents candidates as a visual HTML report with before/after diagrams, and guides you through deepening refactors.
npx claudepluginhub u-ichi/compact-plus --plugin compact-plus