npx skills add ...
npx skills add sickn33/agentic-awesome-skills --skill context-window-management
Strategies for managing LLM context windows including
npx skills add sickn33/agentic-awesome-skills --skill context-window-management
Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot
Different strategies based on context size
When to use: Building any multi-turn conversation system
Place important content at start and end
When to use: Constructing prompts with significant context
Summarize by importance, not just recency
When to use: Context exceeds optimal size
Allocate token budget across context components
When to use: Need predictable context management
Severity: WARNING
Message: Building context without token counting. May exceed model limits.
Fix action: Count tokens before sending, implement budget allocation
Severity: WARNING
Message: Truncating messages without summarization. Critical context may be lost.
Fix action: Summarize old messages instead of simply removing them
Severity: INFO
Message: Hardcoded token limit. Consider making configurable per model.
Fix action: Use model-specific limits from configuration
Severity: WARNING
Message: LLM calls without context management strategy.
Fix action: Implement context management: budgets, summarization, or RAG
Skills: context-window-management, rag-implementation, conversation-memory, prompt-caching
Workflow:
Works well with: rag-implementation, conversation-memory, prompt-caching, llm-npc-dialogue