About
The Context Optimization skill provides a suite of advanced strategies to extend the effective context window of Claude by 2-3x without requiring larger models. By implementing intelligent compaction, observation masking for tool outputs, KV-cache optimization for stable prefixes, and sub-agent partitioning, this skill helps developers manage token budgets, reduce latency, and maintain high performance during complex, long-running tasks. It is essential for workflows where verbose tool outputs or long conversation histories threaten to exceed model limits or inflate operational costs.