agent-backup-transfer
/install agent-backup-transfer
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
- Workspace —
~/.openclaw/workspace/(agent memory, identity, files) - 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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-backup-transfer - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-backup-transfer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
agent-backup-transfer 是什么?
Backup and restore your OpenClaw agent's workspace and config to preserve memory, identity, and settings or migrate to a new computer. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 270 次。
如何安装 agent-backup-transfer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-backup-transfer」即可一键安装,无需额外配置。
agent-backup-transfer 是免费的吗?
是的,agent-backup-transfer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
agent-backup-transfer 支持哪些平台?
agent-backup-transfer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 agent-backup-transfer?
由 Pacifier00(@pacifier00)开发并维护,当前版本 v1.0.0。