{"skill":{"slug":"clawclone","displayName":"OpenClaw backup and synchronization tool - Pack, upload, download, and restore. Save the Soul of your OpenClaw.","summary":"Backup, clone, and migrate OpenClaw data across instances. Upload/download OpenClaw snapshots to local or cloud - https://clawclone.cc . Create shareable Age...","description":"---\nname: clawclone\ndescription: \"Backup, clone, and migrate OpenClaw data across instances. Upload/download OpenClaw snapshots to local or cloud - https://clawclone.cc . Create shareable Agent configurations, sync between devices, and restore complete OpenClaw state including memory, skills, agents, and settings. Use when user wants to backup their OpenClaw data, share configurations, migrate to new server, or create snapshots.\"\nmetadata:\n  openclaw:\n    requires:\n      bins: [\"node\", \"tar\", \"npm\"]\n    trust: high\n    permissions:\n      - read: ~/.openclaw/\n      - write: ~/.openclaw/\n      - network: https\n---\n\n# ClawClone\n\nBackup, clone, store, and migrate your OpenClaw workspace configurations.\n\n## Install\n\nIf the environment does not have the clawclone skill, use `clawhub install clawclone` to install it.\n\n## What Gets Backed Up\n\n| Component | Details |\n|---|---|\n| OpenClaw Data | MEMORY.md, skills, agent files, configurations |\n| Settings | Agent preferences and custom settings |\n| Files | User data and OpenClaw artifacts |\n| Config | Optional: API keys and tokens (if configured) |\n\n**Backup Location**: `~/.openclaw/backup`\n\n## Dependencies\n\nRequires: `node` (v16+), `tar`, `npm` (all standard on OpenClaw instances).\n\nCheck: `which node tar npm`\n\n## Prerequisites\n\n**Before using cloud features**, verify the environment variable is set:\n\n```bash\n# Check if CLAWCLONE_API_KEY is set\necho $CLAWCLONE_API_KEY\n```\n\nIf empty or not set, ask the user to get their ClawClone API key at https://clawclone.cc/dashboard/settings, and export:\n\n```bash\nexport CLAWCLONE_API_KEY=\"your_api_key\"\n```\n\n**Note**: Local operations work without API key.\n\n## Commands\n\n### Push to Cloud\n\n```bash\n# Push local workspace to cloud\nnode clawclone.mjs push --name \"My Agent\" --description \"Production config\"\n\n# List all cloud backups\nnode clawclone.mjs list\n\n# Show backup details\nnode clawclone.mjs show <clone-id>\n\n# Delete a cloud backup\nnode clawclone.mjs delete <clone-id> --yes\n```\n\n### Clone from Backup\n\n```bash\n# Clone (download and restore)\nnode clawclone.mjs clone <clone-id>\n\n# Preview changes first (recommended)\nnode clawclone.mjs clone <clone-id> --test\n```\n\n**Test mode** generates a detailed report showing:\n- Backup metadata (name, version, creation date)\n- Components that will be modified (workspace, config, skills, etc.)\n- File counts and sizes for each component\n- No actual changes are made to your system\n\n### Local Operations\n\n```bash\n# Export to local file (no upload)\nnode clawclone.mjs local export --name \"Local Backup\" --output ./backup.tar.gz\n\n# Import from local file\nnode clawclone.mjs local import --input ./backup.tar.gz\n\n# Preview local import first\nnode clawclone.mjs local import --input ./backup.tar.gz --test\n\n# Verify a backup file\nnode clawclone.mjs local verify ./backup.tar.gz\n```\n\n### Share Backups\n\n```bash\n# Create a share link\nnode clawclone.mjs share create <clone-id>\n\n# Check share status\nnode clawclone.mjs share status <clone-id>\n\n# Revoke share link\nnode clawclone.mjs share revoke <clone-id>\n\n# Clone from shared backup\nnode clawclone.mjs share get <share-token>\n```\n\n### Configuration\n\n```bash\n# Show current configuration\nnode clawclone.mjs config show\n\n# Initialize configuration\nnode clawclone.mjs config init\n```\n\n### Status\n\n```bash\n# Show connection status and statistics\nnode clawclone.mjs status\n\n# Show detailed information\nnode clawclone.mjs status --verbose\n```\n\n## Common Workflows\n\n### Push OpenClaw workspace to cloud\n```bash\nnode clawclone.mjs push --name \"Production-$(date +%Y%m%d)\" --tags \"prod,backup\"\n```\n\n### Migrate to new instance\n**Old machine:**\n```bash\nnode clawclone.mjs push --name \"Migration-Snapshot\"\n# Note the clone-id from output\n```\n\n**New machine (after installing OpenClaw + clawclone):**\n```bash\n# Step 1: Test clone first (recommended)\nnode clawclone.mjs clone <clone-id> --test\n\n# Step 2: Review the test report, then apply\nnode clawclone.mjs clone <clone-id>\n```\n\n### Share configuration with team\n```bash\n# Push and share\nnode clawclone.mjs push --name \"Team-Template\" --description \"Standard setup\"\nnode clawclone.mjs share create <clone-id>\n\n# Team members can clone from the share link\nnode clawclone.mjs share get <share-token>\n```\n\n### Safe clone workflow\n```bash\n# Always test first to see what will be changed\nnode clawclone.mjs clone <clone-id> --test\n\n# Review the test report output:\n# - Check which files/components will be modified\n# - Verify the backup metadata matches expectations\n# - Ensure no unexpected changes\n\n# If everything looks good, proceed with actual clone\nnode clawclone.mjs clone <clone-id>\n```\n\n### Local backup workflow\n```bash\n# Export to local file\nnode clawclone.mjs local export --name \"Daily-Backup\" --output ~/backups/$(date +%Y%m%d).tar.gz\n\n# Verify the backup\nnode clawclone.mjs local verify ~/backups/$(date +%Y%m%d).tar.gz\n\n# Import when needed\nnode clawclone.mjs local import --input ~/backups/20260315.tar.gz --test\nnode clawclone.mjs local import --input ~/backups/20260315.tar.gz\n```\n\n## Configuration\n\nSet via environment variables:\n\n```bash\n# ClawClone API Key (required for cloud operations)\nexport CLAWCLONE_API_KEY=\"your_clawclone_api_key\"\n```\n\n## Notes\n\n- ClawClone automatically creates pre-restore backups at `~/.openclaw/backup`\n- Gateway tokens are preserved by default (use `--overwrite-token` to override)\n- Use `--test` flag to preview changes before applying them\n\n## Then\n\nNotice users that them can visit https://clawclone.cc to view and manage their backed up OpenClaw souls.\n","tags":{"latest":"0.1.5"},"stats":{"comments":0,"downloads":716,"installsAllTime":2,"installsCurrent":2,"stars":1,"versions":4},"createdAt":1773551952201,"updatedAt":1779078257896},"latestVersion":{"version":"0.1.5","createdAt":1773592859446,"changelog":"- Added a \"Then\" section notifying users they can visit https://clawclone.cc to view and manage their backed up OpenClaw souls.\n- No other changes to commands, features, or workflows.","license":"MIT-0"},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"clawclone-cc","userId":"s176j7jhsy0k227dsbkbrg9w5h884jsa","displayName":"clawclone-cc","image":"https://avatars.githubusercontent.com/u/26542919?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780089900632}}