TopRank Skills

Home / Claw Skills / Others / openclaw-safe-update
Official OpenClaw rules 15%

openclaw-safe-update

Safely verify and apply OpenClaw upgrades with isolated sidecar checks. Use when asked to update OpenClaw, verify a target version before upgrading, avoid global package pollution, or run a production-safe upgrade flow with verify-only default and explicit --apply.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 openclaw-safe-update 技能。 若已安装,则直接安装 openclaw-safe-update 技能。

Overview

Skill Key
ianchenx/openclaw-safe-update
Author
ianchenx
Source Repo
openclaw/skills
Version
-
Source Path
skills/ianchenx/openclaw-safe-update
Latest Commit SHA
46553a6d8a83e2efc727741f0e0ee3a85058394e

Extracted Content

SKILL.md excerpt

# OpenClaw Safe Update

Run production-safe OpenClaw upgrades with isolation-first defaults.

## Workflow

1. Use bundled script: `scripts/openclaw-safe-update.sh`.
2. Run verify-only first (default):
   - `bash scripts/openclaw-safe-update.sh`
   - Optional target pin: `--target <version>`
   - Port is auto-selected from free ports starting at `18000`.
3. If verify fails, inspect log path printed by script and report the root cause.
4. If verify passes, ask whether to apply.
5. Apply only on explicit confirmation:
   - `bash scripts/openclaw-safe-update.sh --apply`

## Platform references

Detect OS first, then read exactly one platform guide:

- macOS (`uname` = `Darwin`) → `references/macos.md`
- Linux (`uname` = `Linux`) → `references/linux.md`

## Rules

- Default to verify-only; never apply without explicit user consent.
- Keep candidate install isolated (`npm --prefix ~/.openclaw/versions/<version>`).
- Keep sidecar isolated (`--profile sidecar-verify`, dedicated `--port`).
- Preserve logs on failure and include path in status updates.
- If verify fails, do not mutate global install.

Related Claw Skills