Token Reduction Skill
Analyze $ARGUMENTS for token optimization opportunities.
Strategies (by impact)
| Strategy | Savings | Apply |
|---|---|---|
| Concise responses | 89-91% | Always |
| Knowledge graph | 76-84% | Multi-session |
| Targeted reads | 33-44% | Large files |
| Parallel calls | 20% | Multi-step |
Process
- •Count tokens in target (tiktoken)
- •Identify waste patterns
- •Report:
Baseline → Optimized (X% saved) - •Recommend fixes
Anti-patterns flagged
- •Restating requests
- •Narrating tool usage
- •Reading entire files
- •Re-researching stored knowledge
Usage
code
/token-reduce src/app.tsx # File /token-reduce wallets/frontend # Directory /token-reduce # Conversation
Enforcement: .cursorrules + hooks | Analysis: this skill (on-demand)