skills$openclaw/capability-evolver
autogame-172.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.

2.0k stars1.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namecapability-evolver
descriptionA self-evolution engine for AI agents. Analyzes runtime history to identify improvements and introduces randomized "mutations" to break local optima. OpenClaw Skills integration.
ownerautogame-17
repositoryautogame-17/evolver
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @autogame-17/evolver
last updatedFeb 7, 2026

Maintainer

autogame-17

autogame-17

Maintains capability-evolver in the OpenClaw Skills directory.

View GitHub profile
File Explorer
15 files
.
_meta.json
282 B
ADL.md
1.1 KB
analyze_by_skill.js
4.7 KB
evolve.js
23.3 KB
export_history.js
3.2 KB
extract_log.js
3.9 KB
generate_history.js
2.4 KB
human_report.js
5.8 KB
index.js
2.5 KB
package.json
445 B
README_CN.md
2.0 KB
README.md
2.0 KB
SKILL.md
2.7 KB
TREE.md
1.7 KB
VFM.md
989 B
SKILL.md

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 (or node 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 --review for sensitive environments.
  • Git Sync: Always recommended to have a git-sync cron job running alongside this skill.

πŸ“œ License

MIT

README.md

🧬 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-sync or feishu-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 VarDescriptionDefault
EVOLVE_REPORT_TOOLTool to use for reporting (e.g., feishu-card)message
MEMORY_DIRPath to agent memory../../memory

πŸ›‘οΈ Safety Protocols

  1. Single Process: The evolver cannot spawn child evolvers (prevents fork bombs).
  2. Stabilization: If recent errors are high, it forces a Repair Mutation (bug fixing) instead of innovation.
  3. 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.