skills$openclaw/update-plus
hopyky3.5kā˜…

by hopyky

update-plus – OpenClaw Skill

update-plus is an OpenClaw Skills integration for coding workflows. Full backup, update, and restore for OpenClaw - config, workspace, and skills with auto-rollback

3.5k stars4.0k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

nameupdate-plus
descriptionFull backup, update, and restore for OpenClaw - config, workspace, and skills with auto-rollback OpenClaw Skills integration.
ownerhopyky
repositoryhopyky/update-plus
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @hopyky/update-plus
last updatedFeb 7, 2026

Maintainer

hopyky

hopyky

Maintains update-plus in the OpenClaw Skills directory.

View GitHub profile
File Explorer
13 files
.
bin
lib
backup.sh
6.0 KB
config.sh
4.7 KB
cron.sh
2.4 KB
notify.sh
2.5 KB
restore.sh
7.0 KB
update.sh
11.9 KB
utils.sh
4.0 KB
_meta.json
628 B
README.md
5.2 KB
SKILL.md
3.5 KB
update-plus.example.json
1.1 KB
SKILL.md

name: update-plus description: Full backup, update, and restore for OpenClaw - config, workspace, and skills with auto-rollback version: 4.0.3 metadata: {"openclaw":{"emoji":"šŸ”„","requires":{"bins":["git","jq","rsync"]}}}

šŸ”„ Update Plus

A comprehensive backup, update, and restore tool for your OpenClaw environment. Protect your config, workspace, and skills with automatic rollback, encrypted backups, and cloud sync.

Quick Start

# Check for available updates
update-plus check

# Create a full backup
update-plus backup

# Update everything (creates backup first)
update-plus update

# Preview changes (no modifications)
update-plus update --dry-run

# Restore from backup
update-plus restore openclaw-backup-2026-01-25-12:00:00.tar.gz

Features

FeatureDescription
Full BackupBackup entire environment (config, workspace, skills)
Auto BackupCreates backup before every update
Auto RollbackReverts to previous commit if update fails
Smart RestoreRestore everything or specific parts (config, workspace)
Multi-DirectorySeparate prod/dev skills with independent update settings
Encrypted BackupsOptional GPG encryption
Cloud SyncUpload backups to Google Drive, S3, Dropbox via rclone
NotificationsGet notified via WhatsApp, Telegram, or Discord
Connection RetryAuto-retry on network failure (configurable)

Installation

git clone https://github.com/hopyky/update-plus.git ~/.openclaw/skills/update-plus

Add to PATH

mkdir -p ~/bin
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
ln -sf ~/.openclaw/skills/update-plus/bin/update-plus ~/bin/update-plus

Configuration

Create ~/.openclaw/update-plus.json:

{
  "backup_dir": "~/.openclaw/backups",
  "backup_before_update": true,
  "backup_count": 5,
  "backup_paths": [
    {"path": "~/.openclaw", "label": "config", "exclude": ["backups", "logs"]},
    {"path": "~/.openclaw/workspace", "label": "workspace", "exclude": ["node_modules"]}
  ],
  "skills_dirs": [
    {"path": "~/.openclaw/skills", "label": "prod", "update": true}
  ],
  "notifications": {
    "enabled": false,
    "target": "+1234567890"
  },
  "connection_retries": 3,
  "connection_retry_delay": 60
}

Commands

CommandDescription
update-plus checkCheck for available updates
update-plus backupCreate a full backup
update-plus updateUpdate OpenClaw and all skills
update-plus update --dry-runPreview changes
update-plus restore <file>Restore from backup
update-plus install-cronInstall automatic updates (daily 2 AM)
update-plus uninstall-cronRemove cron job

Changelog

v4.0.3

  • Check for updates BEFORE backup (skip backup if already up to date)
  • No more wasted bandwidth/storage when nothing to update

v4.0.2

  • Use curl instead of ping for connection check (more reliable)
  • Works through firewalls and when Mac wakes from sleep

v4.0.1

  • Added Homebrew path detection (/opt/homebrew/bin) for cron jobs
  • Added ~/bin to cron PATH for local symlinks
  • Updated example config with clearer workspace structure

v4.0.0

  • OpenClaw only (removed moltbot/clawdbot legacy support)
  • Simplified configuration and paths
  • Config: ~/.openclaw/update-plus.json

v3.x

  • Multi-bot support (openclaw, moltbot, clawdbot)
  • Connection retry for cron jobs

Author

Created by hopyky

License

MIT

README.md

Update Plus

A comprehensive backup, update, and restore tool for your OpenClaw environment. Protect your config, workspace, and skills with automatic rollback, encrypted backups, and cloud sync.

Quick Start

# Check for available updates
update-plus check

# Create a full backup
update-plus backup

# Update everything (creates backup first)
update-plus update

# Preview changes (no modifications)
update-plus update --dry-run

# Restore from backup
update-plus restore openclaw-backup-2026-01-25-12:00:00.tar.gz

Features

FeatureDescription
Full BackupBackup entire environment (config, workspace, skills)
Auto BackupCreates backup before every update
Auto RollbackReverts to previous commit if update fails
Smart RestoreRestore everything or specific parts (config, workspace)
Multi-DirectorySeparate prod/dev skills with independent update settings
Encrypted BackupsOptional GPG encryption
Cloud SyncUpload backups to Google Drive, S3, Dropbox via rclone
NotificationsGet notified via WhatsApp, Telegram, or Discord
Connection RetryAuto-retry on network failure (configurable)

Installation

git clone https://github.com/hopyky/update-plus.git ~/.openclaw/skills/update-plus

Add to PATH

mkdir -p ~/bin
echo 'export PATH="$HOME/bin:$PATH"' >> ~/.zshrc  # or ~/.bashrc
source ~/.zshrc
ln -sf ~/.openclaw/skills/update-plus/bin/update-plus ~/bin/update-plus

Dependencies

DependencyRequiredPurpose
gitYesUpdate skills from repositories
jqYesParse JSON configuration
rsyncYesEfficient file copying
rcloneNoCloud storage sync
gpgNoBackup encryption

Configuration

Create ~/.openclaw/update-plus.json:

{
  "backup_dir": "~/.openclaw/backups",
  "backup_before_update": true,
  "backup_count": 5,
  "backup_paths": [
    {"path": "~/.openclaw", "label": "config", "exclude": ["backups", "logs", "media"]},
    {"path": "~/.openclaw/workspace", "label": "workspace", "exclude": ["node_modules", ".venv"]}
  ],
  "skills_dirs": [
    {"path": "~/.openclaw/skills", "label": "prod", "update": true}
  ],
  "remote_storage": {
    "enabled": false,
    "rclone_remote": "gdrive:",
    "path": "openclaw-backups"
  },
  "encryption": {
    "enabled": false,
    "gpg_recipient": "your-email@example.com"
  },
  "notifications": {
    "enabled": false,
    "target": "+1234567890",
    "on_success": true,
    "on_error": true
  },
  "connection_retries": 3,
  "connection_retry_delay": 60
}

Connection Retry

For cron jobs running at night when the network might be unstable:

OptionDefaultDescription
connection_retries3Number of retry attempts
connection_retry_delay60Seconds between retries

Commands

backup — Create Full Backup

update-plus backup

list-backups — List Available Backups

update-plus list-backups

update — Update Everything

# Standard update (with automatic backup)
update-plus update

# Preview changes only
update-plus update --dry-run

# Skip backup
update-plus update --no-backup

# Force continue even if backup fails
update-plus update --force

restore — Restore from Backup

# Restore everything
update-plus restore backup.tar.gz

# Restore only config
update-plus restore backup.tar.gz config

# Restore only workspace
update-plus restore backup.tar.gz workspace

check — Check for Updates

update-plus check

install-cron — Automatic Updates

# Install daily at 2 AM
update-plus install-cron

# Custom schedule
update-plus install-cron "0 3 * * 0"  # Sundays at 3 AM

# Remove
update-plus uninstall-cron

Notifications

Get notified when updates complete or fail:

"notifications": {
  "enabled": true,
  "target": "+1234567890",
  "on_success": true,
  "on_error": true
}

Target format determines channel:

  • +1234567890 → WhatsApp
  • @username → Telegram
  • channel:123 → Discord

Architecture

bin/
ā”œā”€ā”€ update-plus              # Main entry point
└── lib/
    ā”œā”€ā”€ utils.sh             # Logging, helpers, connection retry
    ā”œā”€ā”€ config.sh            # Configuration
    ā”œā”€ā”€ backup.sh            # Backup functions
    ā”œā”€ā”€ restore.sh           # Restore functions
    ā”œā”€ā”€ update.sh            # Update functions
    ā”œā”€ā”€ notify.sh            # Notifications
    └── cron.sh              # Cron management

Changelog

v4.0.1

  • Added Homebrew path detection (/opt/homebrew/bin) for cron jobs
  • Added ~/bin to cron PATH for local symlinks
  • Updated example config with clearer workspace structure

v4.0.0

  • OpenClaw only (removed moltbot/clawdbot legacy support)
  • Simplified configuration and paths
  • Config: ~/.openclaw/update-plus.json
  • Backups named: openclaw-backup-YYYY-MM-DD-HH:MM:SS.tar.gz

v3.x

  • Multi-bot support (openclaw, moltbot, clawdbot)
  • Connection retry for cron jobs

v2.x

  • Modular architecture
  • Smart package manager detection

Author

Created by hopyky

License

MIT

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

Configuration

Create `~/.openclaw/update-plus.json`: ```json { "backup_dir": "~/.openclaw/backups", "backup_before_update": true, "backup_count": 5, "backup_paths": [ {"path": "~/.openclaw", "label": "config", "exclude": ["backups", "logs"]}, {"path": "~/.openclaw/workspace", "label": "workspace", "exclude": ["node_modules"]} ], "skills_dirs": [ {"path": "~/.openclaw/skills", "label": "prod", "update": true} ], "notifications": { "enabled": false, "target": "+1234567890" }, "connection_retries": 3, "connection_retry_delay": 60 } ```

FAQ

How do I install update-plus?

Run openclaw add @hopyky/update-plus in your terminal. This installs update-plus into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/hopyky/update-plus. Review commits and README documentation before installing.