Openclaw Migrate

# OpenClaw Migration Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Openclaw Migrate" with this command: npx skills add chris6970barbarian-hue/openclaw-migrate

OpenClaw Migration Skill

Migrate OpenClaw from one host to another via SSH.

Skill Metadata

  • Name: openclaw-migrate
  • Type: OpenClaw Skill
  • Purpose: Migrate all OpenClaw config, skills, memory, tokens to new host

Setup Commands

Prerequisites

  1. SSH access to new host
  2. SSH key (recommended for automation)
  3. NPM installed on new host

Configuration

# Configure migration target
openclaw-migrate setup

# It will ask for:
# - New host IP/hostname (e.g., 192.168.1.50)
# - SSH user (e.g., crix)
# - SSH key path (optional, Enter for default)

Usage Commands

Main Migration

# Start migration (one command!)
openclaw-migrate migrate

Other Commands

# Test SSH connection
openclaw-migrate test

# Show current configuration
openclaw-migrate status

# Reconfigure target
openclaw-migrate setup

What Gets Synced

Files & Directories

SourceDestination
~/.openclaw/~/.openclaw/ (skills, memory, config)
~/.config/openclaw/~/.config/openclaw/
OpenClaw npm packageReinstalled if missing

Environment Variables

VariableDescription
HA_URLHome Assistant URL
HA_TOKENHome Assistant token
GITHUB_TOKENGitHub API token
BRAVE_API_KEYBrave Search API
GOOGLE_API_KEYGoogle API key
Any HA_* varsAll HA related vars

System Data

  • Cron jobs (via crontab)
  • OpenClaw gateway configuration

Migration Flow

1. setup → Configure target host
2. test → Verify SSH connection
3. migrate → Full sync and start
   ├─ Check/Install OpenClaw
   ├─ Sync workspace (~/.openclaw/)
   ├─ Sync config
   ├─ Sync environment variables
   ├─ Sync cron jobs
   └─ Start gateway on new host

Error Handling

  • SSH connection failed: Show retry option
  • OpenClaw not on remote: Offer to install
  • Sync failed: Report which files failed
  • Config missing: Prompt for setup

Related Skills

  • skillstore (search/install skills)

Files

openclaw-migrate/
├── SKILL.md       # This file
├── README.md      # User docs
├── main.js        # Migration CLI
└── config.json    # Saved target config

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Expedy

Expedy integration. Manage Organizations, Pipelines, Users, Filters. Use when the user wants to interact with Expedy data.

Registry SourceRecently Updated
General

Evenium

Evenium integration. Manage Events, Users, Roles. Use when the user wants to interact with Evenium data.

Registry SourceRecently Updated
General

Exhibitday

ExhibitDay integration. Manage Organizations. Use when the user wants to interact with ExhibitDay data.

Registry SourceRecently Updated
General

Enigma

Enigma integration. Manage Deals, Persons, Organizations, Leads, Projects, Activities and more. Use when the user wants to interact with Enigma data.

Registry SourceRecently Updated