capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- capability-evolver
- tags
- [ "meta", "ai", "self-improvement", "core" ]
- description
- A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
02 资源文件 34
- 参考文档_meta.json1.8 KB
- 资产文件assets/gep/capsules.json37 B
- 资产文件assets/gep/genes.json2.2 KB
- 参考文档CONTRIBUTING.md327 B
- 脚本index.js3.4 KB
- 参考文档package.json686 B
- 参考文档README.md8.3 KB
- 参考文档README.zh-CN.md7.6 KB
- 脚本scripts/a2a_export.js760 B
- 脚本scripts/a2a_ingest.js1.7 KB
- 脚本scripts/a2a_promote.js3.3 KB
- 脚本scripts/analyze_by_skill.js4.7 KB
- 脚本scripts/build_public.js10.5 KB
- 脚本scripts/export_history.js3.3 KB
- 脚本scripts/extract_log.js2.5 KB
- 脚本scripts/generate_history.js2.5 KB
- 脚本scripts/gep_append_event.js3.0 KB
- 脚本scripts/gep_personality_report.js7.7 KB
- 脚本scripts/human_report.js5.7 KB
- 脚本scripts/publish_public.js18.2 KB
- 脚本scripts/suggest_version.js3.0 KB
- 脚本src/evolve.js35.9 KB
- 脚本src/gep/a2a.js5.0 KB
- 脚本src/gep/assetStore.js7.4 KB
- 脚本src/gep/bridge.js2.1 KB
- 脚本src/gep/candidates.js4.4 KB
- 脚本src/gep/memoryGraph.js26.8 KB
- 脚本src/gep/mutation.js5.4 KB
- 脚本src/gep/paths.js485 B
- 脚本src/gep/personality.js12.7 KB
- 脚本src/gep/prompt.js9.4 KB
- 脚本src/gep/selector.js4.6 KB
- 脚本src/gep/signals.js1.7 KB
- 脚本src/gep/solidify.js22.4 KB
03 SKILL.md 正文
? 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.
- GEP Protocol: Standardized evolution with reusable assets.
- 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 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 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 index.js --loop
GEP Protocol (Auditable Evolution)
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)
Emoji Policy
Only the DNA emoji is allowed in documentation. All other emoji are disallowed.
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
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.