a-evolve
What it does
The skill applies a cycle of solving, observing, evolving, and checking to make an AI agent better across runs. It is for people who want their agents to learn from past failures.
When to use it
- ✓When you want to diagnose why an agent keeps failing certain tasks.
- ✓When you want new skills or prompt fixes generated from recurring errors.
- ✓When you want an agent to build up lessons from earlier runs.
Skill link
https://github.com/aiming-lab/AutoResearchClaw/blob/main/.claude/skills/a-evolve/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Diagnose why our agent keeps failing the data-import tasks and suggest skills that would fix those errors.”
5 new skills a week. 1 minute to read.
How it works
The agent collects run logs and test results, groups the failures by type and cause, and proposes skills, prompt changes, or knowledge entries. Each proposed change is checked before it is kept for future runs.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does it need extra software?
No. The skill is prompt-based and needs no external dependencies or harness changes.
Does it work outside AutoResearchClaw?
Yes. It works on its own, and it also works inside AutoResearchClaw pipelines.
What evidence does it need?
Run logs, error traces, pass or fail results, and metric values from earlier runs.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 15k
- Ranking position
- #11044
- License
- MIT
- Updated
- 8/19/2026
Comments
- …
More skills from this repository
biology-biopython
15kHelps your agent work with DNA, RNA, and protein sequences using Biopython, including file parsing, sequence calculations, BLAST searches, and database access.
chemistry-rdkit
15kHelps your agent analyze molecules written as SMILES strings with RDKit, including descriptors, fingerprints, similarity, and substructure search.
hypothesis-formulation
15kHelps your agent turn an observation into testable hypotheses, with competing explanations and clear predictions that could prove them wrong.
literature-search
15kHelps your agent plan and run a systematic literature search, with search strings, inclusion rules, screening steps, and a PRISMA-style count of results.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.