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

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.mdto grow indefinitely.
Fixes Applied
- Changed
TOOLS.mdto an index (auto-injected, so can't remove). Detailed notes moved totools/; 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
👀 See Also

Model Routing Cut API Costs by 85% vs Claude Max Subscription – A Developer's Analysis
A Claude Max subscriber tracked token usage and found only 15% of tasks needed Opus. Switching to API routing (Sonnet for routine tasks, Opus for hard reasoning) dropped monthly cost from $200 to ~$30 with identical output quality.

Claude User Preferences: A Redditor's Setup for Concise, Critical Responses
A Redditor shares their Claude User Preferences tweaks to get less corporate, more critical responses. Includes tips to avoid repetition, start with conclusions, and simplify punctuation.

Workflow Memory Over Tooling: Why Context Loading Beats Giant Prompts
Instead of piling instructions into prompts, load workflow-specific checklists on demand — release checklist, hotfix rules, migration steps — and drop them when done.

Stable OpenClaw browser automation using Chrome remote debugging and Playwright
A developer reports success with Chrome's --remote-debugging-port=9222 flag and Playwright's chromium.connect_over_cdp() to maintain persistent browser sessions for OpenClaw, solving disconnection issues with the built-in browser and Chrome extension relay.