Chuyển đến nội dung
Skillpedia
Agent6.3k · #14364

update

Skill này làm gì

Skill kiểm tra có phiên bản Ouroboros mới hơn không và nâng cấp khi bạn đồng ý. Skill dành cho người muốn giữ công cụ luôn mới mà không thay đổi cách nó đã được cài đặt.

Khi nào nên dùng

  • ✓Khi bạn muốn kiểm tra xem có phiên bản Ouroboros mới hơn không.
  • ✓Khi bạn muốn nâng cấp Ouroboros mà không thay đổi cách nó đã được cài đặt.
  • ✓Khi có thông báo cập nhật và bạn muốn áp dụng.

Liên kết skill

https://github.com/Q00/ouroboros/blob/main/skills/update/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/Q00/ouroboros/blob/main/skills/update/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem Ouroboros có bản cập nhật không và hỏi tôi trước khi cài đặt.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chạy kiểm tra cập nhật gốc và báo cho bạn biết có phiên bản mới hơn không. Nếu bạn đồng ý, skill chạy lệnh cập nhật gốc bằng đúng phương thức cài đặt trước đó.

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:update

Upgrade Ouroboros without changing the installation's manager, environment, or optional-dependency profile.

ooo update
/ouroboros:update

Instructions

The native command is the single source of truth. Run it with the active runtime's run_shell capability.

  1. Run ouroboros update --check.

    • Up to date: report the package result together with any Codex plugin version mismatch or unknown-status warning, then stop. Do not infer that every integration is current from the package version.
    • Update available: ask the user (active runtime's ask_user capability) to choose Update now or Skip. On Update now, run ouroboros update --yes. When the user actively uses both Claude Code and Codex, run ouroboros update --yes --runtime all instead; it refreshes both host integrations without changing the configured execution backend. Show the command's result.
  2. If the check fails but ouroboros update --help works, report the native error and stop. Never substitute a manual upgrade, and never infer ownership from uv tool list, pipx list, PATH order, directory names, or the active agent runtime.

  3. If ouroboros update --help does not work, this is a legacy install that predates the receipt-bound updater. Fail closed: only a read-only ouroboros --version is allowed. Explain that the original manager, environment, and extras cannot be proven, and ask the user to rerun their exact original install command (including its ouroboros-ai[...] extras and custom manager root), or to do a fresh isolated install if they do not know it. Run no package upgrade, plugin refresh, or setup command on this path.

  4. After a successful update, relay the command's restart guidance (Claude may use /reload-plugins or restart; active Codex sessions need a restart) and any Codex plugin version diagnostic. A mismatch is advisory; preserve existing marketplace refs rather than automatically removing or advancing a pin. If project instruction content needs regeneration, suggest ooo setup; never edit project instruction files as part of the update.

The updater replays the environment's install receipt, so the Claude SDK and MCP 2 profiles are never combined or substituted. Other options: --dry-run, --prerelease; see ouroboros update --help.

RFC #1392 State Breadcrumb Footer

End the final response with exactly one line ◆ <current state> → next: <recommended action>. Derive the state from live session state via ouroboros_session_status when available, otherwise from this skill's actual outcome. Never use a linear Step N of M footer; when the next step is a real choice, list 2-3 options.

Câu hỏi thường gặp

Skill có cài một trình quản lý phiên bản khác không?

Không. Mô tả cho biết skill giữ nguyên trình quản lý, môi trường và hồ sơ ban đầu.

Skill có hỏi trước khi nâng cấp không?

Có. Skill yêu cầu bạn chọn “Cập nhật ngay” hoặc “Bỏ qua”.

Nếu kiểm tra thất bại thì sao?

Skill báo lỗi gốc và dừng lại, thay vì tự nâng cấp thủ công.

Chi tiết

Mô tả gốc của tác giả

Check for updates and upgrade Ouroboros to the latest version

repo: Q00/ouroboros

Độ phổ biến

Sao GitHub
6.3k
Vị trí xếp hạng
#14364
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự