A three-layer learning system that enables AI agents to learn from execution errors and automatically generate reusable skills from successful complex tasks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install haiqing-self-improving-agent
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install haiqing-self-improving-agent using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Self-Improving Agent v2 is a sophisticated learning framework for AI agents, inspired by the Hermes Agent "Do-Learn-Correct" loop. It transforms standard agent interactions into a persistent learning experience by capturing errors, corrections, and successful patterns. This skill ensures that your agent becomes progressively more efficient by using Openclaw Skills to build a personalized knowledge base and an automated library of custom-generated tools.
By implementing a three-layer system—passive capture, proactive checking, and proactive skill generation—this tool addresses the common problem of AI agents repeating the same mistakes. It moves beyond simple memory by actively proposing the creation of new, reusable skills whenever it detects a successful multi-step workflow or a recurring task pattern, significantly boosting long-term productivity.
To get started with the Self-Improving Agent and manage your Openclaw Skills, set up the directory structure and initialize the memory logs:
# Create the memory and skill generation directories
mkdir -p ~/.openclaw/memory/self-improving
mkdir -p ~/.openclaw/skills-generated
# Log an initial correction to test the system
python3 log_correction.py --topic "code style" --wrong "double quotes" --correct "single quotes"
# Verify memory before running commands
python3 check_memory.py --command "npm install"
The skill manages information using a structured taxonomy within the Openclaw Skills environment:
| File/Folder | Description | Format |
|---|---|---|
errors.jsonl |
Logs of failed commands, error messages, and successful fixes. | JSONL |
corrections.jsonl |
Tracks user-provided corrections regarding logic or style. | JSONL |
best_practices.jsonl |
Stores high-value shortcuts and optimal execution methods. | JSONL |
skills_registry.json |
A central registry for all auto-generated skills and their triggers. | JSON |
skills-generated/ |
The storage location for new SKILL.md files and executable scripts. | Directory |
Loading
A cloud-powered AI agent skill that automates multi-language subtitle generation and video captioning for content creators.

An expert Go-to-Market strategy consultant designed to transform new product features into high-impact sales, marketing, and communication materials.

A specialized AI skill that automates video speech transcription and cloud-based rendering for high-quality media production.

A specialized framework that enables AI coding agents to log errors, capture user corrections, and promote high-value insights into long-term project memory.

An intelligent sales script management and Telegram automation system featuring the professional JudyMoss AI persona.

An AI-powered video generation tool that transforms text prompts and static images into professional 1080p animations using cloud-based GPU processing.








































