Agent Migrate for Openclaw

A specialized tool for migrating OpenClaw agents across servers and platforms while preserving identity, memory, and configuration.

haha8d
v0.1.0
Mar 4, 2026
0
993
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-migrate-2

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-migrate-2 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Agent Migrate?

Agent Migrate is a sophisticated workflow designed for developers who need to move their AI agents between local machines, remote servers, or cloud environments. As one of the most practical Openclaw Skills, it ensures that an agent's identity (IDENTITY.md), personality (SOUL.md), and long-term memory (MEMORY.md) remain intact during transitions.

By treating the agent state as a portable package of configuration and experience, this skill eliminates the need for manual reconfiguration. Whether you are scaling from a development environment to production or setting up disaster recovery backups, utilizing Openclaw Skills like this one provides a reliable path for agent persistence and cross-platform compatibility.

Agent Migrate Use Cases

  • Moving an agent from a local development machine to a remote production server.
  • Cloning existing agent configurations to multiple environments for testing.
  • Creating immutable backups of complete agent states for disaster recovery.
  • Synchronizing workspace changes between development and production branches.
  • Upgrading the OpenClaw core while maintaining a full rollback capability.

How Agent Migrate Works

  1. Run the export script on the source machine to create a compressed package containing the manifest, workspace, and configuration.
  2. Transfer the generated export package to the target environment via secure protocols like SSH or version control systems like GitHub.
  3. Execute the import script or self-contained restore script on the target machine to unpack and integrate the agent.
  4. Verify agent identity and functionality on the new platform to complete the migration.

Agent Migrate Setup

To start using these Openclaw Skills for migration, ensure your scripts directory is accessible. Use the following commands for basic operations:

# Export the current agent state
./scripts/export-agent.sh my-agent-backup --full

# Transfer the package to a new server
scp -r /tmp/agent-export-my-agent-backup user@remote-host:/tmp/

# Restore on the new server
cd /tmp/agent-export-my-agent-backup && ./restore.sh

Agent Migrate Data Schema & Taxonomy

The migration process organizes data into a structured hierarchy to ensure compatibility across Openclaw Skills.

Component File/Directory Description
Core Identity workspace/ Contains IDENTITY.md, SOUL.md, and MEMORY.md
System Config .openclaw/ Gateway configuration and session data
Functionality skills/ Custom skill definitions and logic
Export Package manifest.json Metadata describing the export version and contents

Agent Migrate Advanced Features

  • GitHub Synchronization: Use sync-github.sh for versioned agent deployments and collaborative agent development.
  • Merge vs. Replace: Flexible import modes allow for non-destructive updates or clean-slate installations.
  • Cross-Platform Handling: Automatic line-ending adjustments for migrations between Windows WSL and native Linux.
  • Immutable Snapshots: Every export serves as a point-in-time recovery point, facilitating easy rollbacks via Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*