seed
Skill6.2k starsChanged 4 months agoMITView on GitHub
Generate validated Seed specifications from interview results
3 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- teklabsdigital/x2-methodtheir own version, first seen Jul 27, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
- cykedev/vereinsheimtheir own version, first seen Jun 22, 2026
Who's talking about Q00/ouroboros
- A Hacker News story“Ouroboros – AI agent framework that asks "why?" before writing code”Hacker News · Jan 28, 2026 · 5 points
- @pythonhub.dev“ouroboros Ouroboros is an open-source AI coding framework that turns vague ideas into verified code through …”Bluesky · Oct 2, 2026 · 1 likes
- @agentwire.thecompound.tech“https://github.com/Q00/ouroboros more like this: https://agentwire.thecompound.tech/aw/1c5qt1”Bluesky · Sep 21, 2026 · 1 likes
- A Hacker News story“Show HN: I built a harness that blocks AI from building until ambiguity < 0.2”Hacker News · Mar 9, 2026 · 1 points
- A Hacker News story“Show HN: Preventing infinite agent loops with mathematical convergence gates”Hacker News · Mar 3, 2026 · 1 points
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Hacker News and Bluesky (40 times).
On GitHub · 35
- Oct 4, 2026codex-marketplaces.github.q00.ouroboros: init at 0.55.4 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.q00.ouroboros: 0.54.5 → 0.55.4 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.q00.ouroboros: init at 0.54.5 — sudosubin/agents.nix0 reactions
- Sep 29, 2026backlog: 2026-09-29分の候補4件を追記 — Matsushima-A-830/ai-100days0 reactions
- Sep 7, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
30 more on GitHub
- Aug 31, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 2 comments
- Aug 29, 2026catalog: add q00-dsh-ouroboros (community curation, created by @Q00) — diegosouzapw/awesome-omni-dsh-plugins0 reactions
- Aug 24, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Aug 23, 2026fix(runtime): preserve external skill and MCP routing — Yeachan-Heo/gajae-code0 reactions · 2 comments
- Aug 20, 2026Represent verified non-npm sources without an unsafe Install button — sandbaseai/dsh-plugin-store0 reactions · 1 comment
- Aug 17, 2026Weekly discovery: new DeepSeek Harness ecosystem candidates — fendouai/awesome-deepseek-harness0 reactions · 1 comment
- Aug 10, 2026ouroboros-ai 0.51.1 (new formula) — Homebrew/homebrew-core0 reactions · 2 comments
- Aug 10, 2026Add project: Ouroboros — RyanAlberts/best-of-Agent-Harnesses0 reactions · 1 comment
- Aug 10, 2026Add project: Ouroboros — RyanAlberts/best-of-Agent-Harnesses0 reactions · 2 comments
- Aug 10, 2026ouroboros-ai: init at 0.51.1 — NixOS/nixpkgs0 reactions · 8 comments
- Aug 10, 2026Add Ouroboros to Coding Agents — ARUNAGIRINATHAN-K/awesome-ai-agents-20260 reactions · 5 comments
- Aug 9, 2026Add Ouroboros to AI Coding (both EN/CN) — ikaijua/Awesome-AITools0 reactions · 5 comments
- Aug 9, 2026【开源自荐】Ouroboros,一个让 AI 先把需求问清楚再写代码、并且防止它「刷分」的 Agent OS — GitHubDaily/GitHubDaily0 reactions · 1 comment
- Aug 9, 2026【开源自荐】Ouroboros,一个让 AI 先把需求问清楚再写代码、并且防止它「刷分」的 Agent OS — GitHubDaily/GitHubDaily0 reactions · 4 comments
- Aug 9, 2026【开源自荐】Ouroboros:先把需求问清楚再让 AI 写代码的 Agent OS,顺便不让它「刷分」 — ruanyf/weekly0 reactions · 4 comments
- Aug 9, 2026[开源推荐] Ouroboros:一个不让 AI 看着答案写代码的 Agent OS — 521xueweihan/HelloGitHub0 reactions · 8 comments
- Aug 8, 2026Add Ouroboros (Agent OS) to Software Development — kyrolabs/awesome-agents0 reactions
- Aug 8, 2026Add Q00/ouroboros to Coding Agents 🤖🤖🤖 — punkpeye/awesome-mcp-servers0 reactions · 5 comments
- Aug 8, 2026[Resource]: Ouroboros — hesreallyhim/awesome-claude-code0 reactions · 3 comments
- Jul 11, 2026Ouroboros P3: Active Conductor attention events (upstream RFC) — danielsmithdevelopment/ClawQL0 reactions
- Jul 11, 2026Ouroboros P0-A: 3-component drift measurement + ouroboros_measure_drift MCP tool — danielsmithdevelopment/ClawQL0 reactions
- Jun 17, 2026📝 https://github.com/Q00/ouroboros 이거 hermes 랑 비슷한 급의 도구라고 하던데, 이런 도구들에 대해 research하고 내가 학습할 수 있는 자료 만들어줘 tool-study — adszzz11/study0 reactions
- Jun 8, 2026feat(ff-loop): add Ouroboros-inspired failure taxonomy, stagnation detection, convergence tracking — gimso2x/forgeflow0 reactions
- May 8, 2026Audit candidate: Q00/ouroboros — xiaolai/nlpm0 reactions · 3 comments
- May 7, 2026📱 SNS 콘텐츠 - 2026-05-07 11:55 KST — leaf468/autothreads0 reactions
- May 7, 2026🤖 AI 트렌드 리포트 - 2026-05-07 11:55 KST — leaf468/autothreads0 reactions
- May 4, 2026📱 SNS 콘텐츠 - 2026-05-04 11:56 KST — leaf468/autothreads0 reactions
- May 4, 2026🤖 AI 트렌드 리포트 - 2026-05-04 11:56 KST — leaf468/autothreads0 reactions
- May 1, 2026Test issue to check pipeline — Deep070203/autoharness0 reactions
- Apr 18, 2026Audit candidate: Q00/ouroboros — xiaolai/nlpm0 reactions · 2 comments
On Hacker News · 3
- Jan 28, 2026Ouroboros – AI agent framework that asks "why?" before writing code5 points · 1 comment
- Mar 9, 2026Show HN: I built a harness that blocks AI from building until ambiguity < 0.21 point
- Mar 3, 2026Show HN: Preventing infinite agent loops with mathematical convergence gates1 point · 1 comment
On Bluesky · 2
- Oct 2, 2026ouroboros Ouroboros is an open-source AI coding framework that turns vague ideas into verified code through structured interviews,… — @pythonhub.dev1 likes and repost
- Sep 21, 2026https://github.com/Q00/ouroboros more like this: https://agentwire.thecompound.tech/aw/1c5qt1 — @agentwire.thecompound.tech1 likes and repost
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- teklabsdigital/x2-method★ 15same name
- Pradnyeshp/Claude-Skills★ 2same name
- cykedev/vereinsheim★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- autoSkill
- brownfieldSkill
- cancelSkill
- ouroboros-configSkill
- evaluateSkill
- evolveSkill
- ouroboros-helpSkill
- interviewSkill
- maintainSkill
- oooSkill
- pmSkill
- publishSkill
- qaSkill
- ralphSkill
- resume-sessionSkill
- ouroboros-runSkill
- setupSkill
- ouroboros-statusSkill
- tutorialSkill
- unstuckSkill
- updateSkill
- welcomeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
45 rules. About 0 are common, 17 are distinctive, and 28 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
28
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
When the user invokes this skill:
- Very specific: line 38
Before running any shell snippet below, define this resolver in the same shell.
- Distinctive: line 42
Only the probe and child interpreter discard inherited CPython path-selection overrides.
- Very specific: line 74
Use the active runtime's call_mcp capability to find and load the seed generation MCP tool through runtime tool discovery when needed:
- Very specific: line 79
If the tool is callable — already exposed, or loaded by discovery — proceed to Path A.
- Distinctive: line 81
IMPORTANT: Do NOT skip this step. Do NOT assume MCP tools are unavailable just because they don't appear in your immediate tool list.
- Very specific: line 100
If the ouroboros_generate_seed MCP tool is available (loaded via runtime tool discovery above):
- Very specific: line 103
If session_id provided: Use it directly
- Very specific: line 104
If no session_id: Check conversation for a recent ouroboros_interview session ID
- Distinctive: line 105
If none found but THIS conversation already settled the goal, the constraints, and verifiable success criteria (a lateral decision, a …
- Distinctive: line 110
If none found and the material is not settled: Ask the user
- Very specific: line 123
Every value enters the Seed byte-for-byte, so shell chains in an AC (ruff check && pytest) are expected and allowed.
- Very specific: line 125
If the response has status: "gap_questions_required", it lists the exact 1-5 questions the Seed still needs.
- Distinctive: line 129
If the response contains Seed YAML, continue at step 3 with that YAML.
- Very specific: line 131
Call the MCP tool through the active runtime's call_mcp capability:
- Very specific: line 141
If the response has status: "delegated_to_subagent" and dispatch_mode: "plugin", keep the returned session_id, wait for the plugin-managed …
- Distinctive: line 142
If the response directly contains Seed YAML, extract that YAML directly.
- Distinctive: line 143
If neither shape yields Seed YAML, stop and ask the user to resume generation or provide the missing artifact.
- Distinctive: line 145
Run the single-pass Advisory QA Check below, then present the seed as final and proceed to "After Seed Generation".
- Distinctive: line 151
If the MCP tool is NOT available, fall back to agent-based generation:
- Very specific: line 153
Read src/ouroboros/agents/seed-architect.md and adopt that role.
- Very specific: line 155
If session_id was provided, first identify context for that same session: use current-thread interview Q&A only when it clearly belongs to …
- Very specific: line 156
If same-session conversation context is incomplete, use the active runtime's inspect_code / run_shell capabilities to look for persisted …
- Distinctive: line 157
If both same-session conversation context and a persisted artifact are available, merge them conservatively: keep the persisted transcript …
- Very specific: line 158
If no session_id was provided, use current-thread interview Q&A only when it is complete enough to identify one coherent interview.
- Very specific: line 198
If the user later opts into a refinement pass, append the parsed verdict plus applied/rejected revision decisions to iteration_history …
- Distinctive: line 202
If the verdict is below the bar, list the top 2–3 QA suggestions as short advisory bullets — findings, not tasks.
- Very specific: line 226
If a session_id exists, first use available persisted interview/session state for that session.
- Distinctive: line 227
Use conversation memory when it is available in the current thread.
- Very specific: line 228
If no persisted state or conversation evidence is available for a point, mark Socrates output as no Socrates-only proposal: dialectic …
- Very specific: line 271
Plugin delegation: If the response has status: "delegated_to_subagent", dispatch_mode: "plugin", and an _subagents array, wait for every …
- Very specific: line 273
Inline fallback without dispatch block: Treat the returned markdown as the complete lateral output and synthesize candidates directly from …
- Very specific: line 275
If runtime tool discovery cannot load ouroboros_lateral_think, do not emulate lateral personas or read persona files directly.
- Very specific: line 279
Do not just dedupe. Read all proposals from the available Wonder sources (Sources 1–2, plus Source 3 only when ouroboros_lateral_think …
- Very specific: line 290
Use the active runtime's ask_user capability with executable single-choice questions only.
- Distinctive: line 292
Ask sequential single-choice questions in this order:
- Distinctive: line 297
Always include a skip option at the batch level: "None of the above / keep current seed for now".
- Distinctive: line 357
Remove: drop a contradicting or redundant criterion
- Very specific: line 365
If session_id exists, use that exact session_id.
- Very specific: line 366
If no session_id exists (common in Path B), derive a stable seed label from the seed goal or project name plus the current UTC timestamp, …
- Distinctive: line 367
If the filesystem write is unavailable, include the same audit block in the assistant response instead of silently dropping it.
- Very specific: line 396
EXIT_CONDITIONS: When the workflow should terminate
- Very specific: line 469
Star & Setup: Run gh api -X PUT /user/starred/Q00/ouroboros, merge {"star_asked": true} into ~/.ouroboros/prefs.json, then read and execute …
- Very specific: line 473
Create ~/.ouroboros/ directory if it doesn't exist.
- Very specific: line 494
If star_asked is already true, skip the question and just announce:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/ouroboros:seed
Generate validated Seed specifications from interview results.
Required Skill Capabilities
ask_user— ask human-judgment questions through the active runtime's user-question surface.inspect_code— read repo-local agent roles and recover exact context from local files before guessing.call_mcp— use available Ouroboros MCP tools directly, including runtime tool discovery when a deferred MCP surface must be loaded.run_shell— run bounded local commands for audit-trail writes and setup steps.refine_answer— confirm free-form user decisions before treating them as accepted seed revisions.maintain_ledger— keep QA scores, candidate decisions, rejected proposals, and audit trail keys visible.
Usage
ooo seed [session_id]
/ouroboros:seed [session_id]Trigger keywords: "crystallize", "generate seed"
Instructions
When the user invokes this skill:
Python Runtime (Required)
Before running any shell snippet below, define this resolver in the same shell.
It accepts only Python 3.12 or newer, prefers python3 and then python, and
uses uv as the final fallback. Call ouroboros_python directly and quote every
argument passed to it; the function preserves arguments and heredoc/stdin input.
Only the probe and child interpreter discard inherited CPython path-selection
overrides; the caller shell keeps its environment unchanged.
<!-- ouroboros-python-resolver:start -->ouroboros_python() {
if command -v python3 >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 "$@")
return
fi
if command -v python >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python "$@")
return
fi
if command -v uv >/dev/null 2>&1; then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command uv run --no-project --quiet --python '>=3.12' python "$@")
return
fi
printf '%s\n' 'Ouroboros skills require Python >= 3.12 or uv on PATH.' >&2
return 127
}<!-- ouroboros-python-resolver:end -->Load MCP Tools (Required before Path A/B decision)
The Ouroboros MCP tools are often registered as deferred tools that must be explicitly loaded before use. You MUST perform this step before deciding between Path A and Path B.
- Use the active runtime's
call_mcpcapability to find and load the seed generation MCP tool through runtime tool discovery when needed:tool discovery query: "+ouroboros seed" - The tool will typically be named
mcp__plugin_ouroboros_ouroboros__ouroboros_generate_seed(with a plugin prefix). After runtime tool discovery returns, the tool becomes callable through the active runtime'scall_mcpcapability. - If the tool is callable — already exposed, or loaded by discovery — proceed to Path A. An empty discovery result for an already-exposed tool is expected, not a failure. Proceed to Path B only if the tool is genuinely absent (no Ouroboros MCP server).
IMPORTANT: Do NOT skip this step. Do NOT assume MCP tools are unavailable just because they don't appear in your immediate tool list. They are almost always available as deferred tools that need to be loaded first.
CRITICAL — deferred-schema guard (prevents "Invalid tool parameters"):
This skill makes ouroboros_* MCP calls across multiple turns, and each turn runs
in a fresh tool context. A deferred tool's schema loaded on one turn is NOT
guaranteed to still be loaded on the next. If you call any ouroboros_* MCP tool
while its schema is not loaded in the current turn, the runtime rejects the
call with "Invalid tool parameters" before it ever reaches the server.
Therefore: immediately before EVERY ouroboros_* MCP call in this skill, re-run
the tool-discovery load query for the specific MCP tool you are about to call
(idempotent — a no-op when the schema is already loaded) so the correct schema is
guaranteed present for that call. Use "+ouroboros seed" before
ouroboros_generate_seed, "+ouroboros qa" before ouroboros_qa, and
"+ouroboros lateral" before ouroboros_lateral_think. If a load ever returns
no matching tool (and the tool is not already callable — an empty load for an already-exposed tool is an expected no-op, not absence), switch to the documented fallback / Path B instead of retrying
the failing call.
Path A: MCP Mode (Preferred)
If the ouroboros_generate_seed MCP tool is available (loaded via runtime tool discovery above):
Determine the interview session:
- If
session_idprovided: Use it directly - If no session_id: Check conversation for a recent
ouroboros_interviewsession ID - If none found but THIS conversation already settled the goal, the
constraints, and verifiable success criteria (a lateral decision, a
brownfield scan, or plain discussion that converged): take the
interview-less path below. Do not send the user to
ooo interviewjust to repeat what they already told you. - If none found and the material is not settled: Ask the user
Interview-less path (
session_context):Tool: ouroboros_generate_seed Arguments: session_context: goal: <the user's own settled wording — verbatim, never your paraphrase> acceptance_criteria: [<verifiable checks: a command, a visible behaviour, a measurable state>] constraints: [<optional>] decisions: [<optional; each becomes a constraint>] project_type: greenfield | brownfieldEvery value enters the Seed byte-for-byte, so shell chains in an AC (
ruff check && pytest) are expected and allowed.- If the response has
status: "gap_questions_required", it lists the exact 1-5 questions the Seed still needs. Ask the user those questions only, merge the answers intosession_context, and call again. That is the whole interview: it shrinks to the gaps the session left open. - If the response contains Seed YAML, continue at step 3 with that YAML.
- If
- Call the MCP tool through the active runtime's
call_mcpcapability:Tool: ouroboros_generate_seed Arguments: session_id: <interview session ID> The tool extracts requirements from persisted interview state, calculates ambiguity score, and generates the Seed YAML.
Seed generation response shapes: Branch only after an actual Seed YAML artifact is available.
- If the response has
status: "delegated_to_subagent"anddispatch_mode: "plugin", keep the returnedsession_id, wait for the plugin-managed subagent result, then extract the Seed YAML from that result. Do not run the advisory QA check using the delegation envelope as the artifact. - If the response directly contains Seed YAML, extract that YAML directly.
- If neither shape yields Seed YAML, stop and ask the user to resume generation or provide the missing artifact; do not fabricate a seed just to satisfy the advisory QA check.
- If the response has
- Run the single-pass Advisory QA Check below, then present the seed as final and proceed to "After Seed Generation". Do not enter any refinement iteration unless the user explicitly opts in.
Advantages of MCP mode: Automated ambiguity scoring (must be <= 0.2), structured extraction from persisted interview state, reproducible.
Path B: Plugin Fallback (No MCP Server)
If the MCP tool is NOT available, fall back to agent-based generation:
- Read
src/ouroboros/agents/seed-architect.mdand adopt that role. - Recover the interview requirements before drafting; do not invent missing context:
- If
session_idwas provided, first identify context for that same session: use current-thread interview Q&A only when it clearly belongs to thatsession_id, and use current-thread corrections only when they explicitly amend that same interview or seed request. - If same-session conversation context is incomplete, use the active runtime's
inspect_code/run_shellcapabilities to look for persisted interview artifacts under the Ouroboros data directory (for example~/.ouroboros/data/), exported session artifacts, or other exact local records for that ID. - If both same-session conversation context and a persisted artifact are available, merge them conservatively: keep the persisted transcript as evidence, but let explicit same-thread user corrections or clarifications supersede older persisted wording.
- If no
session_idwas provided, use current-thread interview Q&A only when it is complete enough to identify one coherent interview; otherwise ask which interview or requirements summary should be seeded. - If no matching artifact is found, or if local artifacts plus matching conversation history still do not provide enough requirements, ask the user for the missing interview transcript / concise requirement summary, or ask them to run or resume
ooo interview. Do not generate a seed from an absent or mismatched transcript.
- If
- Generate a Seed YAML specification from the recovered requirements.
- Run the single-pass Advisory QA Check below, then present the seed as final and proceed to "After Seed Generation". Do not enter any refinement iteration unless the user explicitly opts in.
Advisory QA Check (single pass, non-blocking)
After Path A or Path B produces a seed, run QA exactly once and surface the verdict as advisory information. The verdict never blocks. The seed is presented as final regardless of score; the user decides whether any refinement is worth their time. Do not run QA-until-PASS iterations — that loop is retired because it front-loads heavy interaction the user did not ask for.
The generation (Path A ouroboros_generate_seed or Path B agent role) runs exactly once and establishes the seed's ontology. Any later revision is a direct YAML edit by you (main session) — do not call ouroboros_generate_seed again. It does not accept revision hints, and re-running it would discard the established ontology.
Advisory bar: pass_threshold: 0.90 (stricter than default 0.80 — seeds are structural specs). The bar labels the verdict; it does not gate anything.
Check:
- Establish the QA evaluator for this run:
- MCP QA mode: Load the QA tool via the active runtime's
call_mcpcapability using runtime tool discovery query"+ouroboros qa"if not already loaded. - Fallback QA mode: If MCP is unavailable, read
src/ouroboros/agents/qa-judge.md, adopt that evaluator role, and return its exact JSON schema: lowercaseverdict(pass/revise/fail), numericscore,dimensions,differences,suggestions, andreasoning. In this mode there is no MCP-ownedqa_session_id; track iteration history in the audit block and local loop ledger instead.
- MCP QA mode: Load the QA tool via the active runtime's
Obtain a QA verdict using the available mode:
MCP QA mode — call QA on the generated seed through the active runtime's
call_mcpcapability:Tool: ouroboros_qa Arguments: artifact: <the seed YAML> quality_bar: "Seed must be internally consistent, acceptance_criteria must be measurable and testable, constraints must be concrete (no vague terms), ontology_schema must cover all entities referenced in goal/criteria, and there must be no contradictions between fields. acceptance_criteria must also be parsimonious in the ontological sense: a criterion names a state of the finished work a user can see is true, while an implementation step names a means of reaching it, and only the first belongs in the list. Read each criterion beside its siblings — one intelligible only as a move toward a sibling is that sibling's means and belongs merged into the outcome it serves, and flagging that is as important as flagging a missing piece, since it commits the seed to an unverified path. How many criteria a goal has follows from that judgment, so weigh each criterion against its siblings." artifact_type: "document" pass_threshold: 0.90 seed_content: <the seed YAML> qa_session_id: <reuse across passes> iteration_history: <accumulated across passes>Fallback QA mode — skip the tool call and evaluate the current seed text under the QA Judge role from step 1, using the same quality bar and threshold. Treat the locally produced verdict exactly like the MCP verdict for the advisory presentation below.
QA response shapes: Branch only after a usable verdict is available.
- In MCP QA mode, if the response has
status: "delegated_to_subagent"and no verdict payload, keep the returnedqa_session_id, wait for the plugin-managed subagent result, then parse that result as the QA verdict. Do not treat the delegation envelope itself as PASS/REVISE/FAIL. - In MCP QA mode, if the response already includes a scored verdict, parse that inline verdict directly.
- In fallback QA mode, parse the exact QA Judge JSON. Normalize
verdictto uppercase only for the labels below (pass→PASS,revise→REVISE,fail→FAIL). Treatdifferencesandsuggestionsas advisory findings; do not add non-schema fields such asloop_action. - If the user later opts into a refinement pass, append the parsed verdict plus applied/rejected revision decisions to
iteration_historybefore that next QA pass.
- In MCP QA mode, if the response has
- Present the advisory verdict and the final seed — always in this order, never gated on score:
- One advisory line:
QA advisory: <PASS|REVISE|FAIL> — score X.XX (bar 0.90). - If the verdict is below the bar, list the top 2–3 QA suggestions as short advisory bullets — findings, not tasks. Do not apply any of them automatically.
- Present the complete final Seed YAML in a fenced
yamlblock. - If the verdict was REVISE or FAIL, offer exactly one opt-in line — e.g.
Want a refinement pass on these findings? Otherwise the seed stands as-is.For FAIL (< 0.40) additionally mention thatooo interview(revisit requirements) orooo unstuck(challenge assumptions) may serve better than YAML edits. Then proceed to "After Seed Generation" regardless of the answer being pending — the seed is final unless the user opts in.
- One advisory line:
- Only if the user explicitly opts in, run one Wonder → Reflect → Refine → Restate pass (below), re-run the QA check once on the revised seed for an updated advisory line, and present the revised YAML. Each additional pass requires a fresh explicit opt-in; never chain passes autonomously.
Wonder → Reflect → Refine → Restate (opt-in refinement pass)
This refinement pass mirrors the Double Diamond Define cycle: diverge via multiple perspectives first, then converge through debate, user decision, and structural application. Revisions must NEVER be auto-applied by the main session alone — "No candidate is accepted by default." (Symposium User Adoption Gate)
Four explicit phases per pass:
- Wonder — diverge: collect raw proposals from independent sources
- Reflect — debate: surface where sources agree and where they conflict
- Refine — user gate: human picks which proposals enter the next seed
- Restate — apply: edit YAML in place with accepted items only
Phase 1 — Wonder (diverge): collect raw proposals from available sources
Source 1 — QA Judge (structural, external)
The suggestions from the QA verdict. These are gaps, contradictions, and quality issues in the YAML itself. QA cannot see the interview.
Source 2 — Socrates (dialectical, user-intent evidence)
You are Socrates — the Socratic facilitator lens from skills/interview/SKILL.md and src/ouroboros/agents/socratic-interviewer.md. Review the current seed YAML against verifiable interview evidence, in this order:
- If a
session_idexists, first use available persisted interview/session state for that session. Path A may run fromooo seed <session_id>in a fresh conversation, so persisted state can be the only reliable dialectic record. - Use conversation memory when it is available in the current thread.
- If no persisted state or conversation evidence is available for a point, mark Socrates output as
no Socrates-only proposal: dialectic context unavailablefor that point. Do not invent user preferences, rejected scope, or interview nuance.
From the available evidence, surface 2–4 items neither QA nor lateral personas can see:
- Did the user emphasize a constraint that got softened or dropped?
- Did something the user explicitly rejected sneak back in?
- Did the seed flatten nuance the user spent multiple turns clarifying?
- Are there silent assumptions the user never agreed to?
- Does wording contradict stated priorities (e.g., "MVP in a week" but 8 acceptance criteria)?
If QA and Socrates conflict, do not resolve the conflict silently in Wonder. Carry both candidates into Reflect as a divergent signal, cite the available evidence for each side, and let the Refine user gate choose the resolution. Do not assume the Socratic lens is automatically authoritative; QA can be correct when no user-intent evidence contradicts it.
Source 3 — ouroboros_lateral_think (independent perspectives, MCP-only when available)
Attempt to load the MCP tool with the active runtime's call_mcp capability using runtime tool discovery query "+ouroboros lateral" if needed. If the tool loads, call it through the active runtime's call_mcp capability to collect 5 independent MCP personas or isolated perspectives:
Tool: ouroboros_lateral_think
Arguments:
problem_context: |
User opted into a refinement pass (QA advisory score X.XX, bar 0.90).
Current seed YAML:
<YAML>
QA suggestions:
- <suggestion 1>
- <suggestion 2>
Original user goal from interview: <recall>
current_approach: "The seed as currently drafted (above)."
persona: "all"
failed_attempts:
- <previously rejected candidate from earlier iterations>
- ...The 5 personas return distinct revision angles:
- hacker: unconventional workarounds (e.g., reframe a constraint instead of adding criteria)
- researcher: knowledge the seed assumes but doesn't pin down
- simplifier: criteria/constraints to remove for sharper convergence
- architect: structural reorganization without expansion
- contrarian: challenges to assumptions the seed treats as settled
Parsing persona outputs when lateral MCP is available: Each persona returns free-form prose, not a structured list. After the parallel call returns, read each persona's text and extract its concrete proposals into discrete candidates (one revision per candidate, not bundled). If a persona's output is purely abstract advice with no actionable revision, drop it from the candidate list rather than inventing one. Aim for 1–2 candidates per persona — if a persona produced 5, pick the 2 most concrete and discard the rest.
Lateral response shapes: ouroboros_lateral_think does not have one universal synchronous shape. After calling it with all personas, branch on the returned shape before extracting candidates:
- Plugin delegation: If the response has
status: "delegated_to_subagent",dispatch_mode: "plugin", and an_subagentsarray, wait for every plugin-managed subagent result. Extract concrete revision candidates from those returned persona texts. Do not attempt to parse candidates from the envelope prompts themselves. - Inline fallback with dispatch block: If the response returns markdown
contentplus the hidden sentinel<!-- ouroboros-lateral-inline-dispatch-v1 base64 ... -->, keep the visible markdown as the lateral scaffold. If the active runtime can dispatch isolated subagents, decode the sentinel JSON (dispatch_mode,persona_count,payloads) and send eachpayload.prompt+payload.contextthrough that isolated subagent surface, then extract candidates from the returned persona texts. If the runtime cannot dispatch subagents, synthesize candidates directly from the visible inline persona sections. - Inline fallback without dispatch block: Treat the returned markdown as the complete lateral output and synthesize candidates directly from the visible persona sections. Do not split solely on
---if doing so would corrupt user-provided content; prefer section headers and visible persona boundaries.
If runtime tool discovery cannot load ouroboros_lateral_think, do not emulate lateral personas or read persona files directly. Record no lateral proposals: MCP lateral tool unavailable as Source 3 output and proceed with QA plus Socrates/available sources. The User Adoption Gate still applies to any proposed revision.
Phase 2 — Reflect (debate): structure proposals by agreement and conflict
Do not just dedupe. Read all proposals from the available Wonder sources (Sources 1–2, plus Source 3 only when ouroboros_lateral_think loaded successfully) and surface the structure of the debate:
- Convergent signals (strong): same revision proposed by ≥2 independent sources. Example: QA says "criterion 3 is unmeasurable" AND simplifier says "drop criterion 3 or sharpen it" → strong signal to act on criterion 3.
- Divergent signals (decisions): sources conflict. Example: researcher says "add User entity to ontology" but simplifier says "remove the User reference from goal — single-user implied". This is a decision the user must resolve, not the main session.
- Singleton signals (weaker): one source only. Keep but mark as weaker.
- Balance signal: count expansion proposals (add) vs convergence proposals (sharpen/remove). Show the ratio above the user gate as information, not warning — e.g.,
Balance: 4 expand / 2 sharpen / 1 remove. Both directions are legitimate; the user decides what mix to accept.
Output of Reflect: a tagged candidate list with per-item metadata (sources_backing, type=expand|sharpen|remove|resolve_conflict).
Phase 3 — Refine (User Adoption Gate)
Use the active runtime's ask_user capability with executable single-choice questions only. Do not ask one multi-select question or present options that can be selected contradictorily.
Ask sequential single-choice questions in this order:
- For each conflict group, ask one question with exactly one option per mutually exclusive resolution plus "Leave unchanged"; handle the runtime's free-form "Other" response if available. Record the chosen option as accepted and mark the other options in that group rejected.
- For non-conflicting convergent signals, ask one single-choice batch question: "Apply all strong non-conflicting revisions, review one by one, or skip them?" If the user chooses review, ask each revision as a Yes/No/Other single-choice question.
- For singleton signals, ask one single-choice batch question: "Review singleton revisions one by one, skip all singleton revisions, or other?" If the user chooses review, ask each revision as a Yes/No/Other single-choice question.
- Always include a skip option at the batch level: "None of the above / keep current seed for now". If selected, skip applying this candidate batch; the current seed simply stands as-is.
Convergent signals still appear first in summaries, conflicts second, singletons last. Conflict questions must be asked before any non-conflicting batch is applied so contradictory revisions cannot both enter the next seed.
Refinement pass — QA advisory score X.XX
Which revisions should enter the next seed?
(Nothing accepted by default. Questions are single-choice and may be sequential.)
Strong (multiple sources agree):
A. [QA + Simplifier] Criterion 3 "easy to use" — sharpen to measurable predicate
B. [QA + Socrates] Re-add "single-user only" constraint dropped from iter-0
Conflicts (mutually exclusive — pick at most one per group):
C1. [Researcher] Add User entity to ontology
C2. [Simplifier] Remove User reference from goal (single-user implied)
C3. Neither — leave ontology untouched on this point
Singletons:
D. [Contrarian] Constraint "no external DB" contradicts criterion 7
E. [Architect] Group 3 user-management criteria under one parent
F. [Hacker] Replace "user authentication" with "device-local key file"
Other:
G. None of the above (keep current seed)
H. Other — describe a different changePortable gate example:
{
"questions": [{
"question": "Conflict: how should the seed handle User in the ontology?",
"header": "Conflict C",
"options": [
{"label": "Add User", "description": "Accept C1 and reject C2/C3"},
{"label": "Remove User", "description": "Accept C2 and reject C1/C3"},
{"label": "Leave unchanged", "description": "Accept C3 and reject C1/C2"}
],
"multiSelect": false
}]
}Balance line shown above the question: Balance: 4 expand / 2 sharpen / 1 remove (informational, not a warning).
Track all rejected candidates across iterations and pass them as failed_attempts to subsequent ouroboros_lateral_think calls when the MCP lateral tool is available, so personas don't re-propose them.
Phase 4 — Restate (apply accepted only)
Edit the previous seed YAML in place. Apply ONLY user-accepted items. Do not start from scratch. Do not lose fields that were already correct. Do not call ouroboros_generate_seed again — that tool runs only at initial generation.
If the user skips all proposed revisions, the current seed stands unchanged. After applying accepted items (or after a full skip), re-run the QA check once for an updated advisory line and present the complete Seed YAML in a fenced yaml block so the standing artifact is explicit. Do not start another pass without a fresh explicit opt-in.
Common edit shapes (both expansion and convergence are legitimate when the user accepted them):
- Sharpen: replace vague phrase with measurable predicate (
"fast"→"p95 latency < 200ms") - Tighten: harden a soft constraint (
"some kind of storage"→"SQLite, single file, no server") - Make implicit explicit: surface a silent assumption as a constraint
- Remove: drop a contradicting or redundant criterion
- Expand (when accepted): add an ontology entity, criterion, or constraint that fills a gap the user confirmed
Audit trail
After each revision, append a brief audit block to ~/.ouroboros/seed-revisions/<revision_key>.md (create the directory if it doesn't exist) capturing: iteration N, QA score, all candidates with source tag, user's accept/reject decisions, and the resulting diff vs. previous iteration. This makes the convergence path inspectable and lets the user replay decisions later.
Choose revision_key deterministically:
- If
session_idexists, use that exactsession_id. - If no
session_idexists (common in Path B), derive a stable seed label from the seed goal or project name plus the current UTC timestamp, for example<slugified-goal>-YYYYMMDDTHHMMSSZ. Once derived, reuse the same key for every iteration in the current seed run. - If the filesystem write is unavailable, include the same audit block in the assistant response instead of silently dropping it.
Format:
## Iteration N — score X.XX
### Candidates
- [A] [QA+Simplifier] sharpen criterion 3 — **accepted**
- [B] [Socrates] re-add single-user constraint — **accepted**
- [C1] [Researcher] add User entity — rejected
- [C2] [Simplifier] remove User from goal — **accepted**
- [D] [Contrarian] resolve no-DB / criterion-7 conflict — rejected
- ...
### Diff vs. iteration N-1
- criteria[2]: "easy to use" → "first-time user completes flow in < 3 clicks"
- constraints: + "single-user only"
- goal: "...for users..." → "...for the single operator..."Seed Components
The seed contains:
- GOAL: Clear primary objective
- CONSTRAINTS: Hard limitations (e.g., Python >= 3.12, no external DB)
- ACCEPTANCE_CRITERIA: Measurable success criteria
- ONTOLOGY_SCHEMA: Data structure definition (name, fields, types)
- EVALUATION_PRINCIPLES: Quality principles with weights
- EXIT_CONDITIONS: When the workflow should terminate
- METADATA: Version, timestamp, ambiguity score, interview ID
Example Output
goal: Build a CLI task management tool
constraints:
- Python >= 3.12
- No external database
- SQLite for persistence
acceptance_criteria:
- Tasks can be created
- Tasks can be listed
- Tasks can be marked complete
ontology_schema:
name: TaskManager
description: Task management domain model
fields:
- name: tasks
type: array
description: List of tasks
- name: title
type: string
description: Task title
evaluation_principles:
- name: completeness
description: All requirements are implemented
weight: 1.0
- name: usability
description: CLI commands are clear and easy to use
weight: 0.7
exit_conditions:
- name: all_criteria_met
description: All acceptance criteria pass
criteria: 100% of acceptance criteria are satisfied
- name: tests_green
description: The project test suite passes
criteria: Required automated tests exit successfully
metadata:
ambiguity_score: 0.15After Seed Generation
On successful seed generation, first announce:
Your seed has been crystallized!Then check ~/.ouroboros/prefs.json for star_asked. If star_asked is not set to true, use the active runtime's ask_user capability with this single question:
{
"questions": [{
"question": "If Ouroboros helped clarify your thinking, a GitHub star supports continued development. Ready to unlock Full Mode?",
"header": "Next step",
"options": [
{
"label": "\u2b50 Star & Setup",
"description": "Star on GitHub + run ooo setup to enable run, evaluate, status"
},
{
"label": "Just Setup",
"description": "Skip star, go straight to ooo setup for Full Mode"
}
],
"multiSelect": false
}]
}- Star & Setup: Run
gh api -X PUT /user/starred/Q00/ouroboros, merge{"star_asked": true}into~/.ouroboros/prefs.json, then read and execute../setup/SKILL.md - Just Setup: Merge
{"star_asked": true}into~/.ouroboros/prefs.json, then read and execute../setup/SKILL.md - Other (user provides custom text): Merge
{"star_asked": true}into~/.ouroboros/prefs.json, skip setup
Create ~/.ouroboros/ directory if it doesn't exist. Preserve existing keys such as welcomeShown, welcomeCompleted, and welcomeVersion when updating star_asked:
ouroboros_python - <<'PY'
import json, os
path = os.path.expanduser('~/.ouroboros/prefs.json')
os.makedirs(os.path.dirname(path), exist_ok=True)
try:
with open(path, encoding='utf-8') as f:
prefs = json.load(f)
if not isinstance(prefs, dict):
prefs = {}
except Exception:
prefs = {}
prefs['star_asked'] = True
with open(path, 'w', encoding='utf-8') as f:
json.dump(prefs, f, indent=2)
f.write('\n')
PYIf star_asked is already true, skip the question and just announce:
Your seed has been crystallized!
◆ Current state → next: `ooo run` to execute this seed (requires `ooo setup` first)RFC #1392 State Breadcrumb Footer
Your final response MUST end with exactly one breadcrumb footer line:
◆ <current state> → next: <recommended action>Derive <current state> from live session state via ouroboros_session_status when that MCP projection is available; otherwise derive it from this skill's actual outcome. Never use a linear Step N of M footer because Ouroboros is an evolutionary loop. When the next action is genuinely a choice, list 2-3 honest options in the next: clause. The breadcrumb line must be the last line of the response.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

