auto
它能做什么
这项技能从一段任务描述出发,完成完整流程,包括撰写验收标准和验证结果。适合想让迁移或重写等大型改动完成并通过测试的人。
适用场景
- ✓当你想让跨多个文件的大型改动从头到尾构建并测试时。
- ✓当你要替换框架、语言、存储或 API 层并希望验证其结果时。
- ✓当你希望智能体先撰写规格,再在后台执行工作的时候。
技能链接
https://github.com/Q00/ouroboros/blob/main/skills/auto/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我把这个项目从旧的 REST API 层迁移到新的层,先写好规格,并在所有测试通过后告诉我。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能只询问缺少的细节,然后撰写包含明确验收标准的规格,并在后台开始工作。它会持续检查进度,并在检查完成后报告结果。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/ouroboros:auto
Run the full-quality auto pipeline from a single task description.
Dispatch requirement
This skill must be executed by invoking MCP tool ouroboros_start_auto. Do not
manually inspect repositories, run shell commands, query GitHub, edit files, or
otherwise emulate the auto pipeline. The background starter returns job_id
and auto_session_id quickly; retain both. If ouroboros_start_auto or a
required job wait/result tool is unavailable, stop and report that the required
MCP tool is unavailable. A manual fallback is not an ooo auto run.
If a started auto job returns detached, blocked, failed, or another
auto-session status, report that status and the tool's blocker. detached is
non-terminal tracked background work: surface the job/Ralph handles and keep
observing them through the same owner. Do not label a blocked or failed
outcome as MCP dispatch failure; dispatch failure means the MCP tool could not
be invoked.
Do not stop after returning the job_id: keep the conversational UX, delegate
monitoring (below), and never tell the user to call job tools themselves. The
user should not have to poll the job manually.
Immediately before each ouroboros_* call, load its schema with the active runtime's tool-discovery capability (for example "+ouroboros auto" for ouroboros_start_auto and "+ouroboros session signal" for the Synapse tools); a schema loaded on an earlier turn may be gone. An empty result for an already-callable tool is expected.
Usage
ooo auto "Build a local-first habit tracker CLI"
ooo auto --resume auto_abc123
ooo auto "Build a local-first habit tracker CLI" --skip-run
/ouroboros:auto "Build a local-first habit tracker CLI"
ooo auto takes no parent Seed and infers no lineage from goal prose (a Seed
named in the goal is ordinary context); never claim preserved lineage or AC
edit scope. Use ooo evolve for parent evolution or ooo run for an existing
Seed.
CLI flag → MCP arg translation
Translate CLI-style flags typed in chat before invoking ouroboros_start_auto:
| CLI flag | MCP arg | Type |
|---|---|---|
--skip-run |
skip_run=true |
boolean |
--max-interview-rounds N |
max_interview_rounds=N |
integer |
--max-repair-rounds N |
max_repair_rounds=N |
integer |
--pipeline-timeout-seconds X |
pipeline_timeout_seconds=X |
number |
--efficiency-mode adaptive|quality_first |
efficiency_mode=<value> |
string |
--frugality-assurance off|observe|strict |
frugality_assurance=<value> |
string |
--resume <id> |
resume=<id> |
string |
--max-generationsbelongs toooo ralph, notooo auto.--complete-productis deprecated and ignored (the run job owns the chain).--pipeline-timeout-secondsis accepted only on a fresh start; with--resumeit is rejected because the original deadline is preserved.- The CLI-only
--show-ledgerflag prints assumptions/non-goals; MCP responses already include that ledger summary when available.
Before a fresh start, do not ask about an efficiency policy unless the user
raised it or execution.default_policy in ~/.ouroboros/config.yaml is
explicitly ask. Otherwise omit both arguments: the server applies the
configured default (quality-first when nothing is configured), and its start
receipt names the running policy and the change command; relay that line once.
If the user did choose, or the config says ask, map the choice in outcome
language: Efficient execution is adaptive/observe; Quality-first
execution is quality_first/off. strict assurance is a separate explicit
opt-in because it may spend extra work on proof; never infer it. On resume,
send neither argument; Auto restores the persisted contract.
Behavior
- Starts an auto session and runs bounded Socratic interview rounds with source-tagged auto answers.
- Generates a Seed, then reviews and repairs it until it is A-grade (passes the Seed review) or blocked.
- Starts execution only after A-grade (unless
skip_run). Auto reachesCOMPLETEonce the run has a durable handle; the run job then carries its ownrun → evaluate → ralphchain underexecution.auto_evaluate/execution.auto_evolve(both defaulttrue). Auto does not evaluate the run itself. - Every loop is bounded and timeouts return a resumable
auto_session_id: resume withooo auto --resume <auto_session_id>. The chained Ralph is bounded byexecution.auto_evolve_max_generations(d
常见问题
这项技能适合小改动吗?
不适合。描述中说明,它不适用于提问或小的修改。
运行它需要 MCP 工具吗?
需要。它必须使用 Ouroboros MCP 工具,如果该工具不可用,就会报错停止。
运行时可以查看进度吗?
可以。这项技能会持续告知你后台任务及其状态。
详情
作者的原始描述
Use when the work spans several files or replaces a framework, language, auth, storage, or API layer (rewrites and migrations included), and the user wants it to end up working and tested. Asks only what is missing, writes a spec with acceptance criteria, then runs and verifies it in the background. Not for questions, small edits, or an existing Seed (use run).
repo: Q00/ouroboros
热度
- GitHub 星标
- 6.3k
- 排名
- #14344
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …