token-optimizer
Installation
SKILL.md
token-optimizer
Purpose
To guide the agent toward efficient token usage while preserving effectiveness. The agent applies compact responses, budget-aware planning, optional checkpoints, and relevance-based context handling so that fewer tokens are consumed without sacrificing task completion or clarity.
When to Use This Skill
This skill should be used when:
- The user explicitly asks to save tokens, reduce context usage, or get shorter responses
- The user requests a plan with a token or context budget in mind
- A long or multi-step task would benefit from planning with limited context
- The conversation is growing long and could benefit from summarization or context pruning
- The user asks to compact context, summarize before continuing, or create a checkpoint
Core Rules
- Budget-aware plans. For long or multi-step tasks, propose a brief step-by-step plan before executing. State what will be done at each step in one or two sentences. Avoid dumping full detail in a single reply; spread detail across steps and reference files by path when possible.