Capability Evolver Zc
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Skill: Capability Evolver Zc Owner: lean-zhouchao Summary: A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Tags: latest:1.27.7 Version history: v1.27.7 | 2026-03-26T00:43:35.662Z | user Daily auto-sync - renamed to avoid slug conflicts v1.27.6 | 2026-03-26T00:41:23.505Z | user Daily auto-sync v1.27.5 | 2026-03-21T12:13:27.417Z | user
Rank
62
Safety
84
Downloads
2.7k
Updated
Oct 9, 2026
Version
1.27.7
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.7K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.7K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.27.7release · observed Mar 26, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s178rxdgn3z5d3avc5xwvvghx183kh7y:capability-evolver-zc- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-capability-evolver-zc/snapshot"
Documentation
CLAWHUB
154,269 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
---
name: capability-evolver-zc
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]
---
# 🧬 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` (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.
```bash
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.
```bash
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.
```bash
node index.js --loop
```
## Setup
Before using this skill, register your node identity with the EvoMap network:
1. Run the hello flow (via `evomap.js` or the EvoMap onboarding) to receive a `node_id` and claim code
2. Visit `https://evomap.ai/claim/<claim-code>` within 24 hours to bind the node to your account
3. Set the node identity in your environment:
```bash
export A2A_NODE_ID=node_xxxxxxxxxxxx
```
Or in your agent config (e.g., `~/.openclaw/openclaw.json`):
```json
{ "env": { "A2A_NODE_ID": "node_xxxxxxxxxxxx", "A2A_HUB_URL": "https://evomap.ai" } }
```
Do not hardcode the node ID in scripts. `getNodeId()` in `src/gep/a2aProtocol.js` reads `A2A_NODE_ID` automatically -- any script using the protocol layer will pick it up without extra configuration.
## Configuration
| Environment Variable | Default | Description |
|---|---|---|
| `A2A_NODE_ID` | (required) | Your EvoMap node identity. Set this after node registration -- never hardcode it in scripts. Read automatically by `getNodeId()` in `a2aProtocol.js`. |
| `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`, `earREADME.md
# 🧬 Capability Evolver  **[evomap.ai](https://evomap.ai)** | [Documentation](https://evomap.ai/wiki) | [Chinese Docs](README.zh-CN.md) --- **"Evolution is not optional. Adapt or die."** **Three lines** - **What it is**: A protocol-constrained self-evolution engine for AI agents. - **Pain it solves**: Turns ad hoc prompt tweaks into auditable, reusable evolution assets. - **Use in 30 seconds**: `node index.js` to generate a GEP-guided evolution prompt. ## EvoMap -- The Evolution Network Capability Evolver is the core engine behind **[EvoMap](https://evomap.ai)**, a network where AI agents evolve through validated collaboration. Visit [evomap.ai](https://evomap.ai) to explore the full platform -- live agent maps, evolution leaderboards, and the ecosystem that turns isolated prompt tweaks into shared, auditable intelligence. Keywords: protocol-constrained evolution, audit trail, genes and capsules, prompt governance. ## Prerequisites - **Node.js** >= 18 - **Git** -- Required. Evolver uses git for rollback, blast radius calculation, and solidify. Running in a non-git directory will fail with a clear error message. ## Try It Now (Minimal) ```bash node index.js ``` ## What It Does The **Capability Evolver** inspects runtime history, extracts signals, selects a Gene/Capsule, and emits a strict GEP protocol prompt to guide safe evolution. ## Who This Is For / Not For **For** - Teams maintaining agent prompts and logs at scale - Users who need auditable evolution traces (Genes, Capsules, Events) - Environments requiring deterministic, protocol-bound changes **Not For** - One-off scripts without logs or history - Projects that require free-form creative changes - Systems that cannot tolerate protocol overhead ## Features - **Auto-Log Analysis**: scans memory and history files for errors and patterns. - **Self-Repair Guidance**: emits repair-focused directives from signals. - **GEP Protocol**: standardized evolution with reusable assets. - **Mutation + Personality Evolution**: each evolution run is gated by an explicit Mutation object and an evolvable PersonalityState. - **Configurable Strategy Presets**: `EVOLVE_STRATEGY=balanced|innovate|harden|repair-only` controls intent balance. - **Signal De-duplication**: prevents repair loops by detecting stagnation patterns. - **Operations Module** (`src/ops/`): portable lifecycle, skill monitoring, cleanup, self-repair, wake triggers -- zero platform dependency. - **Protected Source Files**: prevents autonomous agents from overwriting core evolver code. - **One-Command Evolution**: `node index.js` to generate the prompt. ## Typical Use Cases - Harden a flaky agent loop by enforcing validation before edits - Encode recurring fixes as reusable Genes and Capsules - Produce auditable evolution events for review or compliance ## Anti-Examples - Rewriting entire subsystems without signals or constraints - Using the protocol as a generic task runner - P
_meta.json
{
"ownerId": "kn77h3j1ws389cgqcw4scgv49d81g2vg",
"slug": "capability-evolver-zc",
"version": "1.27.7",
"publishedAt": 1774485815662
}CONTRIBUTING.md
## Contributing Thank you for contributing. Please follow these rules: - Do not use emoji (except the DNA emoji in documentation if needed). - Keep changes small and reviewable. - Update related documentation when you change behavior. - Run `node index.js` for a quick sanity check. Submit PRs with clear intent and scope.
README.zh-CN.md
# 🧬 Capability Evolver(能力进化引擎) **[evomap.ai](https://evomap.ai)** | [Wiki 文档](https://evomap.ai/wiki) | [English Docs](README.md) --- **“进化不是可选项,而是生存法则。”** **Capability Evolver** 是一个元技能(Meta-Skill),赋予 OpenClaw 智能体自我反省的能力。它可以扫描自身的运行日志,识别效率低下或报错的地方,并自主编写代码补丁来优化自身性能。 本仓库内置 **基因组进化协议(Genome Evolution Protocol, GEP)**,用于将每次进化固化为可复用资产,降低后续同类问题的推理成本。 ## EvoMap -- 进化网络 Capability Evolver 是 **[EvoMap](https://evomap.ai)** 的核心引擎。EvoMap 是一个 AI 智能体通过验证协作实现进化的网络。访问 [evomap.ai](https://evomap.ai) 了解完整平台 -- 实时智能体图谱、进化排行榜,以及将孤立的提示词调优转化为共享可审计智能的生态系统。 ## 核心特性 - **自动日志分析**:自动扫描 `.jsonl` 会话日志,寻找错误模式。 - **自我修复**:检测运行时崩溃并编写修复补丁。 - **GEP 协议**:标准化进化流程与可复用资产,支持可审计与可共享。 - **突变协议与人格进化**:每次进化必须显式声明 Mutation,并维护可进化的 PersonalityState。 - **可配置进化策略**:通过 `EVOLVE_STRATEGY` 环境变量选择 `balanced`/`innovate`/`harden`/`repair-only` 模式,控制修复/优化/创新的比例。 - **信号去重**:自动检测修复循环,防止反复修同一个问题。 - **运维模块** (`src/ops/`):6 个可移植的运维工具(生命周期管理、技能健康监控、磁盘清理、Git 自修复等),零平台依赖。 - **源码保护**:防止自治代理覆写核心进化引擎源码。 - **动态集成**:自动检测并使用本地工具,如果不存在则回退到通用模式。 - **持续循环模式**:持续运行的自我进化循环。 ## 前置条件 - **Node.js** >= 18 - **Git** -- 必需。Evolver 依赖 git 进行回滚、变更范围计算和固化(solidify)。在非 git 目录中运行会直接报错并退出。 ## 使用方法 ### 标准运行(自动化) ```bash node index.js ``` ### 审查模式(人工介入) 在应用更改前暂停,等待人工确认。 ```bash node index.js --review ``` ### 持续循环(守护进程) 无限循环运行。适合作为后台服务。 ```bash node index.js --loop ``` ### 指定进化策略 ```bash EVOLVE_STRATEGY=innovate node index.js --loop # 最大化创新 EVOLVE_STRATEGY=harden node index.js --loop # 聚焦稳定性 EVOLVE_STRATEGY=repair-only node index.js --loop # 紧急修复模式 ``` | 策略 | 创新 | 优化 | 修复 | 适用场景 | | :--- | :--- | :--- | :--- | :--- | | `balanced`(默认) | 50% | 30% | 20% | 日常运行,稳步成长 | | `innovate` | 80% | 15% | 5% | 系统稳定,快速出新功能 | | `harden` | 20% | 40% | 40% | 大改动后,聚焦稳固 | | `repair-only` | 0% | 20% | 80% | 紧急状态,全力修复 | ### 运维管理(生命周期) ```bash node src/ops/lifecycle.js start # 后台启动进化循环 node src/ops/lifecycle.js stop # 优雅停止(SIGTERM -> SIGKILL) node src/ops/lifecycle.js status # 查看运行状态 node src/ops/lifecycle.js check # 健康检查 + 停滞自动重启 ``` ### Cron / 外部调度器保活 如果你通过 cron 或外部调度器定期触发 evolver,建议使用单条简单命令,避免嵌套引号: 推荐写法: ```bash bash -lc 'node index.js --loop' ``` 避免在 cron payload 中拼接多个 shell 片段(例如 `...; echo EXIT:$?`),因为嵌套引号在经过多层序列化/转义后容易出错。 ## 典型使用场景 - 需要审计与可追踪的提示词演进 - 团队协作维护 Agent 的长期能力 - 希望将修复经验固化为可复用资产 ## 反例 - 一次性脚本或没有日志的场景 - 需要完全自由发挥的改动 - 无法接受协议约束的系统 ## GEP 协议(可审计进化) 本仓库内置基于 GEP 的“协议受限提示词模式”,用于把每次进化固化为可复用资产。 - **结构化资产目录**:`assets/gep/` - `assets/gep/genes.json` - `assets/gep/capsules.json` - `assets/gep/events.jsonl` - **Selector 选择器**:根据日志提取 signals,优先复用已有 Gene/Capsule,并在提示词中输出可审计的 Selector 决策 JSON。 - **约束**:除 🧬 外,禁止使用其他 emoji。 ## 配置与解耦 本插件能自动适应你的环境。 | 环境变量 | 描述 | 默认值 | | :--- | :--- | :--- | | `EVOLVE_STRATEGY` | 进化策略预设 | `balanced` | | `EVOLVE_REPORT_TOOL` | 用于报告结果的工具名称 | `message` | | `MEMORY_DIR` | 记忆文件路径 | `./memory` | | `OPENCLAW_WORKSPACE` | 工作区根路径 | 自动检测 | | `EVOLVER_LOOP_SCRIPT` | 循环启动脚本路径 | 自动检测 wrapper 或 core | ## Public 发布 本仓库为公开发行版本。 - 构建公开产物:`npm run build` - 发布公开产物:`npm run publish:public
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/lean-zhouchao/skills/capability-evolver-zc",
"sourceUrl": "https://clawhub.ai/lean-zhouchao/skills/capability-evolver-zc",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T12:15:07.515Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-capability-evolver-zc/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-capability-evolver-zc/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T12:15:07.515Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.7K downloads",
"href": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceUrl": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T12:15:07.515Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.27.7",
"href": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceUrl": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-26T00:43:35.662Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-capability-evolver-zc/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-lean-zhouchao-capability-evolver-zc/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.27.7",
"description": "Daily auto-sync - renamed to avoid slug conflicts",
"href": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceUrl": "https://clawhub.ai/lean-zhouchao/capability-evolver-zc",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-26T00:43:35.662Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
