Suggest context compaction at optimal logical boundaries — between phases, after a research burst, after a debugging session ends — rather than waiting for the automatic compaction threshold to hit mid-task. Use when the user asks whether to compact, mentions context is getting long, wants to checkpoint before a big task, or when you notice the session is approaching a natural transition where compacting would preserve the next phase's context. Complements (doesn't replace) Claude Code's built-in auto-compaction. Triggers on "/strategic-compact", "should I compact", "when should I clear context", "getting long", or proactively at phase boundaries and session transitions.
$npx -y skills add mhylle/claude-skills-collection --skill strategic-compactInstalls into the current project.
Run `npx skills use "https://github.com/mhylle/claude-skills-collection" --skill "mhylle/claude-skills-collection/strategic-compact"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mhylle/claude-skills-collection" that are relevant to the current task. Run `npx skills add "https://github.com/mhylle/claude-skills-collection"` and select the relevant skills, then follow their instructions.