When you're burning tokens on massive tool outputs or hitting context limits mid-task, this skill gives you the playbook: observation masking to replace verbose outputs with compact references, KV-cache optimization to maximize prefix reuse (70%+ hit rates mean real cost savings), compaction at 70% utilization, and context partitioning across sub-agents when a single window won't cut it. The source is thorough on trigger points and tradeoffs. The core insight is solid: most agent contexts are dominated by tool output bloat, and strategic masking plus caching beats throwing more tokens at the problem. Use this when token costs or context constraints are actively blocking you, not as preventive optimization.
npx -y skills add muratcankoylan/agent-skills-for-context-engineering --skill context-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
sickn33/antigravity-awesome-skills
moizibnyousaf/ai-agent-skills
github/awesome-copilot