Get the FREE Ultimate OpenClaw Setup Guide →

setup

Flagged

{"isSafe":false,"isSuspicious":true,"riskLevel":"high","findings":[{"category":"shell_command","severity":"high","description":"Remote installer script piped to shell from curl to a remote URL. This enables executing arbitrary code from the network during setup, which is a classic remote code execution risk.","evidence":"curl -LsSf https://astral.sh/uv/install.sh | sh"},{"category":"suspicious_url","severity":"high","description":"Installer URL appears external and potentially untrusted. Using an installer script from an unfamiliar domain can introduce malware or unwanted changes.","evidence":"https://astral.sh/uv/install.sh"},{"category":"system_harm","severity":"low","description":"The setup flow automatically creates/updates user configuration files (e.g., ~/.claude/mcp.json) without explicit per-run user confirmation, which could lead to unintended changes or security implications.","evidence":"Automatically create or update ~/.claude/mcp.json (Step 2)"}],"summary":"Security assessment flags a high-risk remote installer pattern (curl ... | sh) and usage of an external URL for installation. Also notes automatic modification of user config files without explicit consent. Recommend safer install methods (manual verification of installer, or curl | bash should be avoided or minimized to trusted scripts), explicit user consent for config changes, and validation of URLs before execution."}

npx machina-cli add skill Q00/ouroboros/setup --openclaw
Files (1)
SKILL.md
12.2 KB

/ouroboros:setup

Guided onboarding wizard that converts users into power users.

Usage

ooo setup
/ouroboros:setup
/ouroboros:setup --uninstall

Note: Setup is required for the full Ouroboros experience. Run this after installing the plugin to unlock all features.


Setup Wizard Flow

When the user invokes this skill, guide them through an enhanced 6-step wizard with progressive disclosure and celebration checkpoints.


Step 0: Welcome & Motivation (The Hook)

Start with energy and clear value:

Welcome to Ouroboros Setup!

Let's unlock your full AI development potential.

What you'll get:
- Visual TUI dashboard for real-time progress tracking
- 3-stage evaluation pipeline for quality assurance
- Drift detection to keep projects on track
- Cost optimization (85% savings on average)

Setup takes ~2 minutes. Let's go!

Step 0.5: Community Support

Before we begin, check ~/.ouroboros/prefs.json for star_asked. If not true, use AskUserQuestion:

{
  "questions": [{
    "question": "Ouroboros is free and open-source. A GitHub star helps other developers discover it. Star the repo?",
    "header": "Community",
    "options": [
      {
        "label": "Star on GitHub",
        "description": "Takes 1 second — helps the project grow"
      },
      {
        "label": "Skip for now",
        "description": "Continue with setup"
      }
    ],
    "multiSelect": false
  }]
}
  • Star on GitHub: Run gh api -X PUT /user/starred/Q00/ouroboros, save {"star_asked": true} to ~/.ouroboros/prefs.json
  • Skip for now: Save {"star_asked": true} to ~/.ouroboros/prefs.json
  • Other: Save {"star_asked": true}

Create ~/.ouroboros/ directory if it doesn't exist.

If star_asked is already true, skip this step silently.


Step 1: Environment Detection

Check the user's environment with clear feedback:

python3 --version
which uvx 2>/dev/null && uvx --version 2>/dev/null
which claude 2>/dev/null

IMPORTANT: If system Python is < 3.14 but uvx is available, also check uv-managed Python:

uv python list 2>/dev/null | grep "cpython-3.14"

If uv python list shows Python 3.14+ available, this counts as Full Mode because uvx ouroboros-ai mcp serve automatically uses uv-managed Python 3.14+ (not system Python).

Report results with personality:

Environment Detected:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

System Python 3.13         [!] Below 3.14
uv Python 3.14+            [✓] Available (uvx will use this)
uvx package runner         [✓] Available
Claude Code CLI            [✓] Detected

→ Full Mode Available (via uvx + uv-managed Python 3.14)

Decision Matrix:

EnvironmentModeAction
uvx + uv Python 3.14+ReadyProceed to MCP registration
System Python 3.14+ReadyProceed to MCP registration
uvx + Python < 3.14 onlyInstall neededRun uv python install 3.14 then proceed
No uvxInstall neededRun curl -LsSf https://astral.sh/uv/install.sh | sh then uv python install 3.14

IMPORTANT: If Python 3.14+ is not available, DO NOT skip to "Plugin-Only mode". Guide the user to install the prerequisites. MCP is required for the full Ouroboros experience.

If prerequisites are missing, show:

Ouroboros requires Python 3.14+ for the MCP server.

Quick install (< 1 minute):
  curl -LsSf https://astral.sh/uv/install.sh | sh
  uv python install 3.14

Then re-run: ooo setup

Celebration Checkpoint 1:

Great news! You're ready for the full Ouroboros experience.

Step 2: MCP Server Registration

Check if ~/.claude/mcp.json exists:

ls -la ~/.claude/mcp.json 2>/dev/null && echo "EXISTS" || echo "NOT_FOUND"

Show progress:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Registering MCP Server...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Connecting Ouroboros Python core to Claude Code.
This enables:

  Visual TUI Dashboard    [Watch execution in real-time]
  3-Stage Evaluation     [Mechanical → Semantic → Consensus]
  Drift Detection        [Alert when projects go off-track]
  Session Replay         [Debug any execution from events]

Automatically create or update ~/.claude/mcp.json (user-level, works across all projects):

{
  "mcpServers": {
    "ouroboros": {
      "command": "uvx",
      "args": ["--from", "ouroboros-ai", "ouroboros", "mcp", "serve"]
    }
  }
}

If ~/.claude/mcp.json already exists, merge intelligently (preserve other servers).

Celebration Checkpoint 2:

MCP Server Registered! You can now:
- Run ooo run for visual TUI execution
- Run ooo evaluate for 3-stage verification
- Run ooo status for drift tracking

Step 3: CLAUDE.md Integration (Optional)

Ask with clear value proposition:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  CLAUDE.md Integration
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Add Ouroboros quick-reference to your CLAUDE.md?

This gives you instant command reminders without leaving
your project context.

What gets added (~40 lines):
- Philosophy and pipeline overview
- Command routing table with lazy-loaded agents
- Agent catalog summary

A backup will be created: CLAUDE.md.bak

[Integrate / Skip / Preview first]

If "Preview first", show:

<!-- ooo:START -->
<!-- ooo:VERSION:0.14.0 -->
# Ouroboros — Specification-First AI Development

> Before telling AI what to build, define what should be built.
> As Socrates asked 2,500 years ago — "What do you truly know?"
> Ouroboros turns that question into an evolutionary AI workflow engine.

Most AI coding fails at the input, not the output. Ouroboros fixes this by
**exposing hidden assumptions before any code is written**.

1. **Socratic Clarity** — Question until ambiguity ≤ 0.2
2. **Ontological Precision** — Solve the root problem, not symptoms
3. **Evolutionary Loops** — Each evaluation cycle feeds back into better specs

```
Interview → Seed → Execute → Evaluate
    ↑                           ↓
    └─── Evolutionary Loop ─────┘
```

## ooo Commands

Each command loads its agent/MCP on-demand. Details in each skill file.

| Command | Loads |
|---------|-------|
| `ooo` | — |
| `ooo interview` | `ouroboros:socratic-interviewer` |
| `ooo seed` | `ouroboros:seed-architect` |
| `ooo run` | MCP required |
| `ooo evolve` | MCP: `evolve_step` |
| `ooo evaluate` | `ouroboros:evaluator` |
| `ooo unstuck` | `ouroboros:{persona}` |
| `ooo status` | MCP: `session_status` |
| `ooo setup` | — |
| `ooo help` | — |

## Agents

Loaded on-demand — not preloaded.

**Core**: socratic-interviewer, ontologist, seed-architect, evaluator,
wonder, reflect, advocate, contrarian, judge
**Support**: hacker, simplifier, researcher, architect
<!-- ooo:END -->

If Integrate:

  1. Backup existing CLAUDE.md to CLAUDE.md.bak
  2. Append the block above
  3. Confirm successful integration

Celebration Checkpoint 3:

CLAUDE.md updated! You now have instant Ouroboros reference
available in every project.

Step 4: Quick Verification

Run verification with visual feedback:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Verifying Setup...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Check skills are loadable:

ls skills/ | wc -l  # Should show 12+ skills

Check agents are available:

ls agents/ | wc -l  # Should show 9+ agents

Check MCP registration (if enabled):

cat ~/.claude/mcp.json | grep -q ouroboros && echo "MCP: ✓" || echo "MCP: ✗"

Step 5: Success Summary

Display with celebration:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Ouroboros Setup Complete!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Mode:                     Full Mode (Python 3.14 + MCP)
Skills Registered:        15 workflow skills
Agents Available:         9 specialized agents
MCP Server:               ✓ Registered
CLAUDE.md:                ✓ Integrated

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  You're Ready to Go!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Start your first project:
  ooo interview "your project idea"

Learn what's possible:
  ooo help

Try the interactive tutorial:
  ooo tutorial

Join the community:
  Star us on GitHub! github.com/Q00/ouroboros

Step 6: First Project Nudge

Encourage immediate action:


Your first Ouroboros project is waiting!

The best way to learn is by doing. Try:

  ooo interview "Build a CLI tool for [something you need]"

Or explore examples:
  ooo tutorial

You're going to love seeing vague ideas turn into
crystal-clear specifications. Let's build something amazing!

Progressive Disclosure Schedule

Reveal features gradually to avoid overwhelm:

Immediate (Plugin Mode)

  • ooo interview - Socratic clarification
  • ooo seed - Specification generation
  • ooo unstuck - Lateral thinking

After Setup (MCP Mode)

  • ooo run - TUI execution
  • ooo evaluate - 3-stage verification
  • ooo status - Drift tracking

Power User (Discover organically)

  • Evolutionary loop and ralph persistence
  • Cost prediction and optimization
  • Session replay and debugging
  • Custom agents and skills

Uninstall

When invoked with --uninstall:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Ouroboros Uninstall
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

This will remove:
- MCP server registration from ~/.claude/mcp.json
- Ouroboros block from CLAUDE.md

This will NOT remove:
- Plugin files in .claude-plugin/
- Any generated seeds or projects
- Your project data

Uninstall Ouroboros configuration? [Yes / No]

If Yes:

  1. Remove ouroboros entry from ~/.claude/mcp.json (if exists)
  2. Remove <!-- ooo:START --> to <!-- ooo:END --> block from CLAUDE.md (if exists)
  3. Confirm: "Ouroboros plugin configuration removed. To remove plugin files, run: claude plugin uninstall ouroboros"

Setup Troubleshooting

"python3: command not found"

Plugin mode still works! You can use:
- ooo interview
- ooo seed
- ooo unstuck

For Full Mode, install Python 3.14+:
  macOS: brew install python@3.14
  Ubuntu: sudo apt install python3.14
  Windows: python.org/downloads

"uvx: command not found"

uvx is recommended but not required. Alternative:

Install Ouroboros globally:
  pip install ouroboros-ai

Then update ~/.claude/mcp.json with:
  "command": "python"
  "args": ["-m", "ouroboros", "mcp", "serve"]

"~/.claude/mcp.json conflicts"

Ouroboros will merge with existing MCP servers.
If you see issues, share your ~/.claude/mcp.json content and
we'll help you resolve conflicts.

Conversion Metrics Track

Track these checkpoints for conversion optimization:

  • Started setup (skill invoked)
  • Environment detected successfully
  • MCP server registration accepted
  • CLAUDE.md integration accepted
  • Verification passed
  • First project started (ooo interview)
  • First seed generated (ooo seed)
  • First execution completed (ooo run)

A fully converted user = all checkpoints passed

Source

git clone https://github.com/Q00/ouroboros/blob/main/skills/setup/SKILL.mdView on GitHub

Overview

An on-boarding wizard that guides users through a 6-step Ouroboros setup to unlock the full experience. It uses progressive disclosure, real-time progress, and celebration checkpoints to turn newcomers into power users while validating environment readiness and MCP server access.

How This Skill Works

Invoked with ooo setup or /ouroboros:setup, it runs a 6-step wizard that provides clear prompts, live progress, and checkpoints. It includes Step 0 Welcome, Step 0.5 Community, Step 1 Environment Detection, and Step 2 MCP Server Registration, plus other steps to complete the flow. It creates ~/.ouroboros, saves preferences like star_asked, evaluates Python/uvx/Claude readiness to determine Full Mode, and guides the user toward MCP setup for full functionality.

When to Use It

  • When onboarding a new Ouroboros user after plugin installation to unlock full features
  • When validating the user's environment for Full Mode (Python 3.14+, uvx, and uv-managed Python)
  • When guiding MCP server registration through Step 2 of the wizard
  • When nudging community engagement during onboarding (GitHub star prompt in Step 0.5)
  • When guiding users through the overall setup flow, including install/uninstall paths

Quick Start

  1. Step 1: Run the wizard with ooo setup or /ouroboros:setup
  2. Step 2: Complete Step 0/0.5 prompts (including optional Star on GitHub) and Step 1 environment checks; setup creates ~/.ouroboros and saves prefs
  3. Step 3: Proceed through Step 2 MCP registration and reach Full Mode readiness; celebrate and start using Ouroboros features

Best Practices

  • Lead with tangible benefits in Step 0 to motivate users
  • Use progressive disclosure to prevent overwhelm and reveal details gradually
  • Provide celebratory checkpoints at key milestones to boost motivation
  • Detect and adapt to the user's environment (Python, uvx, claude) without blocking progress
  • Persist user choices and state in ~/.ouroboros (create the directory if missing) and update prefs.json accordingly

Example Use Cases

  • A new developer completes Step 0–2 after installing the plugin, unlocks full features, and proceeds to MCP registration
  • A solo builder verifies Python 3.14+ availability and auto-selects Full Mode during Environment Detection
  • Step 0.5 prompts the user to star the GitHub repo, and the choice is saved to ~/.ouroboros/prefs.json
  • The wizard creates ~/.ouroboros and stores star_asked, then proceeds to MCP server registration
  • If prerequisites are missing, the wizard provides quick install instructions and suggests re-running ooo setup

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers