evolve
What it does
This skill runs a repeating loop that improves the plan, the work and the acceptance criteria across generations until it passes or stops improving. It is for people who want an agent to refine a project over time.
When to use it
- ✓When you want an idea refined through several rounds of building and checking.
- ✓When you want to check the progress of a running evolution loop.
- ✓When you want to go back to an earlier generation of a loop.
Skill link
https://github.com/Q00/ouroboros/blob/main/skills/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
“Start an evolution loop for a task manager command-line tool and show me its status after each round.”
5 new skills a week. 1 minute to read.
How it works
The skill starts a lineage that builds a plan, runs the work, judges the result and checks the gate. Each later round reworks the failed criteria until the gate passes, the loop stops improving or it reaches the generation limit.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
ooo evolve - Evolutionary Loop
Start, monitor, or rewind an evolutionary loop that refines the ontology and acceptance criteria across generations.
Gen 1: Seed → Execute(all ACs) → Judge → Gate
Gen 2+: Wonder(failed ACs) → Reflect(active ACs only) → Execute(active) → Gate(all)
...until the gate passes, the loop stagnates, or 30 generations are reached
Usage
ooo evolve "build a task management CLI" # start
ooo evolve "build a task management CLI" --no-execute # ontology-only (fast)
ooo evolve --status <lineage_id> # lineage status
ooo evolve --rewind <lineage_id> <generation_number> # rewind
Instructions
Loading MCP tools (deferred-schema guard)
Ouroboros tools may be deferred, and a schema loaded on one turn can unload by the next. Immediately before each ouroboros_* call, load it with the active runtime's tool-discovery capability: "+ouroboros evolve" for ouroboros_evolve_step, ouroboros_lineage_status, and ouroboros_evolve_rewind; "+ouroboros interview" for ouroboros_interview; "+ouroboros seed" for ouroboros_generate_seed; "+ouroboros lateral" for ouroboros_lateral_think. A call whose schema is not loaded fails with "Invalid tool parameters". If the tool is already callable, discovery is a no-op and an empty result is expected. Use the fallback only when the tool is genuinely absent.
Start a new loop
- Run the interview:
ouroboros_interviewwith the user's input asinitial_context, until ambiguity ≤ 0.2. - Generate the Seed:
ouroboros_generate_seedwith the interviewsession_id. - Call
ouroboros_evolve_stepwith a newlineage_id(e.g.lin_<seed_id>),seed_content(the Seed YAML), andexecute(trueby default for Execute→Evaluate each generation;falsefor--no-execute). Generation 2+ calls pass onlylineage_id. Each call runs exactly one generation; state is rebuilt from events between calls. - Act on
action:continue: inspectactive_ac_indices, then call again withlineage_id. Only failed or reopened ACs evolve; frozen PASS ACs are reverified, not regenerated.ontology_stable: not success. Call again for the same lineage withexecute: trueand process that response; never report convergence before aconvergedaction.converged: the independently evaluated outcome passed. Show the final ontology.stagnated: the ontology stayed unchanged, or rejected scores moved less than 0.01, across a 3-generation window. Hand off toooo unstuck(ouroboros_lateral_think).exhausted: the 30-generation cap was hit. Show the best generation.failed: report the error. If it names an expired lineage owner, first confirm the prior owner process is dead, then make one call withrecover_expired_claim: true; never set it for a slow or still-running owner.
- Repeat while
continue. Withexecute: trueeach generation already ran Execute→Evaluate, so never offerooo evaluatewith thelineage_id: formal evaluation takes an executionsession_id, which the lineage id is not.
Executed generations include a QA verdict unless skip_qa: true; use its score to track quality across generations. A passing Gen 1 may converge immediately.
Status
Call ouroboros_lineage_status with lineage_id; show generation count, ontology evolution, and convergence progress. This only reads status; it does not resume the loop.
Rewind
Call ouroboros_evolve_rewind with lineage_id and to_generation (kept, inclusive; later generations are truncated). Continue by calling ouroboros_evolve_step with the same lineage_id.
Benchmark control (explicit request only)
Never launch a full-graph control arm on your own: it would consume the savings being measured. Only when the user asks, call ouroboros_evolve_step for an existing Gen 2+ lineage with benchmark_control: true, execute: true, and an explicit clean Git project_dir in a distinct worktree at the treatment commit. A smaller active set is a working-set observation, not a savings claim; the frugality verdict comes from the server's receipts.
Fallback (no Ouroboros MCP server)
Explain the evolutionary loop and suggest installing the MCP server (see Getting Started), then running ouroboros mcp serve --runtime claude-cli and adding it to the runtime's MCP configuration.
RFC #1392 State Breadcrumb Footer
End the fi
FAQ
How many rounds can it run?
The description says the loop stops at 30 generations at most.
Can I run only the planning part?
Yes, there is a mode that refines the plan without executing the work.
Can I go back to an earlier round?
Yes, the skill can rewind a lineage to a chosen generation.
Details
Original description by the author
Start or monitor an evolutionary development loop
repo: Q00/ouroboros
Popularity
- GitHub stars
- 6.3k
- Ranking position
- #14348
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
auto
6.3kHelps your agent turn a large task into a written spec, then build and test it in the background until it works and passes checks.
brownfield
6.3kHelps your agent keep a list of your existing code repositories and choose the default ones used as context for interviews.
ouroboros-config
6.3kHelps your agent open the Ouroboros settings page so you can choose models, backends and per-stage options in a browser.
evaluate
6.3kHelps your agent check that finished work meets its acceptance criteria, using automated checks and a review against each criterion.
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.