clawclone
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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/clawclone-cc/clawcloneClawClone
Backup, clone, store, and migrate your OpenClaw workspace configurations.
Install
If the environment does not have the clawclone skill, use clawhub install clawclone to install it.
What Gets Backed Up
| Component | Details |
|---|---|
| OpenClaw Data | MEMORY.md, skills, agent files, configurations |
| Settings | Agent preferences and custom settings |
| Files | User data and OpenClaw artifacts |
| Config | Optional: API keys and tokens (if configured) |
Backup Location: ~/.openclaw/backup
Dependencies
Requires: node (v16+), tar, npm (all standard on OpenClaw instances).
Check: which node tar npm
Prerequisites
Before using cloud features, verify the environment variable is set:
# Check if CLAWCLONE_API_KEY is set
echo $CLAWCLONE_API_KEY
If empty or not set, ask the user to get their ClawClone API key at https://clawclone.cc/dashboard/settings, and export:
export CLAWCLONE_API_KEY="your_api_key"
Note: Local operations work without API key.
Commands
Push to Cloud
# Push local workspace to cloud
node clawclone.mjs push --name "My Agent" --description "Production config"
# List all cloud backups
node clawclone.mjs list
# Show backup details
node clawclone.mjs show <clone-id>
# Delete a cloud backup
node clawclone.mjs delete <clone-id> --yes
Clone from Backup
# Clone (download and restore)
node clawclone.mjs clone <clone-id>
# Preview changes first (recommended)
node clawclone.mjs clone <clone-id> --test
Test mode generates a detailed report showing:
- Backup metadata (name, version, creation date)
- Components that will be modified (workspace, config, skills, etc.)
- File counts and sizes for each component
- No actual changes are made to your system
Local Operations
# Export to local file (no upload)
node clawclone.mjs local export --name "Local Backup" --output ./backup.tar.gz
# Import from local file
node clawclone.mjs local import --input ./backup.tar.gz
# Preview local import first
node clawclone.mjs local import --input ./backup.tar.gz --test
# Verify a backup file
node clawclone.mjs local verify ./backup.tar.gz
Share Backups
# Create a share link
node clawclone.mjs share create <clone-id>
# Check share status
node clawclone.mjs share status <clone-id>
# Revoke share link
node clawclone.mjs share revoke <clone-id>
# Clone from shared backup
node clawclone.mjs share get <share-token>
Configuration
# Show current configuration
node clawclone.mjs config show
# Initialize configuration
node clawclone.mjs config init
Status
# Show connection status and statistics
node clawclone.mjs status
# Show detailed information
node clawclone.mjs status --verbose
Common Workflows
Push OpenClaw workspace to cloud
node clawclone.mjs push --name "Production-$(date +%Y%m%d)" --tags "prod,backup"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-clawclone-cc-clawclone": {
"enabled": true,
"auto_update": true
}
}
}