Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Migrator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-migrator)
---
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)
```bash
migrator export --out my-agent.oca --password "secret"
```
### Import (On New Machine)
```bash
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.
Files in this skill
README.md2.7 KB
SKILL.md961 B
package.json696 B
src/archive.js3.5 KB
src/generate_mock.js1 KB
src/index.js2.6 KB
src/restore.js6.4 KB
src/test_path_healing.js2.8 KB
test-run/path-healing-test/restored/manifest.json178 B
test-run/path-healing-test/restored/source/clawd/MEMORY.md6 B
test-run/path-healing-test/source/clawd/MEMORY.md6 B