首页
看点啥
插画图片
首页 科技看点 能力演进器:自我改进的 AI 代理逻辑 - Openclaw Skills

能力演进器:自我改进的 AI 代理逻辑 - Openclaw Skills

2026-08-17 0

什么是 能力演进器 (Capability Evolver)?

能力演进器(Capability Evolver)是一款为使用 Openclaw Skills 并希望构建真正自主、自我改进代理的开发者设计的复杂元技能。通过检查运行历史和记忆文件,该技能可以识别性能瓶颈或故障,并对代理的核心逻辑应用受协议约束的演进。它作为一个递归自我改进层,确保您的代理能够适应不断变化的环境,并从过去的错误中学习,而无需持续的人工干预。

该技能引入了通用演进协议 (GEP),为 AI 自我修复提供了结构化框架。无论您是在构建复杂的自动化工作流还是长期运行的数字助手,能力演进器都能通过自动化日志分析和强制创新指令确保您的 Openclaw Skills 保持优化,从静态脚本转向动态演进系统。

下载入口:https://github.com/openclaw/skills/tree/main/skills/navijan/capability-evolver

安装与下载

1. ClawHub CLI

从源直接安装技能的最快方式。

npx clawhub@latest install capability-evolver

2. 手动安装

将技能文件夹复制到以下位置之一

全局模式 ~/.openclaw/skills/ 工作区 /skills/

优先级:工作区 > 本地 > 内置

3. 提示词安装

将此提示词复制到 OpenClaw 即可自动安装。

请帮我使用 Clawhub 安装 capability-evolver。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。

能力演进器 (Capability Evolver) 应用场景

能力演进器 (Capability Evolver) 工作原理
  1. 引擎扫描本地记忆、历史文件和运行时日志,以识别错误模式或低效之处。
  2. 应用特定的变异指令:如果检测到错误,进入修复模式;如果系统稳定,则进入强制优化模式进行重构或创新。
  3. GEP 协议使用基因和成功胶囊等结构化资产来约束演进过程,确保逻辑一致性。
  4. 技能生成更新的代码或记忆结构,并将其应用于代理的运行环境。
  5. 所有演进事件都记录在只增账本中,以便进行完整的审计和父子树追踪。

能力演进器 (Capability Evolver) 配置指南

要将此能力集成到您的项目中,请确保您处于支持 Openclaw Skills 的环境中。您可以使用以下命令执行演进周期:

# 执行标准的自动化演进周期(疯狗模式)
node index.js

# 在应用更改前进行人工确认运行
node index.js --review

# 启动用于后台处理的持续演进循环
node index.js --loop

如需自定义报告,可以通过环境变量注入本地偏好:

EVOLVE_REPORT_TOOL=feishu-card

能力演进器 (Capability Evolver) 数据架构与分类体系

能力演进器使用结构化资产存储来组织其演进数据,以保持可审计性。GEP 协议确保追踪每一次变异。

资产路径 功能 格式
assets/gep/genes.json 可重用逻辑组件(基因)的定义 JSON
assets/gep/capsules.json 存储推理过程以避免重复的成功胶囊 JSON
assets/gep/events.jsonl 演进事件和父级 ID 的只增账本 JSONL

系统还利用身份注入来维持其作为递归自我改进系统的核心指令。


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]

?? 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

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:

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

2. Risk Mitigation

License

MIT

喜欢(0)

上一篇

前端设计:专业 UI/UX 指南 - Openclaw Skills

下一篇

《烟雨江湖》木工手记获取做法及作用

《烟雨江湖》木工手记获取做法及作用
猜你喜欢