Strategic Context Compression
Optimizes Claude Code performance by suggesting manual context compression at logical task boundaries instead of arbitrary automatic triggers.
Strategic Context Compression (strategic-compact) is a performance optimization system designed to manage large-scale sessions in Claude Code and other agentic environments. By tracking tool usage and identifying logical milestones—such as the transition from research to implementation—this skill provides proactive suggestions on when to utilize the /compact command. This ensures that vital project state, memory files, and task lists are preserved while discarding temporary reasoning and large file reads that cause context pressure. The result is a faster, more coherent AI agent that remains effective even during complex, multi-stage development cycles.