context-optimization
Installation
SKILL.md
Context Optimization
Manages the finite context window of AI-assisted engineering sessions through strategic information loading, token budgeting, and progressive context expansion — maximizing the quality of AI output per token invested.
Guiding Principle
"Context is not unlimited. Treat every token like a dollar — invest it where the return is highest."
Procedure
Step 1 — Audit Available Context
- Estimate the total context window size and current utilization.
- Inventory all loaded context: system prompts, CLAUDE.md, conversation history, tool results.
- Identify the highest-value context for the current task (directly relevant files, references).
- Identify low-value context consuming tokens (boilerplate, verbose logs, irrelevant history).
- Calculate the remaining context budget for task execution.