跳到正文
Skillpedia
智能体6.3k · #14364

update

它能做什么

这项技能检查 Ouroboros 是否有新版本,并在你同意后进行升级。适合想保持工具最新、又不改变安装方式的人。

适用场景

  • ✓当你想检查 Ouroboros 是否有更新的版本时。
  • ✓当你想升级 Ouroboros,又不想改变它的安装方式时。
  • ✓当出现更新提示,并且你想应用更新的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/Q00/ouroboros/blob/main/skills/update/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请检查 Ouroboros 是否有更新,并在安装前先问我。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能运行原生的更新检查,并报告是否存在更新版本。如果你同意,它会使用此前安装时所用的同一种方式运行原生更新命令。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

/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.

常见问题

它会安装另一个版本管理器吗?

不会。描述中说明,它会保留原有的管理器、环境和配置。

升级前会先询问吗?

会。它会让你选择“立即更新”或“跳过”。

如果检查失败怎么办?

它会报告原生错误并停止,而不会改为手动升级。

详情

作者的原始描述

Check for updates and upgrade Ouroboros to the latest version

repo: Q00/ouroboros

热度

GitHub 星标
6.3k
排名
#14364
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能