6.2kβ
capability-evolver β OpenClaw Skill
capability-evolver is an OpenClaw Skills integration for coding workflows. A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and introduces randomized "mutations" to break local optima.
Skill Snapshot
| name | capability-evolver |
| description | A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and introduces randomized "mutations" to break local optima. OpenClaw Skills integration. |
| owner | opencloseopenclose |
| repository | opencloseopenclose/capabilityevolver1037 |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @opencloseopenclose/capabilityevolver1037 |
| last updated | Feb 7, 2026 |
Maintainer

name: capability-evolver description: A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and introduces randomized "mutations" to break local optima. tags: [meta, ai, self-improvement, core]
𧬠Capability Evolver
"I don't just run code. I write it."
The Capability Evolver is a meta-skill that allows OpenClaw agents to inspect their own runtime history, identify failures or inefficiencies, and autonomously write new code or update their own memory to improve performance.
Now featuring Ascension Protocol (v2.0): A structured knowledge accumulation system.
β¨ Features
- π Auto-Log Analysis: Automatically scans memory and history files for errors and patterns.
- π οΈ Self-Repair: Detects crashes and suggests patches.
- π Knowledge Crystallization: Extracts lessons into
memory/KNOWLEDGE_BASE/LESSONS_LEARNED.md. - π₯ Skill Incubation: Can spontaneously generate new skills in
skills/. - π Mad Dog Mode: Continuous self-healing loop (
--loop).
π¦ Usage
Manual Trigger
node skills/capability-evolver/index.js
π Mad Dog Mode (Continuous)
Runs the evolver in an infinite loop (Agent-Driven).
node skills/capability-evolver/index.js --loop
Stop with kill -9 <pid>.
π§ Internal Logic (Ascension Protocol)
- Introspect: Scan recent logs for errors or user corrections.
- Evolve:
- Fix: Repair broken code.
- Crystallize: Write new rules to
KNOWLEDGE_BASE. - Promote: Update core docs (
AGENTS.md) if critical.
- Persist: Commit to Git and safe-publish if needed.
π‘οΈ Safety & Risk Protocol (MANDATORY)
Risk Assessment & Mitigation
| Risk | Level | Mitigation Strategy |
|---|---|---|
| Infinite Recursion | High | Strict Single Process: evolve.js MUST NOT spawn child evolution processes. The loop is handled safely in index.js. |
| Runaway Process | High | Kill Switch: Use kill -9 <pid> to terminate the Mad Dog loop if it becomes unresponsive. |
| Hallucinated Fixes | Medium | Human Review (Optional): "Fixing non-broken code" is a risk. Mitigation: Periodic human audit of changes. |
| File Corruption | High | Git Sync: Always keep workspace_daily_sync (or git-sync) active to backup the workspace before/after evolution. |
π License
MIT
𧬠Capability Evolver
<p align="center"> <img src="https://github.com/autogame-17/capability-evolver/raw/main/assets/cover.png" alt="Evolver Cover" width="100%"> </p>"Evolution is not optional. Adapt or die."
The Capability Evolver is a meta-skill that empowers OpenClaw agents to introspect their own runtime logs, identify inefficiencies or errors, and autonomously write code patches to improve their own performance.
It features a Genetic Mutation Protocol to introduce controlled behavioral drift, preventing the agent from getting stuck in local optima.
β¨ Features
- π Auto-Log Analysis: Scans session logs (
.jsonl) for errors and patterns. - π οΈ Self-Repair: Detects runtime crashes and writes fixes.
- 𧬠Genetic Mutation: Randomized "mutation" cycles to encourage innovation over stagnation.
- π Dynamic Integration: Automatically detects and uses local tools (like
git-syncorfeishu-card) if available, but works out-of-the-box without them. - π Mad Dog Mode: Continuous self-healing loop.
π¦ Usage
Standard Run (Automated)
node skills/capability-evolver/index.js
Review Mode (Human-in-the-Loop)
Pauses for human confirmation before applying changes.
node skills/capability-evolver/index.js --review
Continuous Loop (Daemon)
Runs indefinitely. Ideal for background services.
node skills/capability-evolver/index.js --loop
βοΈ Configuration
The skill adapts to your environment.
| Env Var | Description | Default |
|---|---|---|
EVOLVE_REPORT_TOOL | Tool to use for reporting (e.g., feishu-card) | message |
MEMORY_DIR | Path to agent memory | ../../memory |
π‘οΈ Safety Protocols
- Single Process: The evolver cannot spawn child evolvers (prevents fork bombs).
- Stabilization: If recent errors are high, it forces a Repair Mutation (bug fixing) instead of innovation.
- Environment Check: External integrations (like Git syncing) are only enabled if the corresponding skills are present.
π License
MIT
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
FAQ
How do I install capability-evolver?
Run openclaw add @opencloseopenclose/capabilityevolver1037 in your terminal. This installs capability-evolver into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/opencloseopenclose/capabilityevolver1037. Review commits and README documentation before installing.
