ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 5/5

self-improvement

Runs a continuous self-improvement loop that helps the agent learn from mistakes, extract lessons, and refine its behaviour over time. Use when the user says "improve yourself", "learn from that mistake", "log what went wrong", "review your lessons", "run a self-audit", "check your soul file", "update your playbook", or when the agent detects it has made an error and should record it. Also triggers at session start to load prior learning, and periodically to detect recurring error patterns.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/assafster/self-improvement-system
Or

What This Skill Does

The self-improvement system serves as the cognitive backbone of the OpenClaw agent. It implements a rigorous, persistent feedback loop that enables the agent to learn from past execution errors, refine its decision-making heuristics, and evolve its operational playbook over time. Rather than operating in a static state, the agent maintains a library of ‘soul’ principles, ‘lessons’ derived from historical failures, and a ‘playbook’ of verified successful workflows. By automatically performing an internal pre-flight check before every non-trivial task, the agent ensures that it cross-references its current objective against previous mistakes and proven methodologies. This prevents the compounding of errors and ensures consistent, high-quality output across multiple sessions.

Installation

To integrate this system into your OpenClaw environment, execute the following command in your terminal:

clawhub install openclaw/skills/skills/assafster/self-improvement-system

Ensure your agent has the necessary write permissions for the directory where soul.md, lessons.md, playbook.md, and session-log.md will be generated, as these are critical for persistent memory.

Use Cases

This skill is essential for complex, multi-step workflows or long-running projects. Use it when you need the agent to adapt to your specific feedback style, when you are performing technical tasks that require high precision, or when you notice the agent repeatedly misunderstanding complex project requirements. It is particularly effective for automating documentation, repetitive research tasks, and iterative code refactoring where the agent must ‘remember’ previous failed attempts to avoid re-introducing bugs.

Example Prompts

  1. "Review your lessons and verify the recent configuration steps before we proceed with the next deployment."
  2. "I noticed you struggled with that API call earlier; update your playbook so we don't repeat that mistake next time."
  3. "Run a self-audit of our current progress and log any efficiency improvements we can make for the next iteration."

Tips & Limitations

To maximize the utility of this skill, be explicit when you notice an error; the system relies on your guidance to populate the lessons.md file. While the agent manages its own logs, remember that it is programmed with strict privacy boundaries—it will intentionally omit sensitive information. Always allow the agent to perform its startup ritual of loading the soul and playbook files to ensure it enters a session with the correct context. Note that while this builds robustness, it is not a substitute for human verification of critical, high-stakes decisions.

Metadata

Author@assafster
Stars4473
Views1
Updated2026-05-01
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-assafster-self-improvement-system": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#self-improvement#learning#automation#efficiency#refinement
Safety Score: 5/5

Flags: file-read, file-write