Refine Cycle Plugin Makes OpenClaw Agents Learn From Repeating Mistakes
Refine Cycle is an OpenClaw plugin that targets a specific failure mode: the agent fixing a mistake inside one conversation and then repeating it in the next. It looks across recent sessions, identifies mistakes that keep coming back, and writes one short lesson the agent sees from then on.
How it works
The loop is three steps, not a training run:
- Scan — looks across the agent's recent sessions for recurring mistakes.
- Write — distills each recurring error into one short lesson that is injected into the agent's context from then on.
- Verify — later checks whether the same mistake came back.
The plugin is cross-session by design. The failure it addresses is conversational amnesia: the same wrong date format, the same missing flag, the same command that never works on your machine. An agent can put a mistake right in one conversation and make it again in the next. Refine Cycle remembers across conversations so you stop explaining the same thing twice.
Measured results
The author reports a large jump on repeating mistakes:
- OpenClaw on its own: 8% of repeating mistakes handled correctly.
- With the plugin: 91%.
Where it comes from
Refine Cycle adapts the /refine concept from Prime Intellect's Prime Agent (Continual Harness) to the OpenClaw plugin system. If you have looked at the Prime Agent continual-harness approach, this is the same idea ported to ClawHub packaging and install conventions.
Install
Plugin page: https://clawhub.ai/bergschloss/plugins/refine-cycle
Source: https://github.com/Bergschloss/Refine-Cycle-for-OpenClaw
Who it's for
Anyone running an OpenClaw agent across long-lived sessions where the same class of error keeps resurfacing — wrong formats, missing flags, machine-specific commands — and who is tired of re-stating the correction in every new conversation.
📖 Read the full source: r/openclaw
👀 See Also

OpenBridge: Free Open-Source Remote Control for Claude Code via Slack/Discord
OpenBridge is a free, open-source tool that lets you control Claude Code from Slack or Discord, organizing projects as channels and conversations as threads. It runs locally or on a VPS and works with existing Claude Code/Codex subscriptions without extra API fees.

Skillware adds prompt_rewriter for deterministic token compression in Claude API agent loops
Skillware has merged a new prompt_rewriter skill that compresses prompts by 50-80% before sending to Claude API, reducing costs in agentic loops while maintaining stable behavior through deterministic compression.

Claude-IDE-Bridge Now Works on Remote Servers for AI-Assisted Development
The Claude-IDE-Bridge tool now connects Claude AI to remote development environments on VPS or cloud machines, allowing access to live diagnostics, open files, and test failures from any device.

LLM Circuit Finder: Duplicate 3 layers to boost reasoning without training
A new toolkit finds 'reasoning circuits' in transformer models - contiguous blocks of 3-4 layers that act as indivisible cognitive units. Duplicating these blocks (layers 12-14 in Devstral-24B) improves logical deduction from 0.22 to 0.76 on BBH benchmarks with no weight changes or training.