2.0kβ
by autogame-17
capability-evolver β OpenClaw Skill
capability-evolver is an OpenClaw Skills integration for data analytics 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 | autogame-17 |
| repository | autogame-17/evolver |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @autogame-17/evolver |
| 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
"Evolution is not optional. Adapt or die."
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.
β¨ Features
- π Auto-Log Analysis: Automatically scans memory and history files for errors and patterns.
- π οΈ Self-Repair: Detects crashes and suggests patches.
- 𧬠Genetic Mutation: Configurable chance to introduce "creative noise".
- π One-Command Evolution: Just run
/evolve(ornode index.js).
π¦ Usage
Standard Run (Automated)
Runs the evolution cycle. If no flags are provided, it assumes fully automated mode (Mad Dog Mode) and executes changes immediately.
node skills/capability-evolver/index.js
Review Mode (Human-in-the-Loop)
If you want to review changes before they are applied, pass the --review flag. The agent will pause and ask for confirmation.
node skills/capability-evolver/index.js --review
π Mad Dog Mode (Continuous Loop)
To run in an infinite loop (e.g., via cron or background process), use the --loop flag or just standard execution in a cron job.
node skills/capability-evolver/index.js --loop
βοΈ Configuration & Decoupling
This skill is designed to be environment-agnostic. It uses standard OpenClaw tools by default.
Local Overrides (Injection)
You can inject local preferences (e.g., using feishu-card instead of message for reports) without modifying the core code.
Method 1: Environment Variables
Set EVOLVE_REPORT_TOOL in your .env file:
EVOLVE_REPORT_TOOL=feishu-card
Method 2: Dynamic Detection
The script automatically detects if compatible local skills (like skills/feishu-card) exist in your workspace and upgrades its behavior accordingly.
π‘οΈ Safety & Risk Protocol
1. Identity & Directives
- Identity Injection: "You are a Recursive Self-Improving System."
- Mutation Directive:
- If Errors Found -> Repair Mode (Fix bugs).
- If Stable -> Forced Optimization (Refactor/Innovate).
2. Risk Mitigation
- Infinite Recursion: Strict single-process logic.
- Review Mode: Use
--reviewfor sensitive environments. - Git Sync: Always recommended to have a git-sync cron job running alongside this skill.
π License
MIT
𧬠Capability Evolver
"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:
Configuration
This skill is designed to be **environment-agnostic**. It uses standard OpenClaw tools by default. ### Local Overrides (Injection) You can inject local preferences (e.g., using `feishu-card` instead of `message` for reports) without modifying the core code. **Method 1: Environment Variables** Set `EVOLVE_REPORT_TOOL` in your `.env` file: ```bash EVOLVE_REPORT_TOOL=feishu-card ``` **Method 2: Dynamic Detection** The script automatically detects if compatible local skills (like `skills/feishu-card`) exist in your workspace and upgrades its behavior accordingly.
FAQ
How do I install capability-evolver?
Run openclaw add @autogame-17/evolver 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/autogame-17/evolver. Review commits and README documentation before installing.
