A Evolve logo

A Evolve

OrganizationPopular
aiming-lab
a-evolve

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.

Overview

Publisheraiming-lab
RepositoryAutoResearchClaw
Skill namea-evolve
Stars
14.6K
Forks
1.7K
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by aiming-lab on GitHub. Read the source before you install it.

Installation

Install the A Evolve AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aiming-lab/AutoResearchClaw/tree/main/.claude/skills/a-evolve
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aiming-lab/AutoResearchClaw.git /tmp/AutoResearchClaw
mkdir -p .claude/skills
cp -r /tmp/AutoResearchClaw/.claude/skills/a-evolve .claude/skills/a-evolve
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable A Evolve in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads A Evolve on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so A Evolve is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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, reviews
  • evolve.log or stage-specific logs
  • reviews.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:

markdown
---
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:

json
{
  "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)
  • Suggest where to place it in the project

For AutoResearchClaw projects, recommended locations:

ArtifactLocation
Evolved skill.claude/skills/evolved/<skill-name>/SKILL.md
Prompt patchAppend to prompts.default.yaml or custom prompts file
Knowledge entrydocs/kb/evolved_knowledge/<id>.json
Observation logevolution/observations/<batch>.md

Keep a running version log so the user can track what evolved and when:

## Evolution Log
- evo-1 (2026-03-30): Generated `api-pagination-handler` skill from OBS-1
- evo-2 (2026-03-30): Prompt patch for citation format from OBS-4

Usage with AutoResearchClaw

This skill maps to ARC's pipeline stages:

ARC StageEvolution Role
12 EXPERIMENT_RUNSource of Solve artifacts
13 ITERATIVE_REFINEMain Observe + Evolve trigger point
15 RESEARCH_DECISIONNatural Gate — PROCEED = accept, REFINE = retry
18 PEER_REVIEWAdditional Observe signal for writing quality

When the user says "evolve my research pipeline" or similar:

  1. Ask which run to analyze (or find the latest artifacts/rc-*/)
  2. Run the Observe step on experiment outputs + review feedback
  3. Propose mutations targeting the weakest pipeline stages
  4. Generate skill files that ARC can load via .claude/skills/

Anti-Patterns

Do NOT:

  • Generate vague, generic skills ("always be careful", "check your work")
  • Propose mutations for one-off errors that won't recur
  • Rewrite the entire system prompt — patch it surgically
  • Generate more than 3 skills per evolution cycle (quality over quantity)
  • Mutate tool code unless the user explicitly asks for it

Relationship to MetaClaw

If AutoResearchClaw has MetaClaw enabled (metaclaw_bridge.enabled: true), evolved skills from this process can be placed in ~/.metaclaw/skills/arc-*/ so MetaClaw injects them into future runs automatically. The two systems are complementary:

  • A-Evolve skill: Deep, targeted mutation from structured observation
  • MetaClaw lesson: Broad pattern captured from pipeline warnings/errors

Both can coexist. Skills generated here are higher-precision; MetaClaw lessons are higher-recall.

Frequently asked questions

What does the A Evolve AI skill do?

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.

Why use A Evolve on TypingMind?

Because you install it once and use it with any model. A Evolve is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install A Evolve in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aiming-lab/AutoResearchClaw/tree/main/.claude/skills/a-evolve. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use A Evolve?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with A Evolve?

As many as you like. As long as a model supports skills, you can use A Evolve with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the A Evolve AI skill free?

Yes. It is published on GitHub by aiming-lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇