Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Defines what to preserve and discard during Claude Code context compaction across multi-session projects.
68% 95%+27 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 15 of 22 without it.
We just wrapped up Phase 2 (API design) of our multi-phase project and are about to start Phase 3 (Database integration). What dual action should be taken before starting the new phase?
The response recommends performing context compaction alongside updating durable handoff documentation
3 of 3 safety checks passed
When a Claude Code session approaches context-window limits and performs context compaction (manual /compact or automatic), the agent must balance information density with continuity. This skill defines what to preserve and what to discard.
The compact summary is a sketch, not a replacement for durable state. If the project has a session-handoff.md, PROGRESS.md, CHANGELOG.md, or equivalent living documentation, those files remain the source of truth. The compacted context is temporary and lossy — it buys context space in the current session, but it does not eliminate the need to maintain formal handoff documents for the next session.
If compaction is being used to work around missing handoff documentation, that is a symptom — fix the root cause (write the missing session-handoff.md or PROGRESS.md) rather than relying on compaction to carry state.
/compact command during an active sessionBefore finalizing a compact summary, ask:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.