关于
The Context Optimizer skill provides a unified interface for sophisticated context engineering, designed to keep Claude-based agents efficient and accurate during long-running tasks. It implements a comprehensive 'Four-Bucket Framework'—Write, Select, Compress, and Isolate—to prevent context degradation and the 'lost-in-the-middle' effect. By automating compression techniques like observation masking and summarization, managing KV-cache stability, and maintaining persistent session states via a structured directory, it ensures the agent maintains high performance and lower API costs even as context windows fill up.