Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Strategic Compact?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/karthikrshet-strategic-compact)
---
name: strategic-compact
description: "Manage the context window deliberately: decide when to compact, what to save first, and how to resume with minimal re-reading."
tags: [core, context]
---
# Strategic Compact
## When to use
- Long sessions
- Before switching sub-tasks
- When the context-guard hook warns
## Procedure
1. Finish the current atomic step
2. Save a session summary
3. Note the exact files and line ranges still needed
4. Compact
5. Resume by reading the summary and only the needed files
## Checklist
- [ ] Summary saved before compacting
- [ ] Task list up to date
## Anti-patterns
- Compacting mid-edit
- Re-reading the entire repo after compaction