auto
Automatically converge from goal to A-grade Seed and execute it
Execute a Seed specification through the workflow engine
$ npx -y skills add Q00/ouroboros --skill run --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/runContext preview
The summary Claude sees to decide when to auto-load this skill.
Execute a Seed specification through the workflow engine
name: ouroboros-run description: "Execute a Seed specification through the workflow engine" aliases: [execute] mcp_tool: ouroboros_execute_seed mcp_args: seed_path: "$1" cwd: "$CWD"
Execute a Seed specification through the Ouroboros workflow engine.
/ouroboros:ouroboros-run [seed_file_or_content]
**Trigger keywords:** "ouroboros run", "execute seed"
1. **Input**: Provide seed YAML content directly or a path to a `.yaml` file 2. **Validation**: Seed is parsed and validated (goal, constraints, acceptance criteria, ontology) 3. **Execution**: The orchestrator runs the workflow with PAL routing 4. **Progress**: Real-time progress updates via session tracking 5. **Result**: Execution summary with pass/fail status 6. **Convergence**: completed runs enqueue formal evaluation by default. An explicit rejection continues through a bounded Ralph loop until approved or the configured evolution budget/stop condition is reached.
When the user invokes this skill:
The Ouroboros MCP tools are often registered as **deferred tools** that must be explicitly loaded before use. **You MUST perform this step before proceeding.**
1. Use the active runtime's tool-discovery capability to find and load the execution MCP tools:
tool discovery query: "+ouroboros execute"
2. The tools will typically be named with prefix `mcp__plugin_ouroboros_ouroboros__` (e.g., `ouroboros_execute_seed`, `ouroboros_session_status`). After runtime tool discovery returns, the tools become callable. 3. If the tools are callable — already exposed, or loaded by discovery — proceed with the steps below. An empty discovery result for already-exposed tools is expected, not a failure. Skip to the **Fallback** section only if they are 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 execution 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 execution `ouroboros_*` MCP tool while its schema is not loaded in the **current** turn, the runtime rejects the call with **"Invalid tool parameters"** before it reaches the server. Therefore: **immediately before EVERY execution MCP call in this skill, re-run `tool discovery query: "+ouroboros execute"`** to reload the execution tool family, including `ouroboros_start_execute_seed`, `ouroboros_job_wait`, `ouroboros_ac_tree_hud`, and `ouroboros_job_result` (idempotent — a no-op when already loaded). If the load 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 instead of retrying the failing call.
1. **Detect git workflow** (before any code changes):
2. Check if the user provided seed content or a file path:
Before a fresh start, when the user has not already chosen an efficiency policy, first check the persistent default: when `execution.default_policy` in `~/.ouroboros/config.yaml` is `efficient` or `quality_first`, do not ask — omit both arguments and the server applies the configured default (the start handoff still reports the resolved policy). When it is `ask` or unset, ask in outcome language:
strengthen the route only when recovery requires it. Send `efficiency_mode="adaptive"` and `frugality_assurance="observe"`.
Send `efficiency_mode="quality_first"` and `frugality_assurance="off"`.
`frugality_assurance="strict"` is a separate explicit opt-in because it may spend extra work on proof. Never enable it merely because efficient execution was chosen. Do not ask again on resume; the server restores the persisted policy and rejects an attempted resume-time change.
3. **Start background execution** with `ouroboros_start_execute_seed`:
Tool: ouroboros_start_execute_seed
Arguments:
seed_content: <the seed YAML>
efficiency_mode: <adaptive or quality_first>
frugality_assurance: <observe, off, or explicit strict>
max_iterations: 10 (or as specified by user)Omit `model_tier` by default so the runtime selects automatically. Include `model_tier: <user choice>` only when the user explicitly requested a tier. This returns immediately with a `job_id`, `session_id`, and `execution_id`.
4. If resuming an existing session, include `session_id`:
Tool: ouroboros_start_execute_seed
Arguments:
seed_content: <the seed YAML>
session_id: <existing session ID>5. **Recommended monitoring stance: delegate observation to one child session.**
**TUI surfacing at job start (RFC #1392):**
After `job_id`, `session_id`, and `execution_id` are returned, surface a live view once without delaying execution or observer delegation:
Agent OS: the agent gets smarter on its own. We just hold the line: Interview-gated, staged evaluation, budgeted evolution loop. MCP server, 14 runtimes: Claude Code, Codex CLI, Gemini CLI, OpenCode, Copilot, Kiro and more.
Repo: Q00/ouroboros
Automatically converge from goal to A-grade Seed and execute it
Scan and manage brownfield repository/worktree defaults for interviews
Open or drive the Ouroboros settings GUI (browser, TUI, or conversational fallback)
Evaluate execution with three-stage verification pipeline