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

Get Emoji-Decorated Checklists in Claude by Adding One Line to CLAUDE.md
Add a one-line marker set to your user-level CLAUDE.md to make Claude decorate checklists with status emojis — 14 fixed icons for done, running, failed, blocked, etc.
Speed-Optimizing an OpenClaw Agent as a Home Control Plane
A developer shares how they're optimizing an OpenClaw agent for instant voice-controlled home automation, detailing latency bottlenecks and fast-path strategies.

Compaction Can’t Fix Context That Was Never in the Transcript: Diagnosing OpenClaw Context Overflows
A bug report reveals a common OpenClaw pitfall: when the system prompt alone exceeds the token budget, compaction—which only summarizes conversation history—cannot help. Use /context map and /context detail to find the real culprit.

Building a Process Layer on Top of Claude Code to Handle Context and Coordination
A team shares how they built a process layer over Claude Code that declares inputs/outputs per engineering step, reducing context loss across handoffs and enabling compounding productivity gains without relying on individual discipline.