TopRank Skills

Home / Claw Skills / 其他 / Openclaw Self Clone Everything
Official OpenClaw rules 15%

Openclaw Self Clone Everything

OpenClaw Clone to New VPS

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Openclaw Self Clone Everything 技能。 若已安装,则直接安装 Openclaw Self Clone Everything 技能。

Overview

Skill Key
crazypeace/openclaw-self-clone-everything
Author
crazypeace
Source Repo
openclaw/skills
Version
-
Source Path
skills/crazypeace/openclaw-self-clone-everything
Latest Commit SHA
a367e424ba5328e21638b17c23aa259f0b3543d9

Extracted Content

SKILL.md excerpt

# OpenClaw Clone to New VPS

Overview: Deploy OpenClaw to a new VPS using SSH and a non-interactive installer, then copy your ~/.opencl workspace and verify/update credentials.

## Prerequisites

- SSH access to the new VPS: IP address, username, and password (or SSH key)
- The new VPS runs a supported Linux distribution (verify with the official docs)
- Ensure outbound connectivity on the new VPS (to fetch the installer)

- Security: When prompted for passwords, avoid hardcoding them; prefer password prompts or SSH key-based auth.

## Procedure

### Step 1: Verify SSH connectivity

- Test access from the current environment to the new VPS.
- Example (interactive login test):
  ```bash
  ssh USER@VPS_IP
  ```
- Replace `USER` with the provided username and `VPS_IP` with the target IP.
- Exit the test SSH session once verified.

If auth uses an SSH key, ensure the private key is available and permissions are tightened (e.g., 600).

### Step 2: Install OpenClaw via non-interactive script

- Run the official installer in non-interactive mode on the new VPS:
  ```bash
  ssh USER@VPS_IP 'bash -c "$(curl -fsSL https://openclaw.ai/install.sh)" -- --no-onboard'
  ```
- Explanation:
  - `--no-onboard` skips the interactive onboarding wizard.
  - This command performs the installation over SSH without prompting.

If the new VPS blocks curl or `https://openclaw.ai`, download the installer locally and scp/transfer it before running `bash install.sh -- --no-onboard`.

### Step 3: Copy ~/.openclaw from the source to the new VPS

- Source path (current environment): `~/.openclaw`
- Target directory on the new VPS: `~/.openclaw`

- Create a compressed archive, transfer it, and extract on the new VPS:
  ```bash
  # Compress (on source)
  cd ~ && tar czf openclaw-data.tar.gz --exclude='*.log' --exclude='cache' --exclude='node_modules/.cache' .openclaw

  # Transfer
  scp openclaw-data.tar.gz USER@VPS_IP:~/

  # Extract (on new VPS)
  ssh USER@VPS_IP 'rm -rf ~/.openclaw && tar xzf ~/o...

Related Claw Skills