Q00/ouroboros/.claude-plugin/skills/run/SKILL.md
ouroboros-run
Execute a Seed specification through the workflow engine
- Source repository stars
- 5,649
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-08-25
- Source checked
- 2026-08-25
Decision brief
What it does: where it fits
Execute a Seed specification through the Ouroboros workflow engine.
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/Q00/ouroboros --skill ".claude-plugin/skills/run"Inspect the Agent Skill "ouroboros-run" from https://github.com/Q00/ouroboros/blob/0eeae389dfed305ff4c3d76c35c56cc2d9e2661f/.claude-plugin/skills/run/SKILL.md at commit 0eeae389dfed305ff4c3d76c35c56cc2d9e2661f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Usage
Trigger keywords: "ouroboros run", "execute seed"
Trigger keywords: "ouroboros run", "execute seed" - 02
Instructions
When the user invokes this skill:
Use the active runtime's tool-discovery capability to find and load the execution MCP tools:The tools will typically be named with prefix mcppluginouroborosouroboros (e.g., ouroborosexecuteseed, ouroborossessionstatus). After runtime tool discovery returns, the tools become callable.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 th… - 03
How It Works
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 ses…
Input: Provide seed YAML content directly or a path to a .yaml fileValidation: Seed is parsed and validated (goal, constraints, acceptance criteria, ontology)Execution: The orchestrator runs the workflow with PAL routing - 04
Load MCP Tools (Required first)
The Ouroboros MCP tools are often registered as deferred tools that must be explicitly loaded before use. You MUST perform this step before proceeding.
Use the active runtime's tool-discovery capability to find and load the execution MCP tools:The tools will typically be named with prefix mcppluginouroborosouroboros (e.g., ouroborosexecuteseed, ouroborossessionstatus). After runtime tool discovery returns, the tools become callable.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 th… - 05
Execution Steps
1. Detect git workflow (before any code changes): - Read the project's CLAUDE.md for git workflow preferences - If PR-based workflow detected and currently on main/master: - Create a feature branch: ooo/run/ - All code changes go to this branch - If no preference: use current br…
Detect git workflow (before any code changes):Read the project's CLAUDE.md for git workflow preferencesIf PR-based workflow detected and currently on main/master:
Permission review
Static risk signals and limitations
Reads files
The documentation asks the agent to read local files, directories, or repositories.
If a file path: Read the file with the Read toolEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 93/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 5,649 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- Q00/ouroboros
- Skill path
- .claude-plugin/skills/run/SKILL.md
- Commit
- 0eeae389dfed305ff4c3d76c35c56cc2d9e2661f
- License
- MIT
- Collected
- 2026-08-25
- Default branch
- main
View the original SKILL.md
/ouroboros:ouroboros-run
Execute a Seed specification through the Ouroboros workflow engine.
Usage
/ouroboros:ouroboros-run [seed_file_or_content]
Trigger keywords: "ouroboros run", "execute seed"
How It Works
- Input: Provide seed YAML content directly or a path to a
.yamlfile - Validation: Seed is parsed and validated (goal, constraints, acceptance criteria, ontology)
- Execution: The orchestrator runs the workflow with PAL routing
- Progress: Real-time progress updates via session tracking
- Result: Execution summary with pass/fail status
Instructions
When the user invokes this skill:
Load MCP Tools (Required first)
The Ouroboros MCP tools are often registered as deferred tools that must be explicitly loaded before use. You MUST perform this step before proceeding.
- Use the active runtime's tool-discovery capability to find and load the execution MCP tools:
tool discovery query: "+ouroboros execute" - 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. - 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.
Execution Steps
-
Detect git workflow (before any code changes):
- Read the project's
CLAUDE.mdfor git workflow preferences - If PR-based workflow detected and currently on
main/master:- Create a feature branch:
ooo/run/<session_id> - All code changes go to this branch
- Create a feature branch:
- If no preference: use current branch (backward compatible)
- Read the project's
-
Check if the user provided seed content or a file path:
- If a file path: Read the file with the Read tool
- If inline YAML: Use directly
- If neither: Check conversation history for a recently generated seed
Before a fresh start, when no efficiency choice is already known, first check the persistent default: when
execution.default_policyin~/.ouroboros/config.yamlisefficientorquality_first, do not ask — omit both arguments and the server applies the configured default (the start handoff still reports the resolved policy). Otherwise ask in user-outcome language: Efficient execution maps toefficiency_mode="adaptive"plusfrugality_assurance="observe"; Quality-first execution maps toefficiency_mode="quality_first"plusfrugality_assurance="off".strictassurance is a separate explicit opt-in because proof may cost extra. Do not ask or override these values on resume; the server restores the persisted contract. -
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_tierby default so the runtime selects automatically. Includemodel_tier: <user choice>only when the user explicitly requested a tier. This returns immediately with ajob_id,session_id, andexecution_id. -
If resuming an existing session, include
session_id:Tool: ouroboros_start_execute_seed Arguments: seed_content: <the seed YAML> session_id: <existing session ID> -
Recommended monitoring stance: delegate one exclusive observer.
After IDs are returned, print only this short handoff:
Execution started in background. Job ID: <job_id> Session ID: <session_id> Execution ID: <execution_id> Live view: <response.meta.dashboard_url, or `ouroboros tui open`> Runtime/harness: <response.meta.runtime_backend> LLM backend: <response.meta.llm_backend> Efficiency: <response.meta.efficiency_mode> Frugality assurance: <response.meta.frugality_assurance> A read-only observer will report meaningful progress, attention, and terminal events here. This conversation remains available for requirement refinement, read-only review, explicit control, or unrelated work in an isolated worktree. For full details later: `ouroboros_ac_tree_hud(session_id=<session_id>)`If
response.meta.job_observeris unavailable, recover it from the final<!-- ouroboros-job-observer-v1 base64 ... -->content sentinel. Fail closed unless the single bounded payload passes canonical v1 validation and its job/session/execution identity matches the visible start receipt. Visible IDs are identity anchors only; never reconstruct tools or arguments from them.When a structured or validated recovered
job_observeris present and an independent Task/Agent child is available, spawn exactly one read-only observer and pass the contract unchanged. It exclusively owns job wait/result and the cursor. The main session must not poll the same job. Before writing to the active workspace, check worker overlap or use an isolated worktree. Do not claim an observer exists until Task/Agent returns a live child handle. On Codex, oncespawn_agentreturns that handle, keep the parent turn open withwait_agentcalls of at most 60 seconds until the observer returns its terminal summary. Childsend_messagecalls only queue mailbox events and cannot revive an ended parent turn. Relay meaningful updates, handle user input if it interrupts the wait, and resume waiting while the observer is active unless the user asks to stop live observation or replaces the active request. Then end only the relay loop, keep the durable job running, and offer next-turn or explicit-status catch-up. If the observer child fails, is cancelled, or exits before a terminal summary, use that same fallback instead of waiting indefinitely. This relay loop must not poll the job or take cursor ownership. If creation fails, do not promise live proactive relays. The detached worker survives the stdio turn; catch up from durable events on the next parent turn or explicit status request. Keep the fallback polling loop open only for explicit live watching. -
Fallback low-token relay loop with
ouroboros_job_wait.Use this only when no independent observer session exists and the user asked for live watching in this turn; otherwise catch up on the next parent turn. Never run both.
Use
ouroboros_job_wait, not repeatedouroboros_ac_tree_hud, for routine monitoring. Keep the latest cursor and previous progress counters from the tool meta payload.This loop is intentionally harness/model friendly:
- Treat
response.metaas the source of truth. - Do not parse
response.textfor counts, status, or cursor. - Use
response.textonly as a human-readable current-message hint. - Keep all local monitor state in simple scalar variables.
- Emit at most one short relay message per changed response.
- Always continue to final
ouroboros_job_resultafter a terminal status.
cursor = <cursor from start/status response, or 0> prev_status = "running" prev_phase = null prev_ac_completed = 0 prev_sub_ac_completed = 0 prev_message = null loop: Tool: ouroboros_job_wait Arguments: job_id: <job_id from step 3> cursor: <cursor> timeout_seconds: 180 view: "summary" stream: "linked" wait_for: "attention_or_ac_change" cursor = response.meta.cursor if response.meta.changed is false: # Do not narrate unless the user explicitly asked for heartbeat updates. continue status = response.meta.status phase = response.meta.current_phase ac_completed = response.meta.ac_completed ac_total = response.meta.ac_total sub_ac_completed = response.meta.sub_ac_completed sub_ac_total = response.meta.sub_ac_total # The metadata field names remain legacy-compatible; relay them to users as Task/Subtask progress. message_hint = first non-empty non-metadata line from response.text, or null # Build one short relay update from structured fields. if status in ["completed", "failed", "cancelled", "interrupted"]: print terminal_relay(status, phase, ac_completed, ac_total, sub_ac_completed, sub_ac_total) break if ac_completed > prev_ac_completed: print task_progress_relay(phase, ac_completed, ac_total, sub_ac_completed, sub_ac_total, message_hint) elif sub_ac_completed > prev_sub_ac_completed: print subtask_progress_relay(phase, ac_completed, ac_total, sub_ac_completed, sub_ac_total, message_hint) elif phase != prev_phase or status != prev_status: print phase_or_status_relay(status, phase, ac_completed, ac_total, sub_ac_completed, sub_ac_total) elif message_hint != prev_message: print current_work_relay(phase, ac_completed, ac_total, sub_ac_completed, sub_ac_total, message_hint) prev_status = status prev_phase = phase prev_ac_completed = ac_completed or prev_ac_completed prev_sub_ac_completed = sub_ac_completed or prev_sub_ac_completed prev_message = message_hint or prev_messageNotes:
timeout_seconds: 180means the MCP call can block for up to 3 minutes. This keeps the main session available often enough for a live relay while still avoiding noisy polling.- Use
view: "compact"for very long jobs or when the user only wants a heartbeat. The raw tool may still return legacy text such asjob_x | running | AC 3/17; relay that to users as Task progress. - Use
view: "summary"for normal monitoring. It includes the job message plus Task/Subtask counts derived from legacyac_completed/sub_ac_completedmetadata fields. - Use
view: "full"only when the user asks for detailed job status.
Relay style examples:
In progress: Deliver is at Task 1/3 and Subtask 12/16. Current work is the Subtask 3 regression test.Level update: parallel level 1/1 has finished, and Task progress advanced to 3/3.Completed: execution finished. Fetching the final job result now.
Relay output contract for other harnesses/models:
- One update should be 1-2 sentences or 1 compact line.
- Include
phase, Task completed/total and Subtask completed/total when present. - Include the current work hint only if it changes.
- Never include the full task tree in routine relay output.
- Never include raw JSON, raw meta dumps, or repeated unchanged cursor lines.
- Terminal statuses must be explicit: completed, failed, cancelled, or interrupted.
Interpret
meta.relay_eventsas structured user-facing facts:run_configuration: current runtime/harness, starting model or tier when known, efficiency mode, and frugality assurance.execution_plan: total ACs and dependency/parallel levels, whether work is parallelizable, and the first scheduled AC summaries.discovery_summary: bounded targets and purpose, never raw commands or reasoning.level_started/level_completed,ac_routing,harness_changed, andac_verified: report only meaningful transitions. Say "currently running with" because routes can escalate.attention_required: surface immediately and follow the verified menu.- Synapse
queued/deliveringis not application;applied/completedis runtime-proven and may contain a bounded AC reply.
Phrase the English canonical guidance naturally in the user's current conversation language.
Do not paste the full raw tool output unless the user asks for raw status. Do not add speculative ETA unless the tool provides one.
Synapse intent refinement: For additive user intent during a live run, reload deferred schemas with
tool discovery query: "+ouroboros session signal", callouroboros_session_signal_targetswith the observedexecution_id, and semantically match the user's meaning toac_contentand current activity. Never ask the user for internal IDs. Use the selected exact target withouroboros_session_signal(mode="redirect", fallback_mode="after_turn", contract_effect="additive", source="user"), copying the exact execution, scope, attempt, and contract-version guards plus a stable idempotency key. Usemode="inform"for a read-only AC question or assurance request, omitfallback_modeentirely in that mode, and relay the bounded completed reply. Ask only when multiple candidates remain genuinely tied. Distinguish durablequeuedfrom runtime-provenapplied/completed, never change the approved Seed contract, and render delivery state in the user's conversation language.For
attention_required, use at most one short-lived read-only verifier. Without a verifier primitive, surface the evidence and do not ACT. Otherwise VERIFY → DECIDE fromrecommended_host_actions→ LOGselectedwithouroboros_record_conductor_decision→ ACT only a menu-listed registered tool → LOGcompleted,failed, ordeclined. Run-mode specification changes require explicit user approval and a shared successor contract; never inject them into one live AC. - Treat
-
Use
ouroboros_ac_tree_hudonly for manual drill-down or anomaly checks.Do not call full tree HUD in the normal polling loop.
Use these targeted calls:
# Explicit short HUD, useful for a one-off check Tool: ouroboros_ac_tree_hud Arguments: session_id: <session_id> cursor: <cursor> view: "summary" # Lowest-token one-line HUD Tool: ouroboros_ac_tree_hud Arguments: session_id: <session_id> cursor: <cursor> view: "compact" # Full tree only when user asks "show details", progress looks stuck, # or debugging requires seeing the task/subtask structure. Tool: ouroboros_ac_tree_hud Arguments: session_id: <session_id> cursor: <cursor> view: "tree" max_nodes: 30Treat
unchanged cursor=<cursor>from explicit compact/summary views as a no-op. Do not explain it to the user unless they explicitly asked for heartbeat messages. -
Fetch final result with
ouroboros_job_result:Tool: ouroboros_job_result Arguments: job_id: <job_id> -
Present the execution results to the user:
- Show success/failure status
- Show session ID (for later status checks)
- Show execution summary
-
Post-execution QA (automatic):
ouroboros_start_execute_seedautomatically runs QA after successful execution. The QA verdict is included in the final job result text. To skip: passskip_qa: trueto the tool.
Present QA verdict with next step:
- PASS:
Next: ooo evaluate <session_id> for formal 3-stage verification - REVISE: Show differences/suggestions, then
Next: Fix the issues above, then ooo run to retry -- or ooo unstuck if blocked - FAIL/ESCALATE:
Next: Review failures above, then ooo run to retry -- or ooo unstuck if blocked
Fallback (No MCP Server)
If the MCP server is not available, inform the user:
Ouroboros MCP server is not configured.
To enable full execution mode, run: /ouroboros:setup
Without MCP, you can still:
- Use /ouroboros:interview for requirement clarification
- Use /ouroboros:seed to generate specifications
- Manually implement the seed specification
Example
User: /ouroboros:ouroboros-run seed.yaml
[Reads seed.yaml, validates, starts background execution]
Background execution started.
Job ID: job_a1b2c3d4e5f6
Session ID: orch_x1y2z3
Execution ID: exec_m1n2o3
[Relay]
In progress: Deliver is at Task 1/3 and Subtask 12/16.
Current work is finishing the workflow routing Subtask.
[Relay]
Level update: parallel level 1/1 has finished, and Task progress advanced to 3/3.
Execution is complete. Fetching the final job result now.
[Fetching final result...]
Result:
Seed Execution SUCCESS
========================
Session ID: orch_x1y2z3
Goal: Build a CLI task manager
Duration: 45.2s
Messages Processed: 12
Next: `ooo evaluate orch_x1y2z3` for formal 3-stage verification
Frequently asked questions
What to verify before installation and use
What does the ouroboros-run source document cover?
Execute a Seed specification through the Ouroboros workflow engine.
How do I install ouroboros-run?
The source record exposes this install command: npx skills add https://github.com/Q00/ouroboros --skill ".claude-plugin/skills/run". Inspect the command and pinned source before running it.
Which permission-related actions were detected?
Static rules flagged read-files in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
Q00/ouroboros
ouroboros-run
Execute a Seed specification through the workflow engine
garrytan/gbrain
bulk-ingestion
End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.
alirezarezvani/claude-skills
app-store-optimization
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
wanshuiyin/Auto-claude-code-research-in-sleep
citation-audit
Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.