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

OpenClaw: If Your Task Can't Survive a Restart, It's Still a Chat Session
A Reddit post argues that OpenClaw tasks relying on conversation history for state are not resumable. Store task identity, step, and approval state outside the transcript.

Claude Code Plugin Bug Causes Skills to Load Twice, Increasing Context Compaction
A bug in Claude Code causes plugins to load every skill twice due to stale cache directories and symlink duplication, significantly increasing system prompt size and triggering frequent context compaction. The source provides check scripts to identify the issue and fix scripts to remove stale plugin versions and duplicate symlinks.

Parallel Audit Agents: A Practical Approach to Vibe-Coded Testing with Claude
A developer built a user testing system with Claude using 10 parallel audit agents covering hallucination detection, API sentinel, UI stress testing, PII anonymization, SEO, legal compliance, behavioral simulation, demographic personas, funnel testing, and fact checking.

Using the Dispatcher Pattern to Reduce Claude API Costs by 95%
A developer reduced Claude API costs from $800-$2,000/month to $215/month by implementing a dispatcher pattern that delegates heavy work to Claude Code CLI on a $200/month Max subscription, with API overhead costing only $5-15/month.