Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add GAIR-NLP/ASI-Evolve --skill evolvegit clone --depth 1 https://github.com/GAIR-NLP/ASI-EvolveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/gair-nlp/asi-evolve/evolve)<a href="https://agentmods.dev/skills/gair-nlp/asi-evolve/evolve"><img src="https://agentmods.dev/badge/skills/gair-nlp/asi-evolve/evolve.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.02147 |
| Opus 5 | $0.00037 | $0.01073 |
| Sonnet 5 | $0.00015 | $0.00429 |
| Haiku 4.5 | $0.00007 | $0.00215 |
Grade A, and why
evolve scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Evolve
Treat this skill as the single-agent abstraction of ASI-Evolve-dev. Preserve the system's core idea: learn from prior knowledge, design the next candidate, run the evaluator, analyze the outcome, and feed the lesson back into the next round.
Preserve the operating model
- Keep the four-stage loop intact: learn, design, experiment, analyze.
- Use the bundled wrappers in
scripts/for stateful operations. Let the agent make orchestration decisions; do not recreate the repository's pipeline stack. - The agent itself must choose mutations, run experiments, inspect outputs, and write round analyses step by step.
- Keep two memory systems alive for the whole run:
- cognition store for approved external research, paper takeaways, and search-derived insights that may help future rounds
- experiment database for every candidate, score, analysis, lineage, best snapshot, and lessons learned from actual experiments
- Treat
.evolve_runs/<run-name>/as the source of truth for the active run.
Start with preflight
- Draft or update the run spec before any mutate or evaluate step.
- Align with the user on:
- objective
- core score
- secondary metrics
- evaluation command or script
- evaluation timeout
- success criteria
- stop conditions and round budget
- writable file scope and primary targets
- sampling algorithm
- island feature dimensions when
sampling.algorithm=island - cognition source mode
- Inspect the evaluator before confirmation. If the command or script is vague, pause and resolve it before continuing.
- Even when the user already gave a detailed task description, you must still produce a concrete preflight plan/approach summary before any evolve round starts.
- Require an explicit evaluator timeout during preflight. Do not treat timeout as an implicit default.
- Confirm that the evaluator path you will use has timeout handling. The outer
evolve-eval runtimeout is mandatory, and the evaluator command or script should also accept or honor the configured timeout when it can hang internally. - Confirm that the evaluator can load the materialized candidate path that
evolve-eval runproduces. The default step artifact issteps/<step-name>/codewith no forced extension or filename convention. - If you choose the sampling algorithm yourself during preflight, tell the user explicitly which algorithm you picked and why.
- If you choose
island, also tell the user the default feature semantics:complexity=len(code)anddiversity=code-difference heuristic over stored programs, and mention that they can override the feature list before confirmation. - Refresh the preflight artifacts with
scripts/evolve-brief normalize. - Keep
approval.confirmed=falseuntil the user explicitly approves the preflight summary. - Only flip
approval.confirmedafter the user says the plan is confirmed or approved. Never self-confirm because the request seemed detailed or complete. - Refuse to run evolve commands that mutate files, execute the evaluator, or write the final summary before confirmation.
What ships with it
31 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 316 B
- references/architecture.md 1.5 KB
- references/operating_model.md 2.0 KB
- references/preflight.md 1.7 KB
- references/run_spec.md 1.9 KB
- references/toolbelt.md 7.7 KB
- scripts/evolve_core/__init__.py 317 B runs code
- scripts/evolve_core/algorithms/__init__.py 385 B runs code
- scripts/evolve_core/algorithms/base.py 498 B runs code
- scripts/evolve_core/algorithms/factory.py 3.1 KB runs code
- scripts/evolve_core/algorithms/greedy.py 415 B runs code
- scripts/evolve_core/algorithms/island.py 12 KB runs code
- scripts/evolve_core/algorithms/random.py 409 B runs code
- scripts/evolve_core/algorithms/ucb1.py 1.7 KB runs code
- scripts/evolve_core/best_snapshot.py 2.0 KB runs code
- scripts/evolve_core/cli.py 27 KB runs code
- scripts/evolve_core/cognition.py 4.5 KB runs code
- scripts/evolve_core/database.py 8.0 KB runs code
- scripts/evolve_core/diff.py 1.7 KB runs code
- scripts/evolve_core/embedding.py 2.3 KB runs code
- scripts/evolve_core/file_lock.py 1.2 KB runs code
- scripts/evolve_core/run_state.py 12 KB runs code
- scripts/evolve_core/sampling_config.py 6.1 KB runs code
- scripts/evolve_core/structures.py 2.7 KB runs code
- scripts/evolve_core/vector_index.py 6.8 KB runs code
- scripts/evolve-brief 344 B
- scripts/evolve-cognition 330 B
- scripts/evolve-db 322 B
- scripts/evolve-eval 326 B
- scripts/evolve-files 327 B
- scripts/evolve-summary 326 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 121 lines · 74 tokens per session scan A 03baeebc029b
evolve is a skill published in the GitHub repository GAIR-NLP/ASI-Evolve (854 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 2,147 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…