a-evolve
できること
このスキルは、解決、観察、進化、確認の循環を適用し、AIエージェントを実行ごとに改善させます。過去の失敗から学ばせたい人向けです。
使う場面
- ✓エージェントが特定の作業を繰り返し失敗する理由を診断したいとき。
- ✓繰り返し起きるエラーから、新しいスキルやプロンプトの修正を生成したいとき。
- ✓過去の実行から教訓を積み上げさせたいとき。
スキルのリンク
https://github.com/aiming-lab/AutoResearchClaw/blob/main/.claude/skills/a-evolve/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“データ取り込みの作業でエージェントが失敗し続ける理由を診断し、そのエラーを直すスキルを提案してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、実行ログとテスト結果を集め、失敗を種類と原因ごとにまとめ、スキル、プロンプトの変更、知識の項目を提案します。提案された各変更は、今後の実行で保持される前に確認されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
A-Evolve: Agentic Evolution Skill
Apply the Solve → Observe → Evolve → Gate → Reload methodology from A-Evolve to iteratively improve agent performance. This skill is prompt-based — no external dependencies, no harness changes. You analyze failures, propose workspace mutations, and generate durable artifacts (skills, prompt patches, knowledge entries) that the agent can load in future runs.
Core Loop
When asked to evolve or improve agent performance, follow this 5-step loop:
1. Solve (Collect Evidence)
Gather the agent's execution artifacts. Ask the user for or locate:
- Run logs, error traces, or experiment outputs
- Pass/fail results per task
- Metric values (accuracy, reward, success rate)
- Any existing session files from previous runs
If inside AutoResearchClaw, look at:
artifacts/rc-*/— experiment outputs, charts, reviewsevolve.logor stage-specific logsreviews.md— peer review feedback- Sentinel watchdog reports
2. Observe (Diagnose)
Analyze the collected evidence to produce structured observations:
For each failed or underperforming task, identify:
- Error category: code bug, timeout, wrong approach, missing knowledge, API misuse, hallucinated reference, prompt ambiguity, etc.
- Root cause: What specifically went wrong and why
- Frequency: Is this a one-off or a recurring pattern across tasks?
- Severity: blocking (pipeline crash) / degrading (wrong result) / cosmetic (formatting issue)
Write observations as a structured list:
## Observations (Batch N)
### OBS-1: [Category] Short description
- Tasks affected: task_001, task_005, task_012
- Root cause: ...
- Frequency: 3/50 tasks (6%)
- Severity: degrading
### OBS-2: ...
3. Evolve (Propose Mutations)
Based on observations, propose one or more of these mutation types:
A. Generate a Skill (for recurring patterns, frequency ≥ 3)
Write a new SKILL.md file that teaches the agent how to handle this
pattern. A good evolved skill:
- Targets a specific failure category, not generic advice
- Contains concrete steps the agent should follow
- Includes a "when to apply" trigger condition
- Is short (under 100 lines) and self-contained
Example — if the agent keeps failing at API pagination:
---
name: api-pagination-handler
description: >
Handle paginated API responses correctly. Use when making API calls
that may return partial results, or when results seem truncated.
---
When calling any API that supports pagination:
1. Check response for pagination indicators: `next_page`, `offset`,
`has_more`, `cursor`, or truncated result counts.
2. If paginated, loop until all pages are collected.
3. Concatenate results before processing.
4. Set a max-page safety limit (default: 20) to prevent infinite loops.
5. Log total items collected vs expected count if available.
B. Patch the System Prompt (for prompt ambiguity or missing guidance)
Write a short addendum to the system prompt that addresses the gap. Keep patches minimal — one paragraph per issue. Format:
## Prompt Patch: [Issue]
Append to system prompt:
> When [specific situation], always [specific action] because [reason].
C. Add a Knowledge Entry (for factual gaps or learned heuristics)
Record a reusable insight as a knowledge entry:
{
"id": "know-001",
"category": "experiment_design",
"insight": "Synthetic benchmarks with <100 samples produce high-variance results. Always use ≥500 samples or report confidence intervals.",
"source": "observation OBS-3 from batch 2",
"confidence": 0.85
}
D. Do Nothing (if observation is a one-off, severity is cosmetic, or the fix would be too broad / risky)
4. Gate (Validate)
Before accepting any mutation, check:
- Specificity: Does it target the observed failure without being so broad it could cause regressions elsewhere?
- Testability: Could you verify this mutation helps by re-running the failed tasks?
- Blast radius: How much of the agent's behavior does this change? Prefer small, targeted mutations over large rewrites.
- Consistency: Does it contradict existing skills or prompt guidance?
If a mutation fails the gate, either refine it or discard it. Explain your reasoning to the user.
5. Reload (Apply and Record)
Present the accepted mutations to the user. For each:
- State what changed and why
- Show the artifact (skill file, prompt patch, knowledge entry
よくある質問
追加のソフトウェアが必要ですか?
いいえ。このスキルはプロンプトベースで、外部の依存関係やハーネスの変更は必要ありません。
AutoResearchClawの外でも使えますか?
はい。単独でも動作し、AutoResearchClawのパイプラインの中でも動作します。
どんな根拠が必要ですか?
以前の実行の実行ログ、エラーのトレース、合否の結果、指標の値です。
詳細
作者による元の説明
Apply A-Evolve's agentic evolution methodology to improve AI agent performance across runs. Use when the user wants to diagnose agent failures, generate targeted skills from error patterns, evolve system prompts, or accumulate episodic knowledge. Works standalone or inside AutoResearchClaw pipelines. Triggers on: "evolve", "self-improve", "diagnose failures", "generate skills from errors", "what went wrong and how to fix it", or any mention of A-Evolve.
人気
- GitHubのスター
- 15k
- ランキング
- #11044
- ライセンス
- MIT
- 更新日
- 2026/8/19
コメント
- …
このリポジトリの他のスキル
biology-biopython
15kエージェントが、Biopythonを使ってDNA、RNA、タンパク質の配列を扱えるよう支援します。ファイルの解析、配列の計算、BLAST検索、データベースへのアクセスを含みます。
chemistry-rdkit
15kエージェントが、SMILES文字列で表された分子をRDKitで解析できるよう支援します。記述子、フィンガープリント、類似度、部分構造検索を含みます。
hypothesis-formulation
15kエージェントが、観察から検証可能な仮説を立てられるよう支援します。複数の対立する説明と、それを反証しうる明確な予測を含みます。
literature-search
15kエージェントが、検索文字列、採択基準、スクリーニングの手順、PRISMA形式の件数を含む、体系的な文献検索を計画し実行できるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。