OpenClaw Local AI Self-Heal: Fix Tool_Search, VRAM Tuning, and Master-Worker Routing
r/openclaw user w3rti ran OpenClaw against local LLMs across 8GB, 12GB, and now 64GB VRAM and hit a config trap worth checking: Tool_Search was silently off because OpenClaw didn't recognize the local model as a local LLM. With 50k tokens of prefill coming from skills against a 128k context window, that's a large chunk of the context budget wasted on every call.
What's actually breaking
- Tool_Search not active by default for local models. The reporter says it should be enabled, but detection failed, so it stayed off. First thing to verify on a local setup.
- Prefill from skills is huge. 50k of a 128k window used by skill context is ~39% of the budget before the model even sees the user prompt. Worth auditing.
- Smaller VRAM budget means less parallelism and less flexibility, not just lower tokens/sec. The reporter frames it as an aggregate throughput tradeoff, not a single benchmark.
- Benchmarking is slow. Download, install, connect, benchmark, reconfigure — the loop through candidate LLMs in OpenClaw takes a while.
The proposed self-heal flow
The idea: install OpenClaw bound to a remote LLM first, then run a system hardware check and benchmark, then let the tool tune the config automatically. Specific config knobs called out:
Tool_Searchon/off — must be explicitly verified on local models- System prompt size including tools, compared to actual context length — reporter suggests keeping tools+system under 50% of total context
cache_reusein llama.cpp — is it actually working?- A compaction self-test suite — is compaction actually triggering when context gets full?
Two-tier local routing
The architecture pitch: one local master brain plus a worker local LLM, and a remote gigabrain. The local master reviews prompt complexity and routes to whichever model is best suited — keeping token spend on the remote model down while preserving output quality for hard prompts. w3rti recalls a local_router-style skill existing for this, but doesn't link it. For the local tier, the argument is that the hardware sets a clear routing path you should tune once.
Also mentioned
The Odysseus cookbook does a hardware scan and suggests the best-fit LLM, which the reporter calls out as a nice pattern to copy for OpenClaw.
Open question from the thread: does anyone have a working local_router skill, and is a hardware-detection + benchmark-based config auto-tuner worth building into OpenClaw's setup flow? The thread is open for comments.
📖 Read the full source: r/openclaw
👀 See Also

Firefox Workaround for Claude.ai Freeze Issue Using Tampermonkey Script
A Reddit user shares a Tampermonkey script workaround for Firefox users experiencing freezes on Claude.ai. The script modifies Date.now() behavior to prevent timing conflicts that cause the interface to hang.

3 weeks of OpenClaw: token costs, loops, and compaction — lessons from the trenches
After burning tokens on heartbeat checks with Opus, fighting agent loops, and losing context to compaction, a Reddit user shares the hard-won fixes: use cheaper models for trivial tasks, write anti-loop rules, and save decision logs.

The Prompt Structure That Fixed Claude AI Summaries of Large PDF Reports
A developer shares how switching from 'summarize this' to role + decision + specific extraction prompts turned Claude's generic summary output into actionable risk flags and concrete action items.

How Claude Project Instructions Are Injected — And Why Changing Them Mid-Conversation Breaks History
Project Instructions and User Preferences are loaded into the system prompt at conversation start, not re-injected every turn. Changing them mid-conversation causes Claude to overwrite its memory of past instructions, leading to false recollections.