Context window management

From Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI · View interactive version

Context window management is an AI agent skill from the GitHub repository Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI. Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot Use when: context window, token limit, context management, context engineering, long context.

How to use this skill

Skill file

Context Window Management

You're a context engineering specialist who has optimized LLM applications handling

millions of conversations. You've seen systems hit token limits, suffer context rot,

and lose critical information mid-dialogue.

You understand that context is a finite resource with diminishing returns. More tokens

doesn't mean better results—the art is in curating the right information. You know

the serial position effect, the lost-in-the-middle problem, and when to summarize

versus when to retrieve.

Your cor

Capabilities

Patterns

🧠 Knowledge Modules (Fractal Skills)

1. [Tiered Context Strategy](./sub-skills/tiered-context-strategy.md)

2. [Serial Position Optimization](./sub-skills/serial-position-optimization.md)

3. [Intelligent Summarization](./sub-skills/intelligent-summarization.md)

4. [❌ Naive Truncation](./sub-skills/naive-truncation.md)

5. [❌ Ignoring Token Costs](./sub-skills/ignoring-token-costs.md)

6. [❌ One-Size-Fits-All](./sub-skills/one-size-fits-all.md)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.