update
Check for updates and upgrade Ouroboros to the latest version
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
/ouroboros:update
Check for updates and upgrade Ouroboros without changing the installation's
manager, environment, or optional-dependency profile.
Usage
ooo update
/ouroboros:update
Trigger keywords: "ooo update", "update ouroboros", "upgrade ouroboros"
Instructions
When the user invokes this skill:
- Use the native command as the single source of truth:
ouroboros update --check
- If it reports up to date, report that result and stop.
- If it reports an update available, ask the user to choose **Update
now or Skip**.
- If the user chooses Update now, run:
ouroboros update --yes
When the user actively uses both Claude Code and Codex, refresh both host
integrations without changing the configured execution backend:
ouroboros update --yes --runtime all
Show the command's result. The native updater binds the package upgrade and
post-update setup to one receipt-backed installation identity: manager,
environment, recorded profile, and environment-local console script.
- If the check exits unsuccessfully but
ouroboros update --helpworks,
report the native error and stop. Do not replace it with a manual
updater. In particular, do not infer ownership from global uv tool list,
pipx list, PATH order, directory names, or the active agent runtime.
- If
ouroboros update --helpdoes not work, this is a legacy installation
that predates the receipt-bound updater. Fail closed:
- A read-only
ouroboros --versioncheck is allowed. - Explain that the old skill cannot prove the original manager,
environment, and extras/profile, so it will not mutate the installation.
- Ask the user to rerun the exact original install command (including its
ouroboros-ai[...] extras and custom manager root) to reach a version
with the native updater.
- If the user does not know that identity, recommend a fresh isolated
install rather than guessing.
- Do not run package upgrades, plugin refreshes, or setup commands from this
legacy path.
- After a successful update, relay the runtime-specific restart guidance from
the native command. If project instruction content also needs regeneration,
suggest ooo setup; do not edit project instruction files as part of the
package update.
Safety contract
- PyPI is the version source of truth; fully yanked releases are excluded.
uvandpipxupgrades replay the running environment's local receipt,
preserving base, [tui], [mcp,tui], [claude,tui], [all], and
other recorded profiles.
- The Claude SDK and MCP 2 profiles are never combined or substituted.
- Missing or ambiguous installation identity is a non-mutating error.
- Automatic runtime refresh preserves the configured backend and the existing
OpenCode plugin/subprocess topology instead of inferring a replacement
from PATH.
- Runtime executable identity follows the supported environment override,
then the persisted orchestrator.*_cli_path, then PATH. The chosen exact
executable is validated and reused for plugin/setup refresh so a stale PATH
binary cannot replace an operator-selected runtime.
--runtime allrefreshes the Claude and Codex plugin integrations plus
installed runtime artifacts without changing the configured execution
backend. Active Codex sessions still need a restart because Codex does not
currently retain an in-use plugin generation; Claude may use
/reload-plugins or restart.
ouroboros updatesupports--check,--yes,--dry-run,
--prerelease, and --runtime; see ouroboros update --help.
RFC #1392 State Breadcrumb Footer
Your final response MUST end with exactly one breadcrumb footer line:
◆ <current state> → next: <recommended action>
Derive <current state> from live session state via ouroboros_session_status
when that MCP projection is available; otherwise
derive it from this skill's actual outcome. Never use a linear Step N of M footer
because Ouroboros is an evolutionary loop. When the next action is
genuinely a choice, list 2-3 honest options in the next: clause. The
breadcrumb line must be the last line of the response.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。