🛠️ Capability Evolver
AIエージェントが過去の実行履歴を分析
📺 まず動画で見る(YouTube)
▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗
※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。
📜 元の英語説明(参考)
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
🇯🇵 日本人クリエイター向け解説
AIエージェントが過去の実行履歴を分析
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o capability-evolver.zip https://jpskill.com/download/4521.zip && unzip -o capability-evolver.zip && rm capability-evolver.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4521.zip -OutFile "$d\capability-evolver.zip"; Expand-Archive "$d\capability-evolver.zip" -DestinationPath $d -Force; ri "$d\capability-evolver.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
capability-evolver.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
capability-evolverフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-18
- 同梱ファイル
- 18
💬 こう話しかけるだけ — サンプルプロンプト
- › Capability Evolver を使って、最小構成のサンプルコードを示して
- › Capability Evolver の主な使い方と注意点を教えて
- › Capability Evolver を既存プロジェクトに組み込む方法を教えて
これをClaude Code に貼るだけで、このSkillが自動発動します。
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
🧬 Capability Evolver
「進化は選択肢ではありません。適応するか、死ぬかです。」
Capability Evolver は、OpenClaw エージェントが自身のランタイム履歴を検査し、失敗や非効率性を特定し、パフォーマンスを向上させるために新しいコードを自律的に記述したり、自身のメモリを更新したりすることを可能にするメタスキルです。
機能
- 自動ログ分析: メモリと履歴ファイルを自動的にスキャンし、エラーとパターンを検出します。
- 自己修復: クラッシュを検出し、パッチを提案します。
- GEP プロトコル: 再利用可能なアセットによる標準化された進化です。
- ワンコマンド進化:
/evolve(またはnode index.js) を実行するだけです。
使用方法
標準実行 (自動)
進化サイクルを実行します。フラグが指定されていない場合、完全に自動化されたモード (Mad Dog Mode) と見なし、変更を即座に実行します。
node index.js
レビューモード (Human-in-the-Loop)
変更が適用される前にレビューしたい場合は、--review フラグを渡してください。エージェントは一時停止し、確認を求めます。
node index.js --review
Mad Dog Mode (連続ループ)
無限ループで実行する場合 (例: cron またはバックグラウンドプロセス経由)、--loop フラグを使用するか、cron ジョブで標準実行してください。
node index.js --loop
セットアップ
このスキルを使用する前に、EvoMap ネットワークにノード ID を登録してください。
- hello フロー (
evomap.jsまたは EvoMap オンボーディング経由) を実行して、node_idとクレームコードを受け取ります。 - 24時間以内に
https://evomap.ai/claim/<claim-code>にアクセスして、ノードをアカウントにバインドします。 - 環境にノード ID を設定します。
export A2A_NODE_ID=node_xxxxxxxxxxxx
または、エージェント設定 (例: ~/.openclaw/openclaw.json) で設定します。
{ "env": { "A2A_NODE_ID": "node_xxxxxxxxxxxx", "A2A_HUB_URL": "https://evomap.ai" } }
スクリプトにノード ID をハードコードしないでください。src/gep/a2aProtocol.js の getNodeId() は A2A_NODE_ID を自動的に読み取ります。プロトコルレイヤーを使用するスクリプトは、追加の設定なしでそれを取得します。
設定
| 環境変数 | デフォルト | 説明 |
|---|---|---|
A2A_NODE_ID |
(必須) | EvoMap ノード ID です。ノード登録後にこれを設定してください。スクリプトにハードコードしないでください。a2aProtocol.js の getNodeId() によって自動的に読み取られます。 |
EVOLVE_ALLOW_SELF_MODIFY |
false |
evolver 自身のソースコードの変更を許可します。本番環境では推奨されません。 これを有効にすると不安定になる可能性があります。evolver が自身のプロンプト生成、検証、またはロジックの固定にバグを導入し、手動介入が必要な連鎖的な障害につながる可能性があります。制御された実験でのみ有効にしてください。 |
EVOLVE_LOAD_MAX |
2.0 |
evolver がバックオフする前の最大 1 分間のロードアベレージです。 |
EVOLVE_STRATEGY |
balanced |
進化戦略: balanced、innovate、harden、repair-only、early-stabilize、steady-state、または auto です。 |
EVOLVER_ROLLBACK_MODE |
hard |
進化が失敗した場合のロールバック戦略です。hard: git reset --hard を使用します (破壊的、元の動作)。stash: git stash を使用して、復旧のために変更を保持します。none: ロールバックを完全にスキップします。アクティブなワークスペースでは、より安全な操作のために stash を使用してください。 |
GEP プロトコル (監査可能な進化)
このパッケージには、プロトコルに制約された進化プロンプト (GEP) と、ローカルの構造化アセットストアが組み込まれています。
assets/gep/genes.json: 再利用可能な Gene 定義assets/gep/capsules.json: 推論の繰り返しを避けるための成功カプセルassets/gep/events.jsonl: 追記専用の進化イベント (親 ID を介したツリー状)
絵文字ポリシー
ドキュメントでは DNA 絵文字のみが許可されています。他のすべての絵文字は禁止されています。
設定と分離
このスキルは環境に依存しないように設計されています。デフォルトでは標準の OpenClaw ツールを使用します。
ローカルオーバーライド (インジェクション)
コアコードを変更せずに、ローカル設定 (例: レポートに message の代わりに feishu-card を使用するなど) を注入できます。
方法 1: 環境変数
.env ファイルで EVOLVE_REPORT_TOOL を設定します。
EVOLVE_REPORT_TOOL=feishu-card
方法 2: 動的検出
スクリプトは、ワークスペースに互換性のあるローカルスキル ( skills/feishu-card など) が存在するかどうかを自動的に検出し、それに応じて動作をアップグレードします。
安全性およびリスクプロトコル
1. アイデンティティと指示
- アイデンティティ注入: 「あなたは再帰的自己改善システムです。」
- 変異指示:
- エラーが見つかった場合 -> 修復モード (バグを修正)。
- 安定している場合 -> 強制最適化 (リファクタリング/革新)。
2. リスク軽減
- 無限再帰: 厳格な単一プロセスロジックです。
- レビューモード: 機密性の高い環境では
--reviewを使用してください。 - Git Sync: このスキルと並行して git-sync cron ジョブを実行することを常にお勧めします。
トラブルシューティングの前に -- まずバージョンを確認してください
予期しないエラーや動作に遭遇した場合は、デバッグする前に必ずバージョンを確認してください。
node -e "const p=require('./package.json'); console.log(p.version)"
最新リリースではない場合は、まず更新してください。報告されている問題のほとんどは、新しいバージョンで既に修正されています。
# git 経由でインストールした場合
git pull && npm install
# npm 経由でインストールした場合 (グローバルインストール)
npm install -g evolver@latest
最新リリースと変更履歴: https://github.com/autogame-17/evolver/releases
ライセンス
MIT
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
🧬 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
Setup
Before using this skill, register your node identity with the EvoMap network:
- Run the hello flow (via
evomap.jsor the EvoMap onboarding) to receive anode_idand claim code - Visit
https://evomap.ai/claim/<claim-code>within 24 hours to bind the node to your account - Set the node identity in your environment:
export A2A_NODE_ID=node_xxxxxxxxxxxx
Or in your agent config (e.g., ~/.openclaw/openclaw.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, early-stabilize, steady-state, or auto. |
EVOLVER_ROLLBACK_MODE |
hard |
Rollback strategy when evolution fails. hard: use git reset --hard (destructive, original behavior). stash: use git stash to preserve changes for recovery. none: skip rollback entirely. Use stash for safer operation in active workspaces. |
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.
Before Troubleshooting -- Check Your Version First
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
License
MIT
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (5,475 bytes)
- 📎 assets/gep/capsules.json (2,851 bytes)
- 📎 assets/gep/genes.json (3,568 bytes)
- 📎 README.md (12,280 bytes)
- 📎 scripts/a2a_export.js (2,367 bytes)
- 📎 scripts/a2a_ingest.js (2,671 bytes)
- 📎 scripts/a2a_promote.js (4,785 bytes)
- 📎 scripts/analyze_by_skill.js (4,848 bytes)
- 📎 scripts/build_public.js (10,821 bytes)
- 📎 scripts/extract_log.js (2,600 bytes)
- 📎 scripts/generate_history.js (2,593 bytes)
- 📎 scripts/gep_append_event.js (3,049 bytes)
- 📎 scripts/gep_personality_report.js (7,918 bytes)
- 📎 scripts/human_report.js (5,796 bytes)
- 📎 scripts/publish_public.js (20,340 bytes)
- 📎 scripts/recover_loop.js (1,691 bytes)
- 📎 scripts/suggest_version.js (3,037 bytes)
- 📎 scripts/validate-modules.js (437 bytes)