搜索

PythonReactSEOPDF
OpenClaw

Openclaw Migrate 2

Agent Migration

haha8d0 来源安装数☆ 0 仓库 Stars

安装与使用

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

SkillHub CLI

skillhub install haha8d/openclaw-migrate-2

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

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

查看来源 ↗使用指南

技能说明

Agent Migration

Migrate OpenClaw agents across servers and platforms while preserving identity, memory, and configuration.

When to Use

✅ USE this skill when:

  • Moving agent from local machine to remote server
  • Cloning agent configuration to multiple environments
  • Backing up complete agent state for disaster recovery
  • Syncing workspace changes between dev/prod
  • Upgrading OpenClaw with full rollback capability

❌ DON'T use when:

  • Simple file copy operations → use cp/rsync directly
  • Database migrations → use database-specific tools
  • Non-OpenClaw application deployment

Core Concepts

Agent State Components
Agent State = Identity + Memory + Config + Skills + Extensions
├── workspace/           # Core identity files
│   ├── IDENTITY.md      # Who the agent is
│   ├── USER.md          # Who they serve
│   ├── SOUL.md          # Personality
│   ├── MEMORY.md        # Long-term memory
│   ├── AGENTS.md        # Operational rules
│   ├── TOOLS.md         # Environment notes
│   └── memory/          # Daily logs
├── .openclaw/
│   ├── openclaw.json    # Gateway config
│   ├── agents/          # Session data
│   └── extensions/      # Custom plugins
└── skills/              # Custom skills (if any)
Migration Workflows
1. Export (Source Machine)
# Full agent export
./scripts/export-agent.sh [export-name]

# Creates:
# /tmp/agent-export-[name]/
#   ├── manifest.json      # Export metadata
#   ├── workspace.tar.gz   # Core files
#   ├── config.tar.gz      # OpenClaw config
#   └── restore.sh         # Self-contained restore
2. Transfer
# Via SSH
scp -r /tmp/agent-export-[name] user@new-server:/tmp/

# Via GitHub (recommended for versioned deployments)
# Push to repo, clone on target
3. Import (Target Machine)
# Run self-contained restore
cd /tmp/agent-export-[name] && ./restore.sh

# Or manual:
./scripts/import-agent.sh /tmp/agent-export-[name]

Scripts

Export Agen...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/haha8d/openclaw-migrate-2
Version
—
Commit
7a6540504cf5911819005e96ef3fbb6ddeaaedde
分类来源
rules
状态
active
可见性
public

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

README

agent-migrate

OpenClaw Agent 跨平台迁移工具

功能

  • 导出 Agent 完整状态
  • 同步到 GitHub 私有仓库
  • 跨服务器迁移部署
  • Docker 容器化支持

安装

# 克隆到本地 skills 目录
cd ~/.openclaw/skills
git clone https://github.com/YOUR_USERNAME/agent-migrate.git

# 或使用 .skill 文件
openclaw skills install agent-migrate.skill

使用

导出 Agent
./scripts/export-agent.sh [名称]
同步到 GitHub
./scripts/sync-github.sh git@github.com:username/repo.git --push
从 GitHub 恢复
./scripts/sync-github.sh git@github.com:username/repo.git --pull

许可证

MIT

来源内容

SKILL.md
# Agent Migration

Migrate OpenClaw agents across servers and platforms while preserving identity, memory, and configuration.

## When to Use

✅ **USE this skill when:**

- Moving agent from local machine to remote server
- Cloning agent configuration to multiple environments
- Backing up complete agent state for disaster recovery
- Syncing workspace changes between dev/prod
- Upgrading OpenClaw with full rollback capability

❌ **DON'T use when:**

- Simple file copy operations → use `cp`/`rsync` directly
- Database migrations → use database-specific tools
- Non-OpenClaw application deployment

## Core Concepts

### Agent State Components

```
Agent State = Identity + Memory + Config + Skills + Extensions
├── workspace/           # Core identity files
│   ├── IDENTITY.md      # Who the agent is
│   ├── USER.md          # Who they serve
│   ├── SOUL.md          # Personality
│   ├── MEMORY.md        # Long-term memory
│   ├── AGENTS.md        # Operational rules
│   ├── TOOLS.md         # Environment notes
│   └── memory/          # Daily logs
├── .openclaw/
│   ├── openclaw.json    # Gateway config
│   ├── agents/          # Session data
│   └── extensions/      # Custom plugins
└── skills/              # Custom skills (if any)
```

### Migration Workflows

#### 1. Export (Source Machine)

```bash
# Full agent export
./scripts/export-agent.sh [export-name]

# Creates:
# /tmp/agent-export-[name]/
#   ├── manifest.json      # Export metadata
#   ├── workspace.tar.gz   # Core files
#   ├── config.tar.gz      # OpenClaw config
#   └── restore.sh         # Self-contained restore
```

#### 2. Transfer

```bash
# Via SSH
scp -r /tmp/agent-export-[name] user@new-server:/tmp/

# Via GitHub (recommended for versioned deployments)
# Push to repo, clone on target
```

#### 3. Import (Target Machine)

```bash
# Run self-contained restore
cd /tmp/agent-export-[name] && ./restore.sh

# Or manual:
./scripts/import-agent.sh /tmp/agent-export-[name]
```

## Scripts

### Export Agen...
README
# agent-migrate

OpenClaw Agent 跨平台迁移工具

## 功能

- 导出 Agent 完整状态
- 同步到 GitHub 私有仓库
- 跨服务器迁移部署
- Docker 容器化支持

## 安装

```bash
# 克隆到本地 skills 目录
cd ~/.openclaw/skills
git clone https://github.com/YOUR_USERNAME/agent-migrate.git

# 或使用 .skill 文件
openclaw skills install agent-migrate.skill
```

## 使用

### 导出 Agent

```bash
./scripts/export-agent.sh [名称]
```

### 同步到 GitHub

```bash
./scripts/sync-github.sh git@github.com:username/repo.git --push
```

### 从 GitHub 恢复

```bash
./scripts/sync-github.sh git@github.com:username/repo.git --pull
```

## 许可证

MIT

相关技能

OpenClaw

agent-pack-n-go

aicodelion

🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.

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

cacheforge-skills

cacheforge-ai

⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.

OpenClaw

restart-guard

zjianru

OpenClaw Skill: Safely restart the Gateway with context preservation, guardian watchdog, and multi-channel notification