a-evolve
Skill này làm gì
Skill áp dụng một chu trình giải quyết, quan sát, tiến hóa và kiểm tra để làm agent AI tốt hơn qua các lần chạy. Dành cho người muốn agent học từ các lỗi trước đó.
Khi nào nên dùng
- ✓Khi bạn muốn chẩn đoán vì sao agent liên tục thất bại một số tác vụ.
- ✓Khi bạn muốn tạo skill hoặc sửa prompt mới từ các lỗi lặp lại.
- ✓Khi bạn muốn agent tích lũy bài học từ các lần chạy trước.
Liên kết skill
https://github.com/aiming-lab/AutoResearchClaw/blob/main/.claude/skills/a-evolve/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Chẩn đoán vì sao agent của chúng tôi liên tục thất bại các tác vụ nhập dữ liệu và đề xuất skill có thể sửa các lỗi đó.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent thu thập log chạy và kết quả test, nhóm các lỗi theo loại và nguyên nhân, rồi đề xuất skill, thay đổi prompt hoặc mục kiến thức. Mỗi thay đổi được đề xuất đều được kiểm tra trước khi giữ lại cho các lần chạy sau.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có cần phần mềm bổ sung không?
Không. Skill dựa trên prompt và không cần phụ thuộc bên ngoài hay thay đổi harness.
Nó có hoạt động bên ngoài AutoResearchClaw không?
Có. Nó hoạt động độc lập, và cũng hoạt động bên trong các pipeline AutoResearchClaw.
Nó cần bằng chứng gì?
Log chạy, dấu vết lỗi, kết quả đạt hoặc không đạt, và giá trị chỉ số từ các lần chạy trước.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 15k
- Vị trí xếp hạng
- #11044
- Giấy phép
- MIT
- Cập nhật
- 19/8/2026
Bình luận
- …
Thêm skill từ kho mã này
biology-biopython
15kGiúp agent làm việc với chuỗi DNA, RNA và protein bằng Biopython, bao gồm phân tích file, tính toán trên chuỗi, tìm kiếm BLAST và truy cập cơ sở dữ liệu.
chemistry-rdkit
15kGiúp agent phân tích phân tử viết dưới dạng chuỗi SMILES bằng RDKit, bao gồm descriptor, fingerprint, độ tương đồng và tìm kiếm cấu trúc con.
hypothesis-formulation
15kGiúp agent biến một quan sát thành các giả thuyết có thể kiểm tra, kèm các lời giải thích cạnh tranh và dự đoán rõ ràng có thể bác bỏ chúng.
literature-search
15kGiúp agent lên kế hoạch và chạy tìm kiếm tài liệu có hệ thống, với chuỗi tìm kiếm, tiêu chí đưa vào, bước sàng lọc và số đếm kiểu PRISMA.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.