context-optimization

Summarize and merge context segments to extend effective context windows.

11|1|Updated Jul 5, 2010
One-click install
npx skills add https://github.com/georgeguimaraes/dotfiles --skill context-optimization-georgeguimaraes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-optimization
Source: https://github.com/georgeguimaraes/dotfiles/tree/main/dot_claude/skills/context-engineering/context-optimization
Command: npx skills add https://github.com/georgeguimaraes/dotfiles --skill context-optimization-georgeguimaraes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill extends the effective context window with strategies like compaction, observation masking, KV-cache optimization, and context partitioning to improve performance on long-running tasks.

Core Features & Use Cases

  • Compaction: summarize and merge context segments to preserve key signals.
  • Observation Masking: replace verbose outputs with compact references to save tokens.
  • KV-Cache Optimization: maximize cache hits to reduce repeated computation.
  • Context Partitioning: split work across sub-agents to isolate context.
  • Practical guidance and patterns for production usage.

Quick Start

Use the compaction utilities to summarize a long content span and merge with existing summary.