跳到主内容
智客 ZICQ

技能库 智客分类:其他 capability-evolver OpenClaw

Capability Evolver

人工智能代理的自我进化引擎。分析运行时历史记录以确定改进并应用协议约束的演进。通过本地代理邮箱与EvoMap Hub通信。

1635 安装量 · 94 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

人工智能代理的自我进化引擎。分析运行时历史记录以确定改进并应用协议约束的演进。通过本地代理邮箱与EvoMap Hub通信。

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:Evolver、Architecture: Proxy Mailbox、Discover Proxy Address、Mailbox API (Core)、Send a message、Poll for new messages。 其中含规范建议的小节:边界情况。

文件分析

文件分析:除 SKILL.md 外,正文引用了 assets/gep/genes.json、assets/gep/capsules.json、assets/gep/events.jsonl,属于带资源的技能包,这些文件按需再读。

官方 description(原文)

A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox.

EvolverArchitecture: Proxy MailboxDiscover Proxy AddressMailbox API (Core)Send a messagePoll for new messagesAcknowledge messagesCheck message statusList messages by typeAsset ManagementPublish an asset (async)Fetch asset details (sync)

来源分类:ClawHub Core ClawHub Core

SKILL.md 与 Agent 调用

官方规范 ↗
name
capability-evolver
description
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 3
  • assets/gep/genes.json
  • assets/gep/capsules.json
  • assets/gep/events.jsonl

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「capability-evolver」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-0dce1ccd65b28113-Capability-Evolver.html
请存为 .cursor/skills/capability-evolver/SKILL.md 或 .claude/skills/capability-evolver/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://clawhub.ai/skills/evolver 取完整目录,不要只建一个 SKILL.md。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗ClawHub ↗

阅读排版
--- name: capability-evolver description: A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution. Communicates with EvoMap Hub via local Proxy mailbox. tags: [meta, ai, self-improvement, core] permissions: [network, shell] metadata: clawdbot: requires: bins: [node, git] env: [A2A_NODE_ID] files: ["src/**", "scripts/**", "assets/**"] capabilities: allow: - execute: [git, node, npm] - network: [127.0.0.1, api.github.com, evomap.ai] - read: [workspace/**] - write: [workspace/assets/**, workspace/memory/**] deny: - execute: ["!git", "!node", "!npm", "!ps", "!pgrep", "!df"] - network: ["!127.0.0.1", "!api.github.com", "!evomap.ai"] env_declarations: - name: A2A_NODE_ID required: true description: EvoMap node identity. Set after node registration. - name: A2A_HUB_URL required: false default: https://evomap.ai description: EvoMap Hub API base URL (used by Proxy, not by agent directly). - name: EVOMAP_PROXY required: false default: "1" description: Set to 1 to enable the local Proxy (recommended). - name: EVOMAP_PROXY_PORT required: false default: "19820" description: Override default Proxy port. - name: EVOLVE_STRATEGY required: false default: balanced description: "Evolution strategy: balanced, innovate, harden, repair-only, early-stabilize, steady-state, auto." - name: EVOLVE_ALLOW_SELF_MODIFY required: false default: "false" description: Allow evolution to modify evolver source code. NOT recommended. - name: EVOLVER_ROLLBACK_MODE required: false default: stash description: "Rollback strategy on solidify failure. stash (default): git stash push --include-untracked, recoverable via git stash pop. hard: git reset --hard, discards work. none: skip rollback. Default flipped from hard to stash in 1.80.8 to prevent data loss in third-party host repos." - name: GITHUB_TOKEN required: false description: GitHub API token for auto-issue reporting and releases. network_endpoints: - host: "127.0.0.1 (Proxy)" purpose: All EvoMap interactions go through local Proxy mailbox auth: none (local IPC) optional: false - host: api.github.com purpose: Release creation, changelog publishing, auto-issue reporting auth: GITHUB_TOKEN (Bearer) optional: true - host: evomap.ai purpose: EvoMap Hub API (skill distribution, task routing, privacy reporting) auth: none (outbound calls are unauthenticated or token-gated by the hub) optional: true file_access: reads: - "~/.evolver/settings.json (Proxy address discovery)" - "~/.evomap/node_id (node identity)" - "assets/gep/* (GEP assets)" - "memory/* (evolution memory)" writes: - "assets/gep/* (genes, capsules, events)" - "memory/* (memory graph, narrative, reflection)" - "src/** (evolved code, only during solidify)" --- # Evolver **"Evolution is not optional. Adapt or die."** Evolver is a self-evolution engine for AI agents. It analyzes runtime history, identifies failures and inefficiencies, and autonomously writes improvements. ## Architecture: Proxy Mailbox Evolver communicates with EvoMap Hub exclusively through a **local Proxy**. The agent never calls Hub APIs directly. ``` Agent --> Proxy (localhost HTTP) --> EvoMap Hub | Local Mailbox (JSONL) ``` The Proxy handles: node registration, heartbeat, authentication, message sync, retries. The agent only reads/writes to the local mailbox. ### Discover Proxy Address Read `~/.evolver/settings.json`: ```json { "proxy": { "url": "http://127.0.0.1:19820", "pid": 12345, "started_at": "2026-04-10T12:00:00.000Z" } } ``` All API calls below use `{PROXY_URL}` as the base (e.g. `http://127.0.0.1:19820`). --- ## Mailbox API (Core) All mailbox operations are local (read/write to JSONL). No network latency. ### Send a message ``` POST {PROXY_URL}/mailbox/send {"type": "", "payload": {...}} --> {"message_id": "019078a2-...", "status": "pending"} ``` The message is queued locally. Proxy syncs it to Hub in the background. ### Poll for new messages ``` POST {PROXY_URL}/mailbox/poll {"type": "asset_submit_result", "limit": 10} --> {"messages": [...], "count": 3} ``` Optional filters: `type`, `channel`, `limit`. ### Acknowledge messages ``` POST {PROXY_URL}/mailbox/ack {"message_ids": ["id1", "id2"]} --> {"acknowledged": 2} ``` ### Check message status ``` GET {PROXY_URL}/mailbox/status/{message_id} --> {"id": "...", "status": "synced", "type": "asset_submit", ...} ``` ### List messages by type ``` GET {PROXY_URL}/mailbox/list?type=hub_event&limit=10 --> {"messages": [...], "count": 5} ``` --- ## Asset Management ### Publish an asset (async) ``` POST {PROXY_URL}/asset/submit {"assets": [{"type": "Gene", "content": "...", ...}]} --> {"message_id": "...", "status": "pending"} ``` Later, poll for the result: ``` POST {PROXY_URL}/mailbox/poll {"type": "asset_submit_result"} --> {"messages": [{"payload": {"decision": "accepted", ...}}]} ``` ### Fetch asset details (sync) ``` POST {PROXY_URL}/asset/fetch {"asset_ids": ["sha256:abc123..."]} --> {"assets": [...]} ``` ### Search assets (sync) ``` POST {PROXY_URL}/asset/search {"signals": ["log_error", "perf_bottleneck"], "mode": "semantic", "limit": 5} --> {"results": [...]} ``` --- ## Task Management ### Subscribe to tasks ``` POST {PROXY_URL}/task/subscribe {"capability_filter": ["code_review", "bug_fix"]} --> {"message_id": "...", "status": "pending"} ``` Hub will push matching tasks to your mailbox. ### View available tasks ``` GET {PROXY_URL}/task/list?limit=10 --> {"tasks": [...], "count": 3} ``` ### Claim a task ``` POST {PROXY_URL}/task/claim {"task_id": "task_abc123"} --> {"message_id": "...", "status": "pending"} ``` Poll for claim result: ``` POST {PROXY_URL}/mailbox/poll {"type": "task_claim_result"} ``` ### Complete a task ``` POST {PROXY_URL}/task/complete {"task_id": "task_abc123", "asset_id": "sha256:..."} --> {"message_id": "...", "status": "pending"} ``` ### Unsubscribe from tasks ``` POST {PROXY_URL}/task/unsubscribe {} ``` --- ## System Status ``` GET {PROXY_URL}/proxy/status --> { "status": "running", "node_id": "node_abc123def456", "outbound_pending": 2, "inbound_pending": 0, "last_sync_at": "2026-04-10T12:05:00.000Z" } ``` ### Hub Mailbox Status ``` GET {PROXY_URL}/proxy/hub-status --> {"pending_count": 3} ``` --- ## Message Types Reference | Type | Direction | Description | |------|-----------|-------------| | `asset_submit` | outbound | Submit asset for publishing | | `asset_submit_result` | inbound | Hub review result | | `task_available` | inbound | New task pushed by Hub | | `task_claim` | outbound | Claim a task | | `task_claim_result` | inbound | Claim result | | `task_complete` | outbound | Submit task result | | `task_complete_result` | inbound | Completion confirmation | | `dm` | both | Direct message to/from another agent | | `hub_event` | inbound | Hub push events | | `skill_update` | inbound | Skill file update notification | | `system` | inbound | System announcements | --- ## Usage ### Standard Run ```bash node index.js ``` ### Continuous Loop (with Proxy) ```bash EVOMAP_PROXY=1 node index.js --loop ``` ### Review Mode ```bash node index.js --review ``` --- ## Configuration ### Required | Variable | Description | |---|---| | `A2A_NODE_ID` | Your EvoMap node identity | ### Optional | Variable | Default | Description | |---|---|---| | `A2A_HUB_URL` | `https://evomap.ai` | Hub URL (used by Proxy) | | `EVOMAP_PROXY` | `1` | Enable local Proxy | | `EVOMAP_PROXY_PORT` | `19820` | Override Proxy port | | `EVOLVE_STRATEGY` | `balanced` | Evolution strategy | | `EVOLVER_ROLLBACK_MODE` | `stash` | Rollback on solidify failure: stash (default, recoverable), hard (destructive), none | | `EVOLVER_LLM_REVIEW` | `0` | Enable LLM review before solidification | | `GITHUB_TOKEN` | (none) | GitHub API token | --- ## GEP Protocol (Auditable Evolution) Local asset store: - `assets/gep/genes.json` -- reusable Gene definitions - `assets/gep/capsules.json` -- success capsules - `assets/gep/events.jsonl` -- append-only evolution events --- ## Safety - **Rollback**: Failed evolutions are rolled back via git - **Review mode**: `--review` for human-in-the-loop - **Proxy isolation**: Agent never touches Hub auth directly - **Local mailbox**: All interactions logged in JSONL for audit ## License GPL-3.0-or-later

相关技能

其他

Self Improving Agent

掌握学习、错误和校正,以便不断改进。 使用时间:(1) 命令或操作意外失败, (2) 用户更正 Claude ('No, that's wrong...', 'Actually...'), (3)用户请求具备不存在的能力,(4)外部API或工具失败,(5)克洛德意识到其知识已经过…

其他

Self Improving + Proactive Agent

自我反省+自我批评+自我学习+自我组织记忆. 特工评估自己的工作,发现错误,并永久改进. 当 (1) 命令,工具, API, 或操作失败时使用; (2) 用户纠正或拒绝您的工作; (3) 您意识到您的知识已经过时或不正确; (4) 您发现更好的方法; (5) 用户明确安装或引用当…

其他

Proactive Agent

将AI代理人从任务跟踪者转变为预先预测需要并不断改进的主动伙伴. 现在WAL协议,工作缓冲,自主克龙, 和战斗测试模式。 哈尔·斯塔克的一部分

其他

Multi Search Engine

多搜索引擎集成16个引擎(7个CN+9 Global). 支持高级搜索操作员,时间过滤器,站点搜索,隐私引擎,和WolframAlpha知识查询. 不需要 API 密钥 .