← 返回 Skills 市场
wenjie2024

Migrator

作者 wenjie2024 · GitHub ↗ · v1.1.0
cross-platform ✓ 安全检测通过
1718
总下载
1
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install migrator
功能描述
Securely migrate OpenClaw Agent (config, memory, skills) to a new machine.
使用说明 (SKILL.md)

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.

安全使用建议
This package appears to implement a local, encrypted migration utility and is internally consistent. Before installing or running it: 1) Verify the source — no homepage/repository is listed in the registry metadata, so prefer obtaining it from a trusted repo if possible. 2) Inspect the package.json and source (already included) and prefer running it in a non-privileged account. 3) Use a strong password when exporting archives and keep backups of originals until a successful test restore is completed. 4) If you run npm install to enable the CLI, be aware that npm will fetch third-party dependencies (archiver, tar, fs-extra, commander) — only install if you trust those packages and your network. 5) The test/mock data includes a placeholder API key — ensure you do not accidentally import test data into a production config. Overall: coherent and matches its stated purpose, but exercise the usual caution installing/running code from an unknown publisher.
功能分析
Type: OpenClaw Skill Name: migrator Version: 1.1.0 The OpenClaw Migrator skill is designed to securely package and restore OpenClaw agent data. It implements strong security measures, including AES-256-GCM encryption with `scrypt` for key derivation (`src/archive.js`, `src/restore.js`), and explicit path traversal protection during archive extraction (`src/restore.js`). The skill's instructions in `SKILL.md` and `README.md` are purely descriptive and do not contain any prompt injection attempts. All file operations are local and aligned with the stated purpose of migrating agent configurations and data, with no evidence of data exfiltration, malicious execution, persistence, or obfuscation.
能力评估
Purpose & Capability
Name/description claim to migrate OpenClaw agent state; code implements exporting ~/.openclaw and ~/.clawdbot, building an encrypted archive, and restoring with path healing. Requested resources (home paths, optional MIGRATOR_PASSWORD) match that purpose.
Instruction Scope
SKILL.md simply documents export/import usage and notes sensitive files. Runtime code reads local agent files, writes an encrypted archive, and restores locally — no instructions or code to read unrelated system locations, call external endpoints, or exfiltrate data.
Install Mechanism
There is no install spec in the registry (instruction-only), yet the package includes full Node.js source and package.json. That is not dangerous by itself but means the tool needs npm/node to run; if you install it locally you will run npm install which fetches listed dependencies (archiver, tar, fs-extra, commander) from npm.
Credentials
The tool uses only local environment (HOME, optional MIGRATOR_PASSWORD or --password). It does not request unrelated API keys, tokens, or cloud credentials. The included test/mock files contain a dummy API key for testing only.
Persistence & Privilege
Skill does not request permanent/always-on presence. CLI drivers present in files run only when executed directly; there is no code that attempts to modify other skills or global agent config.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install migrator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /migrator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added SKILL.md documentation detailing migrator usage, security features, and capabilities. - Emphasized strong encryption (AES-256-GCM) for all exported agent archives. - Outlined support for path normalization and automated capture of system dependencies via Brewfile. - Clarified that exports always require a password; unencrypted exports are not allowed.
元数据
Slug migrator
版本 1.1.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Migrator 是什么?

Securely migrate OpenClaw Agent (config, memory, skills) to a new machine. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1718 次。

如何安装 Migrator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install migrator」即可一键安装,无需额外配置。

Migrator 是免费的吗?

是的,Migrator 完全免费(开源免费),可自由下载、安装和使用。

Migrator 支持哪些平台?

Migrator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Migrator?

由 wenjie2024(@wenjie2024)开发并维护,当前版本 v1.1.0。

💬 留言讨论