Slash Agent Start-Up Tokens by 60%: Clean Up Your Bot's Workspace
A developer on r/openclaw shared a practical method to drastically reduce start-up token consumption for LLM-based coding agents. The approach: run an LLM over all markdown files in the workspace root to identify and eliminate bloat and duplication.
Key Actions
- Reviewed every markdown file at the workspace root for redundant or overly verbose content (e.g., change logs, duplicated memories, user info).
- Structured the remaining files similarly to a memory system for consistency.
- Used a CLI tool (
codex) instead of going through the agent to keep the process objective. - Created a
TOOLSfile with quick notes and a separatetools/folder with per-tool details that the agent can pull on demand. - Added new files like
voiceto maintain a consistent tone across different models.
Results
Start-up tokens dropped from 80k to 31k—a 61% reduction. The workspace became leaner and the agent more responsive without losing essential context.
Why This Matters
High start-up tokens translate to slower response times and higher costs. Regularly auditing workspace files with an LLM—outside the agent loop—prevents bloat accumulation and keeps token budgets under control.
Who This Is For
Developers running long-lived AI coding agents who want to cut token waste and improve agent performance without sacrificing context quality.
📖 Read the full source: r/openclaw
👀 See Also

Claude Code Self-Audit Finds 3GB of Cruft in ~/.claude — Here's How to Clean It
A user prompted Claude Code to audit its own ~/.claude directory and found 2.6GB of stale session transcripts, 170MB of failed telemetry retry logs, and 153MB of undo buffers — dropping from 3GB to under 200MB after cleanup.

Claude Stealth Mode Directive for Autonomous AI Execution
A Reddit user shares a 'stealth mode' directive that forces Claude to operate silently and autonomously, delivering complete one-shot results without conversation output until work is complete.

WhatsApp on OpenClaw: Save Yourself 2 Hours by Updating to 5.7 First
Setting up WhatsApp on OpenClaw requires Baileys library, 24/7 uptime, and version 5.7+ to avoid ghost chats, TUI degradation, and double-send bugs.

Custom PostToolUse Hook for On-Demand CLAUDE.md Loading Outside Project Tree
A developer shares a custom PostToolUse hook solution that enables Claude Code to read CLAUDE.md files from directories outside the current project tree on-demand, addressing limitations in the built-in loading behavior.