agent-backup-transfer

v1.0.0

Backup and restore your OpenClaw agent's workspace and config to preserve memory, identity, and settings or migrate to a new computer.

0· 271·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for pacifier00/agent-backup-transfer.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "agent-backup-transfer" (pacifier00/agent-backup-transfer) from ClawHub.
Skill page: https://clawhub.ai/pacifier00/agent-backup-transfer
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install agent-backup-transfer

ClawHub CLI

Package manager switcher

npx clawhub@latest install agent-backup-transfer
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description match the provided script and SKILL.md. The script backs up ~/.openclaw/workspace and relevant config files (.openclaw/openclaw.json, identity, agents) and provides create/list/restore/setup-auto commands as advertised.
Instruction Scope
Instructions stay within the stated purpose (creating/restoring backups and installing a hook). The restore command extracts the archive into $HOME and will overwrite files; the script prompts for confirmation before restoring. The SKILL.md recommends transferring backups via arbitrary channels (email, Discord, cloud)—this is a user guidance point because backups include sensitive data.
Install Mechanism
No install spec; this is an instruction-only skill with an included bash script. Nothing is downloaded from external URLs or written outside the user's home directory by the script itself.
Credentials
The skill requests no environment variables or external credentials (proportionate). However, backups intentionally include identity/config files which likely contain sensitive tokens/keys; that is expected for a full agent backup but requires the user to protect the generated tar.gz files appropriately.
Persistence & Privilege
always is false and the script does not request elevated or system-wide privileges. The setup-auto command creates a hook under ~/.openclaw/workspace/.hooks which is limited to the user's home and does not alter other skills or global agent settings.
Assessment
This skill appears to do exactly what it says: create, list, restore, and optionally hook automatic backups of your OpenClaw workspace and config. Before installing or using it, consider the following: - Backups include identity and config files (e.g., .openclaw/openclaw.json, identity, agents) which may contain keys or tokens. Treat backup tar.gz files as sensitive secrets. - When moving backups between machines, use secure transfer channels (encrypted cloud storage, SFTP, or an encrypted USB drive). Avoid sending raw backups over email, instant messaging, or other unencrypted/third-party channels unless you encrypt them first. - The restore action extracts into $HOME and can overwrite files. Verify the archive contents (e.g., tar -tzf <file>) before restoring and keep backups of any files you might need to preserve. - The auto-hook expects the backup script to be located at ~/.openclaw/workspace/skills/openclaw-backup/openclaw-backup.sh; if your skills are stored elsewhere the hook may not find it. Review the created hook script before enabling automated runs or adding it to cron. - As a precaution, inspect the included openclaw-backup.sh yourself (it is provided) and consider encrypting stored backups (e.g., use gpg) if you need to store them long-term or on third-party services.

Like a lobster shell, security has layers — review code before you run it.

latestvk9701d4s87wk1y58a7k1rzg1xs82jy0m
271downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

SKILL.md - OpenClaw Backup

Backup and restore your OpenClaw agent (workspace + config).

When to Use

  • User wants to create a backup of their agent
  • User wants to move to a new computer
  • User asks how to preserve their agent's memory/identity
  • Important memories or updates happened — time to save!

What Gets Backed Up

  1. Workspace~/.openclaw/workspace/ (agent memory, identity, files)
  2. OpenClaw Config~/.openclaw/ (settings, sessions, agents)

Commands

Create Backup (Manual)

cd ~/.openclaw/workspace
./skills/openclaw-backup/openclaw-backup.sh create

Creates: ~/openclaw-backups/openclaw-backup-YYYY-MM-DD_HHMMSS.tar.gz

Keeps last 10 backups automatically.

Auto-Backup Setup

./skills/openclaw-backup/openclaw-backup.sh setup-auto

Creates a hook at ~/.openclaw/workspace/.hooks/post-memory-save.sh

Call it manually when important memories are saved:

~/.openclaw/workspace/.hooks/post-memory-save.sh

Or add daily backups via crontab:

crontab -e
# Add: 0 2 * * * ~/.openclaw/workspace/skills/openclaw-backup/openclaw-backup.sh create

List Backups

./skills/openclaw-backup/openclaw-backup.sh list

Restore from Backup

./skills/openclaw-backup/openclaw-backup.sh restore ~/Downloads/openclaw-backup-2026-03-09.tar.gz

Moving to a New Computer

1. On OLD computer:

cd ~/.openclaw/workspace
./skills/openclaw-backup/openclaw-backup.sh create
ls ~/openclaw-backups/

2. Copy the .tar.gz file to new computer

  • USB drive, cloud sync, email, Discord... whatever works
  • Put it in your Downloads folder or anywhere you can find

3. On NEW computer:

If OpenClaw is already installed:

tar -xzf ~/Downloads/openclaw-backup-2026-03-09.tar.gz -C ~
openclaw gateway start

If OpenClaw is NOT installed:

# 1. Install OpenClaw (see docs)
# 2. Then restore:
tar -xzf ~/Downloads/openclaw-backup-2026-03-09.tar.gz -C ~
openclaw gateway start

4. Done!

Open http://127.0.0.1:18789/ — your agent is back! 🎉

Requirements

  • Linux/WSL2 (tested on Ubuntu/WSL2)
  • tar (pre-installed on most systems)
  • ~1-2MB per backup (excludes logs and temp files)

Notes

  • Excludes logs, temp files, node_modules, .git to keep backup small
  • Tested on WSL2 / Linux systems

Comments

Loading comments...