Search

PythonReactSEOPDF
OpenClaw

Openclaw Migrate

OpenClaw Migration Skill

chris6970barbarian-hue0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install chris6970barbarian-hue/openclaw-migrate

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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
Source Destination
~/.openclaw/ ~/.openclaw/ (skills, memory, config)
~/.config/openclaw/ ~/.config/openclaw/
OpenClaw npm package Reinstalled if missing
Environment Variables
Variable Description
HA_URL Home Assistant URL
HA_TOKEN Home Assistant token
GITHUB_TOKEN GitHub API token
BRAVE_API_KEY Brave Search API
GOOGLE_API_KEY Google API key
Any HA_* vars All 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...

Source information

Source
github
Repository
openclaw/skills
Path
skills/chris6970barbarian-hue/openclaw-migrate
Version
—
Commit
62fd0e68f6f7e5fcfc54cc4694de1f4b90dd8b31
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

OpenClaw Migration Tool

Migrate OpenClaw from one host to another via SSH with one command.

Features

  • SSH-based remote migration
  • Auto-install OpenClaw on new host
  • Full configuration sync
  • Skills and memory sync
  • Environment variables sync
  • Cron jobs sync
  • One-command execution

Quick Start

# Configure target
openclaw-migrate setup

# Run migration
openclaw-migrate migrate

# Test connection
openclaw-migrate test

What Gets Synced

Files
  • ~/.openclaw/ - Workspace (skills, memory, config)
  • ~/.config/openclaw/ - OpenClaw config
  • OpenClaw npm package
Environment Variables
  • HA_URL, HA_TOKEN
  • GITHUB_TOKEN
  • BRAVE_API_KEY
  • GOOGLE_API_KEY
  • Any HA_* variables
System
  • Cron jobs

Setup

$ openclaw-migrate setup
New host IP/hostname: 192.168.1.50
SSH user: crix
SSH key path: ~/.ssh/id_rsa

Usage

# Configure once
openclaw-migrate setup

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

# Check everything works
openclaw-migrate test

Requirements

  • SSH access to target host
  • SSH key (recommended)
  • NPM on target host

Error Handling

  • Connection issues: Shows helpful error and retry option
  • Missing OpenClaw: Auto-installs
  • Sync failures: Reports which files failed

Files

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

License

MIT

Extracted content

SKILL.md
# 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

```bash
# 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

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

### Other Commands

```bash
# Test SSH connection
openclaw-migrate test

# Show current configuration
openclaw-migrate status

# Reconfigure target
openclaw-migrate setup
```

## What Gets Synced

### Files & Directories

| Source | Destination |
|--------|-------------|
| `~/.openclaw/` | `~/.openclaw/` (skills, memory, config) |
| `~/.config/openclaw/` | `~/.config/openclaw/` |
| OpenClaw npm package | Reinstalled if missing |

### Environment Variables

| Variable | Description |
|----------|-------------|
| `HA_URL` | Home Assistant URL |
| `HA_TOKEN` | Home Assistant token |
| `GITHUB_TOKEN` | GitHub API token |
| `BRAVE_API_KEY` | Brave Search API |
| `GOOGLE_API_KEY` | Google API key |
| Any `HA_*` vars | All 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...
README
# OpenClaw Migration Tool

Migrate OpenClaw from one host to another via SSH with one command.

## Features

- SSH-based remote migration
- Auto-install OpenClaw on new host
- Full configuration sync
- Skills and memory sync
- Environment variables sync
- Cron jobs sync
- One-command execution

## Quick Start

```bash
# Configure target
openclaw-migrate setup

# Run migration
openclaw-migrate migrate

# Test connection
openclaw-migrate test
```

## What Gets Synced

### Files
- `~/.openclaw/` - Workspace (skills, memory, config)
- `~/.config/openclaw/` - OpenClaw config
- OpenClaw npm package

### Environment Variables
- `HA_URL`, `HA_TOKEN`
- `GITHUB_TOKEN`
- `BRAVE_API_KEY`
- `GOOGLE_API_KEY`
- Any `HA_*` variables

### System
- Cron jobs

## Setup

```bash
$ openclaw-migrate setup
New host IP/hostname: 192.168.1.50
SSH user: crix
SSH key path: ~/.ssh/id_rsa
```

## Usage

```bash
# Configure once
openclaw-migrate setup

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

# Check everything works
openclaw-migrate test
```

## Requirements

- SSH access to target host
- SSH key (recommended)
- NPM on target host

## Error Handling

- Connection issues: Shows helpful error and retry option
- Missing OpenClaw: Auto-installs
- Sync failures: Reports which files failed

## Files

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

## License

MIT

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance