Search

PythonReactSEOPDF
OpenClaw

openclaw-updater

Safely update OpenClaw with pre-flight checks and rollback support. Use when updating OpenClaw, checking for updates, or recovering from a failed update. Handles workspace git commits, config backups, version rollback, and post-update verification.

bigsan0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install bigsan/openclaw-updater

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

OpenClaw Updater

Safely update OpenClaw with automatic pre-flight safety checks and rollback capability.

Pre-Update Checklist

Before running openclaw update, always run the pre-update script:

bash scripts/pre-update.sh

Optional: specify a backup script to run during pre-flight:

BACKUP_SCRIPT=~/repo/scripts/backup-openclaw.sh bash scripts/pre-update.sh

The script will:

  1. Find all workspace* directories under ~/.openclaw/
  2. Git commit any uncommitted changes (init git if missing)
  3. Back up openclaw.json to /tmp/openclaw.json.bak
  4. Run the backup script if provided
  5. Save the current version to /tmp/openclaw-prev-version.txt

Telegram Notification Setup

The update script sends success/failure notifications via Telegram Bot API (bypasses OpenClaw gateway, so it works even if the update breaks the gateway).

Create ~/.openclaw/.telegram-notify.env:

TELEGRAM_BOT_TOKEN=<your-bot-token>
TELEGRAM_CHAT_ID=<your-chat-id>
chmod 600 ~/.openclaw/.telegram-notify.env

The bot token is the same one used by your OpenClaw Telegram channel. Chat ID can be found via openclaw directory.

Update (with notification)

Run the full update with automatic pre-flight + notification:

bash scripts/update.sh

This will: pre-flight → update → wait for gateway → notify via Telegram.

Update (manual)

After pre-flight passes:

openclaw update

Post-Update Verification

After updating, verify:

openclaw status
openclaw gateway status

Check that:

  • Version shows the new release
  • Gateway is running
  • All agents are responsive

Rollback

If the update breaks something:

bash scripts/rollback.sh

The script will:

  1. Read the saved previous version from /tmp/openclaw-prev-version.txt
  2. Install that version via npm install -g openclaw@<version>
  3. Optionally restore openclaw.json from backup
  4. Restart the gateway
Manual Rollback

If the rollback scri...

Source information

Source
github
Repository
openclaw/skills
Path
skills/bigsan/openclaw-updater
Version
—
Commit
2212fe15bdc9ed3b95350332fe909a86f76620b7
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# OpenClaw Updater

Safely update OpenClaw with automatic pre-flight safety checks and rollback capability.

## Pre-Update Checklist

Before running `openclaw update`, always run the pre-update script:

```bash
bash scripts/pre-update.sh
```

Optional: specify a backup script to run during pre-flight:

```bash
BACKUP_SCRIPT=~/repo/scripts/backup-openclaw.sh bash scripts/pre-update.sh
```

The script will:
1. Find all `workspace*` directories under `~/.openclaw/`
2. Git commit any uncommitted changes (init git if missing)
3. Back up `openclaw.json` to `/tmp/openclaw.json.bak`
4. Run the backup script if provided
5. Save the current version to `/tmp/openclaw-prev-version.txt`

## Telegram Notification Setup

The update script sends success/failure notifications via Telegram Bot API (bypasses OpenClaw gateway, so it works even if the update breaks the gateway).

Create `~/.openclaw/.telegram-notify.env`:

```
TELEGRAM_BOT_TOKEN=<your-bot-token>
TELEGRAM_CHAT_ID=<your-chat-id>
```

```bash
chmod 600 ~/.openclaw/.telegram-notify.env
```

The bot token is the same one used by your OpenClaw Telegram channel. Chat ID can be found via `openclaw directory`.

## Update (with notification)

Run the full update with automatic pre-flight + notification:

```bash
bash scripts/update.sh
```

This will: pre-flight → update → wait for gateway → notify via Telegram.

## Update (manual)

After pre-flight passes:

```bash
openclaw update
```

## Post-Update Verification

After updating, verify:

```bash
openclaw status
openclaw gateway status
```

Check that:
- Version shows the new release
- Gateway is running
- All agents are responsive

## Rollback

If the update breaks something:

```bash
bash scripts/rollback.sh
```

The script will:
1. Read the saved previous version from `/tmp/openclaw-prev-version.txt`
2. Install that version via `npm install -g openclaw@<version>`
3. Optionally restore `openclaw.json` from backup
4. Restart the gateway

### Manual Rollback

If the rollback scri...

Related skills

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...