ouroboros-run
它能做什么
这项技能通过 Ouroboros 工作流程运行规格文件,并验证每一条验收标准。适合已经有规格、希望智能体进行构建并检查结果的人。
适用场景
- ✓当你已有一份包含目标和验收标准的规格文件时。
- ✓当你想让智能体撰写规格并验证每一条标准的时候。
- ✓当一次运行被驳回,你希望它通过修复循环继续时。
技能链接
https://github.com/Q00/ouroboros/blob/main/skills/run/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请运行种子规格文件 billing-rewrite.seed.yaml,并在完成时验证每一条验收标准。”
每周 5 个新技能,1 分钟读完。
工作原理
这项技能把规格作为后台任务启动。开启相应选项时,服务器会在自己的工作副本中运行任务。运行结束后,它可以排队进行正式评估;如果结果被驳回,则继续进行有限次数的修复循环。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
/ouroboros:ouroboros-run
Execute a Seed specification through the Ouroboros workflow engine as a background job. A completed run enqueues formal evaluation by default, and a rejection continues through a bounded Ralph loop.
Usage
/ouroboros:ouroboros-run [seed_file_or_content]
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 execute" for ouroboros_start_execute_seed, ouroboros_job_wait, ouroboros_job_result, and ouroboros_ac_tree_hud; "+ouroboros session signal" for ouroboros_session_signal_targets and ouroboros_session_signal. 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 (No MCP Server) section only when the tools are genuinely absent.
Execution Steps
Do not create or switch branches yourself. For a background execution job,
use_worktreedefaults to true: the server runs the task in its own worktree and reportsworktree_path/worktree_branchin the job result. Tell the user the task was isolated only when those fields are present. Adispatch_mode="plugin"response delegates to a child session and carries no worktree.Get the Seed. Read a given file path with the active runtime's
inspect_codecapability, use inline YAML directly, or otherwise take the most recently generated Seed in the conversation.Before a fresh start, do not ask about an efficiency policy unless the user raised it or
execution.default_policyin~/.ouroboros/config.yamlis explicitlyask. 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. If the user did choose, or the config saysask, map the choice in outcome language:- Efficient execution: start parallel/decomposed work economically and
strengthen the route only when recovery requires it. Send
efficiency_mode="adaptive"andfrugality_assurance="observe". - Quality-first execution: keep child work at the parent starting tier.
Send
efficiency_mode="quality_first"andfrugality_assurance="off".
frugality_assurance="strict"is a separate explicit opt-in because it may spend extra work on proof; never infer it from the efficiency choice. Do not ask again on resume: the server restores the persisted policy and rejects a resume-time change.- Efficient execution: start parallel/decomposed work economically and
strengthen the route only when recovery requires it. Send
Start background execution:
Tool: ouroboros_start_execute_seed Arguments: seed_content: <the seed YAML> efficiency_mode: <only when chosen: adaptive or quality_first> frugality_assurance: <only when chosen: observe, off, or explicit strict> session_id: <only when resuming an existing session>Omit
model_tierby default so the runtime selects automatically. Includemodel_tier: <user choice>only when the user explicitly requested a tier. The call returns at once withjob_id,session_id, andexecution_id.Hand off. Relay the server's start receipt (IDs, backends,
Efficiency Modewith any change command, dashboard). Then add:- Live view: if
execution.tui_autolaunch: true(or legacy top-leveltui_autolaunch: true) is set, runouroboros tui open; otherwise offer it once without blocking. If it prints a manual command (headless, SSH), relay that once. - Observation: a confirmed read-only observer (step 5), or durable catch-up mode.
- This conversation stays available: the user can refine requirements, review code, or work on an unrelated task in an isolated worktree; check for active-worker conflicts before editing this run's workspace.
- Live view: if
Delegate observation to exactly one observer. The start result carries
response.meta.job_observer, a read-only observer contract with its own wait and result tools,instructions,restrictions, and fallback. If the structured meta is missing, recover the contract from the final<!-- ouroboros-job-observer-v1 base64 ... -->content sentinel and fail closed: if there is more than one sentinel or it is not at the end of the text, the bounded payload does not decode to an objec
常见问题
没有规格文件也能使用吗?
不能。这项技能需要规格。对于原始请求,应先使用访谈或 auto 技能。
它会改动我当前的分支吗?
描述中说明,服务器在自己的工作树中执行任务,这项技能本身不会创建或切换分支。
运行结束后会发生什么?
已完成的运行默认会进行评估,被驳回的结果可以通过有限次数的修复循环继续处理。
详情
作者的原始描述
Use when an Ouroboros Seed (a spec file with a goal and acceptance criteria, such as *.seed.yaml) already exists and the user wants it executed: 'run the seed', 'execute this spec', 'ooo run'. Executes it and verifies every acceptance criterion. Not for raw requests without a Seed (use interview or auto).
repo: Q00/ouroboros
热度
- GitHub 星标
- 6.3k
- 排名
- #14358
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …