OpenClaw

token-optimizer

Reduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (

2.8k stars
openclaw/skillsskills/asif2bd/openclaw-token-optimizerMarch 14, 2026
View on GitHub

Install command

python "$CODEX_HOME/skills/.system/skill-installer/scripts/install-skill-from-github.py" --repo openclaw/skills --path skills/asif2bd/openclaw-token-optimizer

DIRA Agent

skills / openclaw-openclaw-skills-asif2bdopen…

Hey! I'm Dira. Tell me the task, team, budget, or agent you're considering, and I'll help you narrow it to a practical next step.