3 weeks of OpenClaw: token costs, loops, and compaction — lessons from the trenches

A developer on r/openclaw shared hard-won lessons after three weeks with OpenClaw. The post covers five major pain points and their fixes — practical advice for anyone stuck in the agent-configuration grind.
Don't use Opus for everything
The biggest money waste: running Opus on trivial tasks like heartbeat checks and cron pings. The user switched to glm-5.1 for routine work and only uses sonnet 4.6 for tasks that require reasoning. This cut token costs by roughly two-thirds.
Agents loop and forget by default
Out-of-the-box agents loop, forget decisions, and ask bizarre questions. The fix: write custom rules including anti-loop instructions, context summaries, and verification steps that make the agent confirm its actions before asking for more input. The user emphasizes this is tedious but essential — it's what separates a working agent from a broken one.
Start small, add features one at a time
Trying to wire up email, WhatsApp, web scraping, and cron simultaneously broke everything. The user backed up, started with email summaries only, got that solid, then added each feature incrementally. Obvious advice, but easy to ignore when excited.
Compaction destroys long-term context
OpenClaw's context compaction gradually erases decisions made days ago. Workaround: dump important info into workspace docs, maintain decision logs, and feed the agent reference material before each session. It's annoying but makes a night-and-day difference in agent memory.
Consider Autoclaw for setup if not technical
For users overwhelmed by initial configuration, Autoclaw offers a one-click installer with preloaded skills. The user found it helpful to avoid fighting with installation issues.
The user's final warning: those “my agent built a full app overnight” posts come from people who spent weeks tuning their config first. Don't compare your day three to their month three.
📖 Read the full source: r/openclaw
👀 See Also

Running a Fully Local AI Agent on a 6GB VRAM Laptop: A Step-by-Step Guide for Students
Explore how students can leverage 6GB VRAM laptops to run AI agents locally, without relying on costly APIs. Our guide breaks down essential steps and tools.

Top 5 Not-So-Obvious Agent Skills for Frontend Developers Using Claude AI
A frontend developer shares 5 specific Skills for Claude AI agents that improve productivity and code quality: Playwright, Advanced Types for TypeScript, LyteNyte Grid, Tailwind CSS Patterns, and PNPM Skills.

Practical Strategies to Avoid Claude Rate Limits on $200 Max Plan
A developer shares specific techniques that have prevented throttling on Claude's $200 max plan for over a month, including SQLite database queries, context handoff systems, and strategic hardware deployment.

OpenClaw v2026.3.13 adds per-agent cacheRetention config for OpenAI token cost savings
OpenClaw v2026.3.13 adds per-agent cacheRetention configuration that enables OpenAI's 24-hour prompt cache retention, potentially cutting input token costs by up to 90% for agents with heartbeat cycles longer than 10 minutes.