clawd-migrate
Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data safely on any system.
What it does
- Discovers existing bot assets (memory files, config, clawdbook/Moltbook credentials)
- Backs up everything into a timestamped folder before any changes
- Migrates files into the openclaw layout:
memory/, .config/openclaw/, .config/clawdbook/
- Verifies every source file was copied to its destination (existence + size match)
- Reinstalls openclaw (
npm i -g openclaw) and runs openclaw onboard automatically
Quick start
npx clawd-migrate
Interactive menu walks you through: Discover -> Backup -> Migrate -> Verify -> Reinstall openclaw.
CLI commands
clawd-migrate # Interactive menu (default)
clawd-migrate discover [--root PATH]
clawd-migrate backup [--root PATH]
clawd-migrate migrate [--root PATH] [--no-backup] [--output PATH] [--setup-openclaw]
Requirements
What gets migrated
- Memory/identity: SOUL.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, MEMORY.md
- Config:
.config/moltbook/, .config/moltbot/
- Clawdbook/Moltbook: Kept under
.config/clawdbook/ (credentials, API keys)
- Extra:
projects/ (if present)
Tags
migration, openclaw, moltbot, clawdbot, clawdbook, moltbook, backup, verify
1---2name: clawd-migrate3description: clawd-migrate4---5# clawd-migrate67Migrate from **moltbot** or **clawdbot** to **openclaw**. Preserves config, memory, and clawdbook (Moltbook) data safely on any system.89## What it does1011- **Discovers** existing bot assets (memory files, config, clawdbook/Moltbook credentials)12- **Backs up** everything into a timestamped folder before any changes13- **Migrates** files into the openclaw layout: `memory/`, `.config/openclaw/`, `.config/clawdbook/`14- **Verifies** every source file was copied to its destination (existence + size match)15- **Reinstalls openclaw** (`npm i -g openclaw`) and runs `openclaw onboard` automatically1617## Quick start1819```bash20npx clawd-migrate21```2223Interactive menu walks you through: Discover -> Backup -> Migrate -> Verify -> Reinstall openclaw.2425## CLI commands2627```bash28clawd-migrate # Interactive menu (default)29clawd-migrate discover [--root PATH]30clawd-migrate backup [--root PATH]31clawd-migrate migrate [--root PATH] [--no-backup] [--output PATH] [--setup-openclaw]32```3334## Requirements3536- Node.js 14+37- Python 3.x3839## What gets migrated4041- **Memory/identity:** SOUL.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, MEMORY.md42- **Config:** `.config/moltbook/`, `.config/moltbot/`43- **Clawdbook/Moltbook:** Kept under `.config/clawdbook/` (credentials, API keys)44- **Extra:** `projects/` (if present)4546## Tags4748migration, openclaw, moltbot, clawdbot, clawdbook, moltbook, backup, verify