搜索

PythonReactSEOPDF
OpenClaw

Openclaw Migrate

OpenClaw Migration Skill

chris6970barbarian-hue0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install chris6970barbarian-hue/openclaw-migrate

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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
github
Repository
openclaw/skills
Path
skills/chris6970barbarian-hue/openclaw-migrate
Version
—
Commit
62fd0e68f6f7e5fcfc54cc4694de1f4b90dd8b31
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

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

来源内容

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

相关技能

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