self-improving

Record self-reflections and user corrections into tiered local memory.

Updated May 4, 2026
One-click install
npx skills add https://github.com/234194027-cpu/xianclaw --skill self-improving-234194027-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-improving
Source: https://github.com/234194027-cpu/xianclaw/tree/main/resources/openclaw/config/skills/self-improving
Command: npx skills add https://github.com/234194027-cpu/xianclaw --skill self-improving-234194027-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of repeated agent mistakes and stagnant performance by capturing explicit corrections and self-reflections, then turning them into compounding preferences and workflows over time.

Core Features & Use Cases

  • Self-reflection learning loop: Records what went wrong and the lesson learned after significant work or feedback, then promotes useful patterns through a tiered memory system.
  • Self-criticism–driven memory: Stores confirmed preferences and active patterns in a local directory, scoped globally/domain/project, with a corrections log and a structured index.
  • Maintenance via heartbeat: Keeps memory tidy using conservative rules that avoid churn and protect confirmed knowledge, using heartbeat-state markers.

Quick Start

After you correct the agent or reject its output, ask it to proceed and let it log the correction, update self-improving memory, and apply the improved approach next time.

Frequently Asked Questions about self-improving

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop my agent from repeating the same mistakes across different sessions?

Agent memory persistence captures explicit corrections and self-reflections after task failures or rejections, storing them in a local tiered directory to prevent repeating mistakes across sessions.

How does self-criticism memory work for workflow optimization?

Self-criticism memory records what went wrong and the lesson learned after feedback, promoting useful patterns into confirmed preferences and active workflows through a structured local index.

Can I scope agent learning globally or restrict it to a specific project?

Yes, agent self-improvement memory is scoped across global, domain, and project levels, allowing you to restrict learned preferences and corrections to specific local contexts.

Do I need to manually trigger error recovery updates every time a task fails?

No, heartbeat maintenance uses conservative rules and heartbeat-state markers to decide when to process error recovery and update memory automatically, avoiding unnecessary memory churn.

What is the best way to apply user corrections to outdated agent knowledge?

The best way to apply user corrections is to reject the outdated output, ask the agent to proceed, and let it log the correction to update local memory for the next execution.

Are there limitations to local learning for agent memory maintenance?

Local learning memory protects confirmed knowledge using conservative heartbeat rules to avoid churn, meaning it prioritizes stable preference retention over aggressive or automatic knowledge overwrites.