LaunchKit · 2026
Back to Skills

safe-update

Update OpenClaw from source code.

2
385 downloads
by @hacksing

Setup & Installation

openclaw skills install @hacksing/safe-update

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install safe-update

Version History

v1.0.6Feb 28, 2026 - Version note by skill developer:

Version 1.0.6 - Documentation: SKILL.md is now fully translated to English for broader accessibility. - No functional or file changes; workflow and usage remain the same. - All technical instructions, usage notes, and troubleshooting steps are now presented in English.

What This Skill Does

Automates updating OpenClaw from source by pulling the latest branch, building, and reinstalling globally. Analyzes the current git state before acting and asks for confirmation before making changes. Backs up config files automatically before each update.

Handles the full update sequence, including git strategy recommendation, config backup, build, and service reinstall, rather than requiring manual steps each time.

When to use it

  • Updating OpenClaw after upstream bug fixes land
  • Switching to a feature branch and rebuilding
  • Previewing what an update would do before committing
  • Recovering from a failed update by checking logs
  • Keeping a self-hosted OpenClaw instance in sync with upstream

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: update OpenClaw to the latest main branch

AGENT
  1. 1Check current branch for uncommitted changes and compare with upstream
  2. 2Recommend merge or rebase strategy based on local state
  3. 3Wait for user confirmation before proceeding
  4. 4Pull upstream changes, build with npm run build, install globally with npm i -g .
  5. 5Reinstall the systemd service and prompt user to confirm gateway restart
OUTPUT

OpenClaw updated to latest version; config backed up; user prompted to restart gateway