Why Migrate from Cloud to Local?
Running OpenClaw in the cloud is convenient, but there are times when you need your AI agent configuration on your local machine:
- Offline work — Work without internet dependency
- Performance — Lower latency, faster responses
- Privacy — Keep sensitive projects on your own hardware
- Cost savings — Avoid cloud computing fees
Prerequisites
Before you begin, make sure you have:
- A ClawClone account with at least one backup
- Your ClawClone API key (get one at Settings)
- OpenClaw installed on your local machine
Step 1: Install ClawClone Skill
On your local machine, install the ClawClone skill:
clawhub install clawcloneStep 2: Set Your API Key
Export your ClawClone API key as an environment variable:
export CLAWCLONE_API_KEY="your_api_key_here"Step 3: List Your Backups
View all available backups:
clawclone listStep 4: Clone to Local
Use the clone command with your backup ID:
clawclone clone --id YOUR_BACKUP_IDThe skill will download and restore your SOUL.md, memory files, and project notes automatically.
Verification
After migration, verify your configuration:
- Check that SOUL.md exists and contains your customizations
- Verify memory files are present
- Test your OpenClaw with a simple prompt
Troubleshooting
Authentication errors: Double-check your API key is set correctly.
Missing files: Ensure the backup was created with all necessary files included.
Permission issues: Make sure you have write access to the OpenClaw directory.