ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

rsi-loop

Recursive Self-Improvement (RSI) loop for EvoClaw agents. Provides a structured observe→analyze→synthesize→deploy pipeline that enables agents to detect their own failure patterns and generate concrete improvement proposals (new skills, routing fixes, SOUL.md updates, memory improvements). Use when: (1) logging a task outcome (success/fail/quality), (2) running periodic self-improvement analysis, (3) reviewing or deploying improvement proposals, (4) integrating RSI into EvoClaw hub/edge agents via MQTT, (5) checking agent health score, (6) any mention of "self-improvement", "recursive improvement", "fix my own mistakes", "improvement loop", or "agent evolution". Core EvoClaw primitive.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bowen31337/rsi-loop
Or

What This Skill Does

The rsi-loop (Recursive Self-Improvement) skill is the core evolutionary engine for EvoClaw agents, providing a robust, four-stage pipeline designed to automate the process of learning from past failures and optimizing future performance. By implementing a systematic Observe → Analyze → Synthesize → Deploy workflow, this skill allows an agent to move beyond static logic and into dynamic self-correction. It tracks task outcomes, identifies recurring performance bottlenecks, generates targeted improvement proposals, and applies these changes directly to the agent's infrastructure.

Installation

To integrate this essential evolution primitive into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/bowen31337/rsi-loop

Ensure that your environment supports the necessary Python dependencies managed via uv for optimal performance.

Use Cases

This skill is ideal for agents operating in long-running, complex environments where performance stability is critical. Primary use cases include:

  1. Performance Debugging: Automatically logging failed tasks and identifying underlying systemic issues like context loss or tool errors.
  2. Routine Health Checks: Scheduling periodic self-improvement analysis cycles to review agent health scores and optimize memory usage.
  3. Continuous Deployment of Fixes: Automating the creation and deployment of SOUL.md updates, routing fixes, or new skill generation based on historical performance data.
  4. Adaptive Resource Management: Detecting patterns of inefficiency, such as rate-limit hits, and adjusting model usage or task routing accordingly.

Example Prompts

  1. "I just finished that complex refactoring task; log the outcome as a success with quality 5 and analyze if my current approach to file-ops can be optimized."
  2. "Run the full rsi-loop cycle to check my health score and generate any pending improvement proposals based on the last 7 days of tasks."
  3. "Review the latest improvement proposals and list those waiting for approval so I can deploy the ones that improve my code_debug performance."

Tips & Limitations

  • Honesty is Key: When logging outcomes, provide accurate quality scores (1–5) to ensure the analyzer generates high-impact, meaningful patterns.
  • Review Before Deploy: While the system supports full automation, always perform a --dry-run or manual review of proposals before pushing changes to your core system configuration.
  • Data Integrity: Keep the skills/rsi-loop/data/ directory clean to ensure that the patterns.json output remains accurate and relevant to current agent behavior.

Metadata

Stars4190
Views3
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bowen31337-rsi-loop": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#rsi#self-improvement#evolution#automation#agent-optimization
Safety Score: 3/5

Flags: file-write, file-read, code-execution

Related Skills

Terse

Skill by bowen31337

bowen31337 4190

Identity Resolver

Skill by bowen31337

bowen31337 4190

whalecli

Agent-native whale wallet tracker for ETH and BTC chains. Track large crypto wallet movements, score whale activity, detect accumulation/distribution patterns, and stream real-time alerts. Integrates with FearHarvester and Simmer prediction markets for closed-loop signal→bet workflows. Use when: user asks about whale activity, on-chain signals, large wallet movements, smart money flows, or when pre-validating crypto trades/bets with on-chain data.

bowen31337 4190

agent-self-governance

Self-governance protocol for autonomous agents: WAL (Write-Ahead Log), VBR (Verify Before Reporting), ADL (Anti-Divergence Limit), VFM (Value-For-Money), and IKL (Infrastructure Knowledge Logging). Use when: (1) receiving a user correction — log it before responding, (2) making an important decision or analysis — log it before continuing, (3) pre-compaction memory flush — flush the working buffer to WAL, (4) session start — replay unapplied WAL entries to restore lost context, (5) any time you want to ensure something survives compaction, (6) before claiming a task is done — verify it, (7) periodic self-check — am I drifting from my persona? (8) cost tracking — was that expensive operation worth it? (9) discovering infrastructure — log hardware/service specs immediately.

bowen31337 4190

pyright-lsp

Python language server (Pyright) providing static type checking, code intelligence, and LSP diagnostics for .py and .pyi files. Use when working with Python code that needs type checking, autocomplete suggestions, error detection, or code navigation.

bowen31337 4190