SkillHub

openclaw-safe-update

v1.0.1

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.

Sourced from ClawHub, Authored by ianchenx

Installation

Please help me install the skill `openclaw-safe-update` from SkillHub official store. npx skills add ianchenx/openclaw-safe-update

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):
  3. bash scripts/openclaw-safe-update.sh
  4. Optional target pin: --target <version>
  5. Port is auto-selected from free ports starting at 18000.
  6. If verify fails, inspect log path printed by script and report the root cause.
  7. If verify passes, ask whether to apply.
  8. Apply only on explicit confirmation:
  9. 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.