ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

agent-migrate

Cross-platform agent migration and deployment. Use when: (1) migrating OpenClaw agent to new servers, (2) backing up and restoring agent state, (3) deploying agent configurations across environments, (4) syncing workspace between development and production. NOT for: general file backup, non-agent data migration.

Why use this skill?

Learn how to migrate your OpenClaw agent, backup state, and sync configurations across servers using the agent-migrate skill for seamless development and deployment.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/haha8d/agent-migrate
Or

What This Skill Does

The agent-migrate skill provides a standardized, robust mechanism for moving OpenClaw agents between different computing environments. It encapsulates the complex task of bundling an agent's identity, long-term memory, configuration, and custom extensions into a portable format. By ensuring all critical state components—including workspace/, .openclaw/, and custom skills/—are preserved, it allows for seamless transitions from local development setups to production server environments or disaster recovery backups.

Installation

To integrate this utility into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/haha8d/agent-migrate Ensure you have the necessary system permissions to execute scripts located in the scripts/ directory after installation.

Use Cases

  • Production Deployment: Easily clone a refined local development agent to a high-availability cloud server.
  • Disaster Recovery: Automate full state backups so that you can restore your agent's personality and memory if a host system fails.
  • Environment Sync: Keep development and production environments synchronized by pushing state updates through version-controlled repositories.
  • Agent Versioning: Create snapshots before performing significant configuration changes, allowing for full rollback capabilities.

Example Prompts

  1. "Agent, please export my current configuration and memory to an archive named 'production-ready-v1' for deployment."
  2. "I've moved the export folder to the new server; please run the restoration script to finish the migration process."
  3. "Back up my entire agent state to my GitHub repository so I can pull it onto my laptop later."

Tips & Limitations

When migrating across different operating systems (e.g., from macOS to Linux), always verify file permissions on the target system to ensure executable scripts remain functional. Note that this skill is strictly for OpenClaw components; it should not be used as a general-purpose backup tool for personal files or databases. For database-specific migrations, rely on native engine utilities. Always choose the --replace flag during import if you intend to perform a clean install, or use --merge if you wish to supplement an existing agent's memory with new data. If utilizing GitHub for sync, ensure your repository uses encrypted secrets for sensitive environment configuration data.

Metadata

Author@haha8d
Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-haha8d-agent-migrate": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#migration#deployment#backup#configuration#sync
Safety Score: 3/5

Flags: file-write, file-read, code-execution