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.
arakichanxd
@arakichanxd
What This Skill Does
Versioned backup and restore tool for OpenClaw agent memory and workspace files. Pushes local memory, user profile, agent persona, skills, and daily logs to a remote Git repository via /sync, and pulls them back with /restore, supporting specific version selection and dry-run previews.
Replaces manual file copying and unversioned backups by providing automated, versioned sync with disaster recovery and local backup before each restore.
When to Use It
- Back up your OpenClaw agent's memory and skills before making major changes
- Restore a previous version of your agent's memory after accidental data loss
- Preview what files would be synced without actually pushing changes
- List all available backup versions to find a specific restore point
- Migrate your agent's workspace to a new machine or environment
- Create a disaster recovery snapshot of your agent's identity and tools
Install
$ openclaw skills install @arakichanxd/claw-syncClaw 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 |
|---|---|
MEMORY.md | Long-term memory |
USER.md | User profile |
SOUL.md | Agent persona |
IDENTITY.md | Agent identity |
TOOLS.md | Tool configs |
AGENTS.md | Workspace rules |
memory/*.md | Daily logs |
skills/* | Custom skills |
NOT Synced (security)
openclaw.json- Contains API keys.env- Contains secrets
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
Top skills in this category
Self-Improving + Proactive Agent
@ivangdavilaSelf-reflection + Self-criticism + Self-learning + Self-organizing memory. Agent evaluates its own work, catches mistakes, and improves permanently. Use when...
ontology
@oswalpalashTyped knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linkin...
Humanizer
@biostartechnologyRemove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
Obsidian
@steipeteWork with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
YouTube Watcher
@michaelgatharaFetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it.