token-optimizer
SKILL.md
Token Optimizer Skill
This skill provides the procedural knowledge to keep your OpenClaw instance lean and efficient.
Quick Reference
| Problem | Solution |
|---|---|
| Background tasks bloating context | Cron isolation (sessionTarget: "isolated") |
| Reading entire history every turn | Local RAG with memory_search |
| Context exceeds 100k tokens | Reset & Summarize protocol |
| Finding old conversations | Session transcript indexing |
Workflow 1: Periodic Task Isolation
To prevent background tasks from bloating your main conversation context, always isolate them.