update
它能做什么
这项技能检查 Ouroboros 是否有新版本,并在你同意后进行升级。适合想保持工具最新、又不改变安装方式的人。
适用场景
- ✓当你想检查 Ouroboros 是否有更新的版本时。
- ✓当你想升级 Ouroboros,又不想改变它的安装方式时。
- ✓当出现更新提示,并且你想应用更新的时候。
技能链接
https://github.com/Q00/ouroboros/blob/main/skills/update/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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.
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_usercapability) to choose Update now or Skip. On Update now, runouroboros update --yes. When the user actively uses both Claude Code and Codex, runouroboros update --yes --runtime allinstead; it refreshes both host integrations without changing the configured execution backend. Show the command's result.
If the check fails but
ouroboros update --helpworks, report the native error and stop. Never substitute a manual upgrade, and never infer ownership fromuv tool list,pipx list, PATH order, directory names, or the active agent runtime.If
ouroboros update --helpdoes not work, this is a legacy install that predates the receipt-bound updater. Fail closed: only a read-onlyouroboros --versionis allowed. Explain that the original manager, environment, and extras cannot be proven, and ask the user to rerun their exact original install command (including itsouroboros-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.After a successful update, relay the command's restart guidance (Claude may use
/reload-pluginsor 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, suggestooo 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.
常见问题
它会安装另一个版本管理器吗?
不会。描述中说明,它会保留原有的管理器、环境和配置。
升级前会先询问吗?
会。它会让你选择“立即更新”或“跳过”。
如果检查失败怎么办?
它会报告原生错误并停止,而不会改为手动升级。
详情
热度
- GitHub 星标
- 6.3k
- 排名
- #14364
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …