Skills claw-sync
Secure sync for OpenClaw memory and workspace. Use /sync to push, /restore to pull, /sync-status to check. Supports versioned backups and disaster recovery.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/arakichanxd/claw-sync" ~/.claude/skills/clawdbot-skills-claw-sync && rm -rf "$T"
manifest:
skills/arakichanxd/claw-sync/SKILL.mdsource content
Claw Sync
Secure, versioned sync for OpenClaw memory and workspace.
Commands
/sync
Push your memory and skills to the remote repository.
/sync → Push and create versioned backup /sync --dry-run → Preview what would be synced
/restore
Restore memory and skills from the remote repository.
/restore → Restore latest version /restore latest → Same as above /restore backup-20260202-1430 → Restore specific version /restore latest --force → Skip confirmation
/sync-status
Show sync configuration and local backup info.
/sync-status
/sync-list
List all available backup versions.
/sync-list
What Gets Synced
| File | Description |
|---|---|
| Long-term memory |
| User profile |
| Agent persona |
| Agent identity |
| Tool configs |
| Workspace rules |
| Daily logs |
| Custom skills |
NOT Synced (security)
- Contains API keysopenclaw.json
- Contains secrets.env
Setup Required
Create
~/.openclaw/.backup.env:
BACKUP_REPO=https://github.com/username/your-repo BACKUP_TOKEN=ghp_your_token
Features
- 🏷️ Versioned - Each sync creates a restorable version
- 💾 Disaster Recovery - Local backup before every restore
- 🔒 Secure - No config files synced, token sanitization
- 🖥️ Cross-platform - Windows, Mac, Linux