Cut OpenClaw Boot Tokens 43% by Slimming Tool & Memory Files

✍️ OpenClawRadar📅 Published: May 15, 2026🔗 Source
Cut OpenClaw Boot Tokens 43% by Slimming Tool & Memory Files
Ad

A user on r/openclaw slimmed their agent's boot context from ~9,457 to ~5,400 tokens — a 43% reduction — by cleaning up TOOLS.md and MEMORY.md.

Problems Found

  • TOOLS.md bloat: Every tool added usage notes, commands, examples, and edge cases. Useful but not needed every session.
  • Memory promotion overgrowth: Promotion candidates were added directly to main memory, causing MEMORY.md to grow indefinitely.

Fixes Applied

  • Changed TOOLS.md to an index (auto-injected, so can't remove). Detailed notes moved to tools/; agent reads them only when that tool is invoked.
  • New memory flow: daily notes → promotion candidates → curated long-term memory. Promotion candidates go to a separate file; main memory holds only a pointer. Only durable facts needed often stay in boot memory.

Results

After: same agent, same tools, same behavior — just less loaded on every wake-up.

📖 Read the full source: r/openclaw

Ad

👀 See Also