q00/ouroboros/setup
- community
Checking that the SKILL.md file is still in the repository.
Guided onboarding wizard for Ouroboros setup
Install
npx vskill@latest install q00/ouroboros/setupSKILL.md
/ouroboros:setup
Guided Ouroboros setup inside a Claude Code session.
Other runtimes (Codex, Copilot, OpenCode, and others) configure through theCLI instead, for exampleouroboros setup --runtime codexorouroboros setup --runtime copilot. See
Usage
Claude setup confirms the runtime profile (the Claude Agent SDK on MCP 1.x) and optionally adds an Ouroboros reference block to the project's CLAUDE.md. It deliberately leaves ~/.claude/mcp.json untouched because marketplace plugin wiring owns that file. [claude] and its explicit [claude-sdk] alias use MCP 1.x. The plugin launches [mcp] in a separate MCP 2 process with the dependency-free [claude-cli] worker.
Setup Wizard Flow
Ask questions with the active runtime's ask_user capability unless a step says otherwise.
Python Runtime (Required)
Define this resolver in the same shell before any snippet below. It accepts only Python 3.12 or newer (python3, then python, then uv) and preserves arguments and stdin. Quote every argument passed to ouroboros_python.
<!-- ouroboros-python-resolver:start -->
<!-- ouroboros-python-resolver:end -->
Step 0.5: Community Support
If star_asked is not true in ~/.ouroboros/prefs.json, ask "Ouroboros is free and open-source. A GitHub star helps other developers discover it. Star the repo?" with Star on GitHub (run gh api -X PUT /user/starred/Q00/ouroboros) and Skip for now. After any answer, merge star_asked: true into the prefs file, keeping existing keys:
Step 1: Environment Detection
The resolver already rejects Python below 3.12 and falls back to a uv-managed interpreter; that does not make the [claude-sdk] and MCP 2 profiles import-compatible. Report what was found, then:
| Environment | Action | |
|---|---|---|
| Python >= 3.12 + Claude CLI | Ready: configure [claude] SDK/MCP 1 and skills | |
| uvx + Python >= 3.12 | MCP-capable elsewhere: use a supported CLI-backed runtime setup for isolated ouroboros-ai[mcp] | |
| Python < 3.12 only | Run uv python install 3.12, then re-run ooo setup | |
| No package runner or Ouroboros package | Install uv (below), then re-run ooo setup |
Prefer package managers for uv: pipx install uv, pip install --user uv, or brew install uv; the vendor one-liner curl -LsSf https://astral.sh/uv/install.sh | sh is the last resort.
IMPORTANT: Never install [mcp,claude], [mcp,claude-sdk], or [all,mcp] together and never write a direct ouroboros or python -m ouroboros MCP fallback. MCP 2 launchers must use an isolated uvx --isolated --python '>=3.12' --from 'ouroboros-ai[mcp]' ... or pipx run --spec 'ouroboros-ai[mcp]' ... process. Only [mcp,claude-cli] is supported because the CLI worker is out of process. Do not write an Ouroboros entry to ~/.claude/mcp.json; the plugin owns that registration.
Step 1.5: Runtime Configuration
Write the Claude runtime selection to ~/.ouroboros/config.yaml. The welcome gate and the CLI read it; nothing else in this wizard writes it. This step never touches ~/.claude/mcp.json.
Define ouroboros_cli in the same shell as each command below (shell state does not persist between commands):
The welcome gate is ready only when orchestrator.runtime_backend is claude or claude_mcp AND llm.backend is claude. A missing file or section counts as not set.
- Both conditions hold: already configured. Skip to Step 2.
runtime_backendisclaude_mcpbutllm.backendis notclaude: run
ouroboros_cli setup --runtime claude-cli --non-interactive (keeps the CLI transport).
runtime_backendis another runtime (for examplecodex): ask the user
whether to switch the default runtime to Claude. If they decline, keep the existing configuration and skip to Step 2.
- Otherwise (
runtime_backendisclaudewith anotherllm.backend, no
config, no orchestrator section), or after the user agrees to switch, run:
Both setup commands set llm.backend: claude; --runtime claude sets orchestrator.runtime_backend: claude and --runtime claude-cli sets claude_mcp. If it fails, show the error and continue the wizard; Step 4 reports the runtime as not configured.
Step 2: MCP Profile Boundary
Tell the user: the default Claude SDK profile stays on MCP 1.x, and the plugin-owned MCP server runs MCP 2 separately with the [claude-cli] worker. Do not create, update, or remove `~/.claude/mcp.json`. Existing entries may be user-managed or belong to another compatible runtime. Advanced MCP workflows require a host-managed isolated [mcp] launcher, which the Claude marketplace plugin or another supported host setup owns.
Step 3: CLAUDE.md Integration (Optional)
Offer Integrate / Skip / Preview first for adding this ~40-line reference block (pipeline, command table, agent catalog) to the project's CLAUDE.md. On Preview first, show it:
Interview → Seed → Execute → Evaluate ↑ ↓ └─── Evolutionary Loop ─────┘
On Integrate: back up CLAUDE.md to CLAUDE.md.bak, append the block, and confirm.
Step 4: Verification
Confirm (with the Step 1.5 config show commands) that the saved Ouroboros config selects the default Claude Agent SDK runtime on MCP 1.x while ~/.claude/mcp.json was not mutated by this setup. The dependency-free Claude CLI worker remains a distinct, explicit [claude-cli] selection for the isolated MCP 2 process.
Step 5: Success Summary
Step 5.1: Model Choice (Claude Code)
Offer optional model control. Ask "설정이 완료됐어요. 기본 모델 설정으로 바로 시작할 수 있고, 모델은 언제든 나중에 바꿀 수 있어요." (header 모델 설정):
- 바로 시작하기 (권장): 기본 모델 설정으로 바로 작업을 시작해요. Continue to Step 5.5.
- 직접 모델 설정하기: 단계별로 모델을 바꾸거나 목록에 없는 모델 ID를 입력해
고정해요. Read and follow ../config/SKILL.md. In the local Claude Code harness it opens the settings UI in the user's browser at a temporary localhost address. They can reopen it any time with ooo config; this choice never permanently locks a model.
Step 5.5: Brownfield Repository Scan
Register existing git repositories and linked worktrees in the Ouroboros DB so interviews can use them as brownfield context. Use the MCP tool only, not the CLI or Python scripts.
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 brownfield" for ouroboros_brownfield (both the scan and the later set_defaults call). 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. If the tool is genuinely absent, skip this step and continue to Step 6.
- Scan and register:
`` Tool: ouroboros_brownfield Arguments: { "action": "scan" } ` The walk starts at scan_root (default: the user's home directory) and goes at most two directory levels deep, skipping dot-prefixed and noisy directories such as node_modules. Normal repos (.git directory) and linked worktrees (.git` file) reached by the walk are registered self-only. Git worktree families are not expanded. Repos with no remote or any remote name are eligible. Existing defaults are preserved.
- The scan response
textalready holds a numbered list with default
markers. Do NOT make any additional MCP calls to list or query repos. Show every repo in a plain-text two-column grid inside a code block (not a markdown table), keeping the * default markers exactly as returned:
``` Scan complete. 8 repositories registered.
- repo-alpha 5. repo-epsilon
- repo-bravo * 6. repo-foxtrot
```
If no repos were found, skip to Step 6.
- Do NOT use the active runtime's `ask_user` dialog for this selection. Text emitted between
tool calls is not guaranteed to render, so a dialog can appear without the list, and option previews truncate long lists. Instead, end the turn with the repo grid as the final message, followed by the prompt:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/setup/SKILL.md
Popularity
- Repository stars
- 6,160
- Repository forks
- 619
- 7-day trend score
- 44
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/q00/ouroboros/setup)