ooo — Ouroboros Specification-First Workflow
Stop prompting. Start specifying.
ooo is the portable Ouroboros method for spec-first development. The
interview is grounded in live git data, the frozen seed is rendered into
an execution plan by spec-kit, and the run stage executes through
cli-anything agent-native harnesses:
git data (commits · churn · contributors)
↓ (regenerated every interview)
Interview → Seed → Plan (spec-kit) → Execute (cli-anything) → Evaluate → Evolve
↓ ↑
ooo ralph --json artifact evidence
(persist until verified)
Three bindings make the philosophy concrete:
- Git-aware interview — the Socratic interview scores its brownfield
Context weighting against .ouroboros/interview-context.md, a derived
file regenerated from the repository's current commits, churn hotspots,
contributors, and working-tree state. The interview philosophy stays
bound to updated git data, never to stale chat memory.
- spec-kit execution planning — after the seed freezes, GitHub
spec-kit's /speckit.plan → /speckit.tasks render the reviewable
execution plan from the seed. The seed stays the contract SSOT;
spec-kit owns only the plan artifact (direction: seed → plan).
- cli-anything execute harnesses — the run stage drives real software
through CLI-Hub harnesses (cli-hub search → install → launch)
instead of brittle GUI automation or bare shell guessing. Every harness
command supports --json; that structured output is the artifact
evidence the evaluate stage accepts. Name the harnesses in seed
constraints so tool drift becomes measurable spec drift.
Installation
ooo installs on its own: scripts/install.sh needs no OpenSpace checkout, venv,
or ranker. Package downloads and installation writes still need approval, and MCP
registration is separate (see the setup guide). Choosing which skill fits a
request is the openspace skill's job: its prompt hook ranks the installed catalog
before the model runs, so a request that matches ooo surfaces it without ooo
depending on OpenSpace.
Plugin (recommended for Claude Code)
claude plugin marketplace add Q00/ouroboros
pip
pip install ouroboros-ai # base
pip install 'ouroboros-ai[all]' # full CLI: Claude SDK, LiteLLM, TUI (MCP SDK 1.x)
pip install 'ouroboros-ai[mcp]' # MCP server (`ouroboros mcp serve` needs MCP SDK 2)
Skill + integrations (recommended, any platform)
npx skills@1.9.0 add https://github.com/akillness/jeo-skills --skill ooo
# One-shot installer: skill + ouroboros-ai + git interview + spec-kit + cli-anything
bash scripts/install.sh
GLOBAL=1 AGENTS="claude-code,codex" bash scripts/install.sh
# Knobs (designate at install time):
# OOO_GIT_INTERVIEW=0 — skip git-aware interview wiring (default: on)
# OOO_SPEC_KIT=0 — skip spec-kit/`specify-cli` (default: on)
# OOO_CLI_ANYTHING=0 — skip cli-anything/CLI-Hub (default: on)
# SPEC_KIT_REF=v0.0.10 — pin the spec-kit git ref
# CLI_ANYTHING_HUB_SPEC="cli-anything-hub==0.2.0" — pin CLI-Hub
# SKIP_PACKAGE=1 / SKIP_SKILL=1 / OOO_EXTRAS=mcp
# PYTHON_BIN=<path> — use the Python that has Ouroboros installed
# OOO_MODEL_SETUP=0 — skip account model preview (default: on)
# OOO_MODEL_APPLY=1 — explicitly approve model config writes (default: off)
# OOO_RUNTIME=codex / OOO_LLM_BACKEND=codex — separate namespaces
# OOO_MODEL=<id> / OOO_CONFIG=<path> — exact discovered ID / target config
Setup runtimes
ouroboros setup # auto-detect Claude / Codex / OpenCode
ouroboros setup --runtime claude
ouroboros setup --runtime codex
ouroboros setup --runtime opencode --opencode-mode plugin
Account-aware model setup
After package installation and CLI authentication, use