360 Secure SkillHub
360 安全技能中心

Migrator

为 OpenClaw Agent 提供状态迁移 CLI:把 config、memory、skills 及依赖清单打包成 AES-256-GCM 加密的 .oca 归档,用 manifest.json 还原工作区路径;导入需提供密码,按设计禁用未加密导出。

分类:自动化
wenjie2024
wenjie2024
热度 52.54
最近更新 2026-05-18 11:56:14

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add wenjie2024/migrator
兼容性
OpenClaw 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
migrator
description
Securely migrate OpenClaw Agent (config, memory, skills) to a new machine.

OpenClaw Migrator

A utility to package an Agent's state into a portable, encrypted archive (.oca) for migration.

Features

  • Encrypted Archive: Uses AES-256-GCM + auth tag for confidentiality and integrity.
  • Path Normalization: Restores workspace path using manifest.json metadata.
  • Dependency Manifest: Captures system dependencies (Brewfile) to ensure the new environment matches.

Usage

Export (On Old Machine)

migrator export --out my-agent.oca --password "secret"

Import (On New Machine)

migrator import --in my-agent.oca --password "secret"

Security

This skill handles sensitive data (openclaw.json, auth.token). The export process always requires a password to encrypt the archive. Unencrypted exports are disabled by design.