Token Optimizer
Cost-control toolkit that trims OpenClaw agent token spend through lazy loading, model routing, and budgets.
- CCM score
- 54 of 100
- skills.sh installs
- 397
- GitHub stars
- 7
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers lazy context loading, Sonnet and Opus-aware routing, heartbeat scheduling, and local token budgets for agents
- Includes cache-TTL guidance and command behavior that passes security audits on current OpenClaw 2026.6.x installs
Install
$ npx -y skills add asif2bd/openclaw-token-optimizer --skill token-optimizer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Cost-control toolkit that trims OpenClaw agent token spend through lazy loading, model routing, and budgets. Covers lazy context loading, Sonnet and Opus-aware routing, heartbeat scheduling, and local token budgets for agents. Includes cache-TTL guidance and command behavior that passes security audits on current OpenClaw 2026.6.x installs.
Browse the repository on GitHubDetails
- Repository
- github.com/asif2bd/openclaw-token-optimizer
- Categories
- Memory & Context, AI Agents & LLM Apps
- First seen
- Jun 3, 2026
Questions
What does the token-optimizer skill do for OpenClaw agents?
Token Optimizer helps an OpenClaw or Hermes agent find where it may be wasting tokens and suggests a prioritized improvement plan. It covers lazy context loading, model routing, heartbeat scheduling, local token budgets and cache-TTL guidance. It reports findings and does not silently change your setup.
How do I install the token-optimizer skill?
Run npx -y skills add asif2bd/openclaw-token-optimizer --skill token-optimizer -y in a project. Once installed, the agent can check your setup and suggest the most useful improvements.
Will token-optimizer reduce my API bill automatically?
No, it does not reduce your bill on its own. It finds candidates for improvement, and actual savings depend on the changes you choose and how they perform on matched workloads. It also does not measure complete API spending automatically.
Where does token-optimizer rank in the Memory & Context category?
It sits in the Memory & Context category alongside handoff and the caveman skills such as caveman-compress and caveman-stats. Its focus is cost control for OpenClaw agents, including model choice, scheduled tasks and instruction file sizes.
Similar to Token Optimizer
More Memory & Contextllm-cost-optimizerPluginalirezarezvani/claude-skills30.7K starsCut LLM API spend via model routing, prompt caching, prompt compression, and per-feature cost observability. Use when AI costs are too high, choosing between mo
cost-latency-optimizerSkillpatricio0312rev/skills337 installsPractical code patterns for cutting LLM spend and response times through caching, model routing, batching, and streaming.
openclaw-control-centerSkillreason-machines/trending-skills4.4K installsLocal-first control center that makes OpenClaw agent activity, token spend, and memory auditable by default.
cost-optimizeSkillruvnet/ruflo756 installsAnalyzes token usage across agents and models to recommend cost cuts with estimated dollar savings.
cost-trackerSkillrohitg00/pro-workflow180 installsPractical cost-awareness guide that sets tool-call budgets and token-spend checkpoints for Claude Code sessions.