openclaw-update
它能做什么
它说明如何更新正在运行的 OpenClaw Gateway,无论它运行在你自己的电脑上还是远程服务器上。它适合已经有自己 OpenClaw 环境的人。
适用场景
- ✓想更新已在运行的 OpenClaw Gateway 的时候。
- ✓不确定哪种更新方法适合你的 OpenClaw 安装的时候。
- ✓需要完成 OpenClaw 更新,同时不丢失当前会话的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/.agents/skills/openclaw-update/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的 OpenClaw Gateway 更新到最新版本,并确保它仍然能正常运行。”
每周 5 个新技能,1 分钟读完。
工作原理
技能首先确认你的 OpenClaw 是如何安装的,以及由谁管理。然后按照对应的更新步骤操作,并在之后恢复你的会话。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Update OpenClaw
Use for general requests to update an existing Claw/Gateway. Select the existing update workflow; do not create another deployer or scheduler. Release validation, publication, new installations, and unrelated hosts are outside this workflow.
Resolve the owner
Identify the host, runtime user, profile/state root, service, running executable/release, and update owner from operator configuration and live inspection. The current repository or shell CLI may belong to another install. Keep private access details and state out of public artifacts.
Read the owner runbook and choose the matching workflow:
| Installation | Update path |
|---|---|
| Canonical live main checkout and macOS app | openclaw-live-updater. |
| Operator-configured Team server | update-team-server. |
| Other managed deployments | Deployment-specific skill/runbook and existing owner, including containers and declarative installations. |
| Standard package or single-user source | Updating and the update CLI contract, using the owning CLI on the target host/profile. |
Follow the selected workflow's commands, locks, backup/migration requirements, recovery, and cleanup. For the operator-configured Team server, only its designated Team Server · Night Watch owner executes live deployment, restart, cutover, rollback, and recovery through the canonical controller. Do not delegate those actions or designate an external executor through coordination/admission. Other workers may investigate, test, review, and land fixes, then hand results to Night Watch; an already-running external operation requires the linked Team skill's safe exact-transaction handback, never a duplicate controller or blind kill. The linked Team skill also owns notification timing and content; report non-action outcomes and blockers privately to the requesting user, not to Team. Do not apply standard CLI updates inside a separately managed release or running container, mutate files used by a live Gateway, or overwrite dirty checkouts.
“Latest” preserves the configured channel; explicitly requested “latest main” selects the development source flow (--channel dev for the standard CLI). Preview the target and report the actual serving SHA: development preflight can select an older buildable commit. Do not auto-accept unapproved downgrades or plugin capability changes.
Interruption and recovery
An update request includes routine restart and bounded interruption, subject to deployment policy. Eligible sessions resume automatically. Do not ask again solely because agents, replies, or tasks are active. Use the owner's graceful drain and recovery-preserving interruption.
Task cancellation, session aborts, and queue clearing can discard work; do not use them to manufacture idleness or manually replay recovered turns. PTYs do not survive. Restart recovery owns recovery behavior and limits.
If the owner lacks controlled interruption, report or repair that gap within scope. Do not invent force flags, bypass persistence/compatibility gates, or repeat the interruption approval question.
Follow through
Retain ownership of an explicit update request across busy deferral, failure, rollback, and recovery until the selected owner's full acceptance or a concrete external/access blocker requiring outside action. Respect user pauses and cancellations. Before ending with work pending, establish an active completion/observation path or supported continuation through that owner; return without waiting for another prompt. If no continuation path exists, state that blocker instead of promising one. An existing cadence or restored old process alone does not complete
常见问题
它能更新远程服务器上的 Gateway 吗?
可以。技能既涵盖本地 Gateway,也涵盖远程 Gateway,并为每种设置选择合适的更新路径。
它会安装新的 OpenClaw 吗?
不会。它只更新已存在的 Gateway,不会新建。
更新期间我的会话会怎样?
技能设计为在更新后自动恢复会话,因此你的工作可以继续。
详情
作者的原始描述
Route routine updates of an existing local or remote OpenClaw Gateway to its installation owner, with automatic session recovery. Defer to deployment-specific skills when available.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #7
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。