setup
Skill này làm gì
Skill là một trình hướng dẫn thiết lập cho công cụ Ouroboros trong Claude Code. Skill dành cho người muốn chạy Ouroboros mà không phải tự tìm ra từng bước.
Khi nào nên dùng
- ✓Khi bạn cài đặt Ouroboros lần đầu trong Claude Code.
- ✓Khi bạn muốn thêm một khối tham chiếu Ouroboros vào ghi chú dự án.
- ✓Khi bạn muốn gỡ bỏ thiết lập Ouroboros khỏi Claude Code.
Liên kết skill
https://github.com/Q00/ouroboros/blob/main/skills/setup/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy thiết lập Ouroboros cho tôi trong Claude Code và hỏi từng câu trước khi thay đổi bất cứ thứ gì.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill kiểm tra phiên bản Python và môi trường chạy, hỏi các câu thiết lập từng câu một rồi thực hiện những thay đổi bạn chọn. Skill không chỉnh sửa tệp cấu hình MCP vì plugin quản lý tệp đó.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
/ouroboros:setup
Guided Ouroboros setup inside a Claude Code session.
Other runtimes (Codex, Copilot, OpenCode, and others) configure through the CLI instead, for example
ouroboros setup --runtime codexorouroboros setup --runtime copilot. See Getting Started.
Usage
ooo setup
/ouroboros:setup
/ouroboros:setup --uninstall
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() {
if command -v python3 >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python3 "$@")
return
fi
if command -v python >/dev/null 2>&1 &&
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python -c 'import sys; raise SystemExit(sys.version_info < (3, 12))') >/dev/null 2>&1
then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command python "$@")
return
fi
if command -v uv >/dev/null 2>&1; then
(unset PYTHONHOME PYTHONPATH PYTHONPLATLIBDIR PYTHONEXECUTABLE __PYVENV_LAUNCHER__; command uv run --no-project --quiet --python '>=3.12' python "$@")
return
fi
printf '%s\n' 'Ouroboros skills require Python >= 3.12 or uv on PATH.' >&2
return 127
}
<!-- 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:
ouroboros_python - <<'PY'
import json, os
path = os.path.expanduser('~/.ouroboros/prefs.json')
os.makedirs(os.path.dirname(path), exist_ok=True)
try:
with open(path, encoding='utf-8') as f:
prefs = json.load(f)
if not isinstance(prefs, dict):
prefs = {}
except Exception:
prefs = {}
prefs['star_asked'] = True
with open(path, 'w', encoding='utf-8') as f:
json.dump(prefs, f, indent=2)
f.write('\n')
PY
Step 1: Environment Detection
ouroboros_python --version
which uvx 2>/dev/null && uvx --version 2>/dev/null
which claude 2>/dev/null
uv python list 2>/dev/null | grep "cpython-3.1[2-9]"
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 'ouroboro
Câu hỏi thường gặp
Có cần Python không?
Có, cần Python 3.12 trở lên, và skill sẽ dùng uv nếu cần.
Skill có thay đổi tệp cấu hình MCP của bạn không?
Không. Mô tả cho biết skill để tệp đó yên vì plugin sở hữu nó.
Skill có gỡ bỏ thiết lập được không?
Có. Skill có tùy chọn gỡ cài đặt.
Chi tiết
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14360
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
auto
6.3kGiúp agent của bạn biến một tác vụ lớn thành đặc tả bằng văn bản, rồi xây dựng và kiểm thử trong nền cho đến khi hoạt động và đạt các kiểm tra.
brownfield
6.3kGiúp agent của bạn giữ danh sách các kho mã hiện có và chọn những kho mặc định dùng làm ngữ cảnh cho các phỏng vấn.
ouroboros-config
6.3kGiúp agent của bạn mở trang cài đặt Ouroboros để chọn mô hình, backend và các tùy chọn theo từng giai đoạn trong trình duyệt.
evaluate
6.3kGiúp agent của bạn kiểm tra xem công việc đã hoàn thành có đáp ứng tiêu chí nghiệm thu hay không, bằng các kiểm tra tự động và đánh giá theo từng tiêu chí.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.