# Ouroboros Config

Open or drive the Ouroboros settings GUI (browser, TUI, or conversational fallback)

- Repository: https://github.com/Q00/ouroboros (6302 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Q00/ouroboros --skill ouroboros-config -g -a claude-code -y`
Codex: `npx skills add Q00/ouroboros --skill ouroboros-config -g -a codex -y`
Cursor: `npx skills add Q00/ouroboros --skill ouroboros-config -g -a cursor -y`
Gemini CLI: `npx skills add Q00/ouroboros --skill ouroboros-config -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add Q00/ouroboros`

## Description

Open or drive the Ouroboros settings GUI (browser, TUI, or conversational fallback)

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# /ouroboros:ouroboros-config

Edit `~/.ouroboros/config.yaml`: global and per-stage runtime and model choices, the LLM backend, install badges for missing CLIs, and env-override warnings.

```
ooo config
/ouroboros:ouroboros-config
```

## Instructions

Pick the branch by one question: **can the user open a browser pointed at this machine?** Run commands with the active runtime's `run_shell` capability.

### Branch A: local harness on the user's own machine

1. Launch in the background (it serves until stopped):

   ```bash
   if command -v ouroboros >/dev/null 2>&1; then
     ouroboros config
   else
     uvx --python '>=3.12' --from 'ouroboros-ai[tui]' ouroboros config
   fi
   ```

   In a non-interactive context it serves the settings app on a local web server and opens the browser. The `uvx` fallback covers a plugin-only install where `ouroboros` is not on `PATH`; in a development checkout use `uv run ouroboros config`.

2. Relay the `http://localhost:<port>` line in case the browser did not open.

3. Tell the user: edit, Save, then ask you to stop the server. A running MCP server may need a reconnect to pick up backend changes. `ooo config` reopens the settings any time; a saved model choice is never locked.

### Branch B: remote host the user can reach (SSH box, home server)

```bash
ouroboros config --web --host 0.0.0.0 --no-browser
```

Relay the printed URL with this host's address substituted, plus the SSH tunnel fallback it prints (`ssh -L <port>:localhost:<port> <this-host>`).

### Branch C: chat gateway with no browser path (e.g. hermes driven from Discord)

Do not start a server nobody can reach. Drive the same settings in chat:

1. Show the current state with `ouroboros config show`.
2. Offer a short menu with current values (default agent, per-stage agents, and models: `auto`, a tier, or a model id for every role) and ask what to change.
3. Apply each choice with the validated setter (same write path as the GUI):

The rest: https://github.com/Q00/ouroboros/blob/HEAD/skills/config/SKILL.md
