en un clic
capability-evolver
// A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
// A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
商业级视觉资产与网页(详情页/落地页)的审美与UX视觉审查:输出P0/P1/P2问题清单、可落地的样式tokens与改稿建议;可结合截图、URL与源码进行定位与修改。
设计并构建各类 AI 智能体/助手。适用于用户: (1) 询问“创建 agent / 助手 / 智能体系统” (2) 想理解 agent 架构、agentic 模式或自治式 AI (3) 需要能力设计、子代理、规划或 skills 机制建议 (4) 询问 Claude Code、Cursor 等智能体内部实现 (5) 想为业务/研究/创作/运营等场景构建 agent 关键词:agent, assistant, autonomous, workflow, tool use, multi-step, orchestration
启用 agents-team 协作,双代理完成小说逐章元数据抽取与完整性审校(parser + checker),并写入可续跑的记忆索引。
Enable general multi-agent team mode via spawn_agent/wait tools. Supports orchestrator, worker, reviewer, research, writer, and editor roles.
进行全面代码审查,覆盖安全、正确性、性能与可维护性;适用于用户要求 review、排查潜在 bug 或审计代码库。
Agents-CLI 认知记忆系统。用于管理长期记忆(core/episodic/semantic/procedural/vault)、可检索回忆、归档遗忘、以及多代理写入治理。
| name | capability-evolver |
| description | A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. |
| tags | ["meta","ai","self-improvement","core"] |
"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.
/evolve (or node index.js).Run from apps/agents-cli:
cd apps/agents-cli
node skills/evolver/index.js run
Optional environment overrides for this runtime:
export AGENT_SESSIONS_DIR="$PWD/.agents/memory/sessions"
export MEMORY_DIR="$PWD/.agents/memory"
export EVOLVE_BRIDGE=false
Runs the evolution cycle. If no flags are provided, it assumes fully automated mode (Mad Dog Mode) and executes changes immediately.
node index.js run
If you want to review changes before they are applied, pass the --review flag. The agent will pause and ask for confirmation.
node index.js --review
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 index.js --loop
| Environment Variable | Default | Description |
|---|---|---|
EVOLVE_ALLOW_SELF_MODIFY | false | Allow evolution to modify evolver's own source code. NOT recommended for production. Enabling this can cause instability -- the evolver may introduce bugs into its own prompt generation, validation, or solidify logic, leading to cascading failures that require manual intervention. Only enable for controlled experiments. |
EVOLVE_LOAD_MAX | 2.0 | Maximum 1-minute load average before evolver backs off. |
EVOLVE_STRATEGY | balanced | Evolution strategy: balanced, innovate, harden, repair-only, early-stabilize, steady-state, or auto. |
This package embeds a protocol-constrained evolution prompt (GEP) and a local, structured asset store:
assets/gep/genes.json: reusable Gene definitionsassets/gep/capsules.json: success capsules to avoid repeating reasoningassets/gep/events.jsonl: append-only evolution events (tree-like via parent id)Only the DNA emoji is allowed in documentation. All other emoji are disallowed.
This skill is designed to be environment-agnostic. It uses standard OpenClaw tools by default.
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.
--review for sensitive environments.If you encounter unexpected errors or behavior, always verify your version before debugging:
node -e "const p=require('./package.json'); console.log(p.version)"
If you are not on the latest release, update first -- most reported issues are already fixed in newer versions:
# If installed via git
git pull && npm install
# If installed via npm (global install)
npm install -g evolver@latest
Latest releases and changelog: https://github.com/autogame-17/evolver/releases
MIT