evolve
它能做什么
这项技能运行一个重复的循环,跨代改进计划、工作和验收标准,直到通过或不再改进为止。适合希望智能体随时间不断完善项目的人。
适用场景
- ✓当你想让一个想法经过多轮构建和检查逐步完善时。
- ✓当你想查看一个正在运行的演化循环进度的时候。
- ✓当你想回到循环中较早的一代时。
技能链接
https://github.com/Q00/ouroboros/blob/main/skills/evolve/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为一个任务管理命令行工具启动一个演化循环,并在每一轮结束后显示它的状态。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能启动一个谱系(lineage),依次构建计划、执行工作、评判结果并检查关卡。之后的每一轮都会重做未通过的标准,直到关卡通过、循环不再改进,或达到代数上限。
技术内容(原始 SKILL.md)
作者在 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
常见问题
它最多能运行多少轮?
描述中说明,循环最多运行 30 代。
我可以只运行规划部分吗?
可以。有一种模式只完善计划,不执行工作。
我可以回到较早的一轮吗?
可以。这项技能可以把谱系回退到你选择的某一代。
详情
热度
- GitHub 星标
- 6.3k
- 排名
- #14348
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …