context-window-management

sickn33/antigravity-awesome-skills · updated Apr 26, 2026

$npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill context-window-management
0 commentsdiscussion
summary

Strategies for managing LLM context windows through summarization, trimming, routing, and prioritization.

  • Covers six core capabilities: context engineering, summarization, trimming, routing, token counting, and prioritization to prevent token limits and context rot
  • Implements tiered context strategies that adapt based on context size, and serial position optimization to place critical information at start and end of context
  • Avoids common anti-patterns including naive truncation, igno
skill.md

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

  • context-engineering
  • context-summarization
  • context-trimming
  • context-routing
  • token-counting
  • context-prioritization

Patterns

Tiered Context Strategy

Different strategies based on context size

Serial Position Optimization

Place important content at start and end

Intelligent Summarization

Summarize by importance, not just recency

Anti-Patterns

❌ Naive Truncation

❌ Ignoring Token Costs

❌ One-Size-Fits-All

Related Skills

Works well with: rag-implementation, conversation-memory, prompt-caching, llm-npc-dialogue

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.858 reviews
  • Shikha Mishra· Dec 12, 2024

    Registry listing for context-window-management matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Yuki Gill· Dec 12, 2024

    Solid pick for teams standardizing on skills: context-window-management is focused, and the summary matches what you get after install.

  • Arya Khan· Dec 12, 2024

    Useful defaults in context-window-management — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Zara Bhatia· Dec 8, 2024

    I recommend context-window-management for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Lucas Liu· Dec 4, 2024

    context-window-management reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Dev Liu· Nov 27, 2024

    context-window-management fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Yuki Ghosh· Nov 27, 2024

    Useful defaults in context-window-management — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Menon· Nov 23, 2024

    context-window-management is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Zara Bansal· Nov 3, 2024

    context-window-management has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Valentina Ndlovu· Nov 3, 2024

    I recommend context-window-management for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

showing 1-10 of 58

1 / 6