← Back to Skills Marketplace
calabiyauman

clawd-migrate

by calabiyauman · GitHub ↗ · v0.2.1
cross-platform ⚠ suspicious
709
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install clawd-migrate
Description
Migrates moltbot or clawdbot data to openclaw by backing up, transferring config, memory, and clawdbook data with verification and automatic setup.
README (SKILL.md)

clawd-migrate\r

\r Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data safely on any system.\r \r

What it does\r

\r

  • Discovers existing bot assets (memory files, config, clawdbook/Moltbook credentials)\r
  • Backs up everything into a timestamped folder before any changes\r
  • Migrates files into the openclaw layout: memory/, .config/openclaw/, .config/clawdbook/\r
  • Verifies every source file was copied to its destination (existence + size match)\r
  • Reinstalls openclaw (npm i -g openclaw) and runs openclaw onboard automatically\r \r

Quick start\r

\r

npx clawd-migrate\r
```\r
\r
Interactive menu walks you through: Discover -> Backup -> Migrate -> Verify -> Reinstall openclaw.\r
\r
## CLI commands\r
\r
```bash\r
clawd-migrate                     # Interactive menu (default)\r
clawd-migrate discover [--root PATH]\r
clawd-migrate backup [--root PATH]\r
clawd-migrate migrate [--root PATH] [--no-backup] [--output PATH] [--setup-openclaw]\r
```\r
\r
## Requirements\r
\r
- Node.js 14+\r
- Python 3.x\r
\r
## What gets migrated\r
\r
- **Memory/identity:** SOUL.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, MEMORY.md\r
- **Config:** `.config/moltbook/`, `.config/moltbot/`\r
- **Clawdbook/Moltbook:** Kept under `.config/clawdbook/` (credentials, API keys)\r
- **Extra:** `projects/` (if present)\r
\r
## Tags\r
\r
migration, openclaw, moltbot, clawdbot, clawdbook, moltbook, backup, verify\r
Usage Guidance
This package appears to be what it claims: a local migration tool that copies memory and config files (including credential files) into an openclaw layout and verifies the copies. Before using it: 1) Expect backups and migrated folders to contain credential files and API keys — treat those backups as sensitive. 2) The tool may run 'npm install -g openclaw' and 'openclaw onboard' (network activity and global install); if you don't want that, use the CLI option to skip setup or run migration without the automatic setup, or run the tool offline and perform installation manually after inspection. 3) If running via npx, you will fetch the published npm package — review the published package/source or run from a local clone if you prefer. 4) Run in a controlled/test directory first to confirm behavior. If you want additional assurance, ask the maintainer for a signed release or audit the installed openclaw package before allowing global install.
Capability Analysis
Type: OpenClaw Skill Name: clawd-migrate Version: 0.2.1 The skill performs high-privilege actions, including extensive file system modifications (backup, migration of config/memory/credentials) and executing external commands. Specifically, `openclaw_setup.py` uses `subprocess.run` with `shell=True` to globally install `openclaw` via `npm install -g openclaw` and then run `openclaw onboard`. While these actions are explicitly declared in `SKILL.md` and the documentation, and the commands themselves are hardcoded (mitigating direct shell injection via user input into the command string), the capability to install global packages and execute arbitrary binaries from npm represents a significant supply chain risk and broad system permissions. There is no evidence of intentional malicious behavior like data exfiltration or backdoors, but the powerful nature of these operations warrants a 'suspicious' classification.
Capability Assessment
Purpose & Capability
Name/description (migration to openclaw) matches the code and docs. Required languages/tools (Python, Node/npm) are exactly what the package uses. No unrelated credentials or binaries are requested.
Instruction Scope
SKILL.md and code instruct the agent to discover, back up, copy, and verify local files — including credential files under .config/moltbook or .config/moltbot — which is appropriate for a migration tool. One notable scope decision: the tool will (by default / documentation indicates automatic behavior) run 'npm install -g openclaw' and 'openclaw onboard' as a post-migration step; this modifies the host system and reaches out to the npm registry. That behaviour is coherent with 'set up the target app' but is a side-effect users should expect and control.
Install Mechanism
No install spec in the registry entry, but the repo contains typical npm wrapper files and a node bin script that invokes the Python package. There are no downloads from unknown URLs, no URL shorteners, and no extraction of remote archives. The prepublish script copies Python sources into lib/ for packaging — standard for an npm-wrapped Python tool.
Credentials
The skill requests no environment variables and does not read arbitrary env vars. It does, however, enumerate and copy local credential files (credentials.json under .config/moltbook/.config/moltbot) into the new layout and into backups — which is necessary for migration but sensitive. Users should be aware backups and migrated folders will contain their credentials/API keys.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It can run commands (subprocess) to perform npm installs and run openclaw; that is expected for its purpose but has the usual risk of performing global package installs on the host.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install clawd-migrate
  3. After installation, invoke the skill by name or use /clawd-migrate
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.1
v0.2.1: Initial ClawHub publish
v0.2.0
v0.2.0: Post-migration file verification and automatic openclaw reinstall
Metadata
Slug clawd-migrate
Version 0.2.1
License
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is clawd-migrate?

Migrates moltbot or clawdbot data to openclaw by backing up, transferring config, memory, and clawdbook data with verification and automatic setup. It is an AI Agent Skill for Claude Code / OpenClaw, with 709 downloads so far.

How do I install clawd-migrate?

Run "/install clawd-migrate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is clawd-migrate free?

Yes, clawd-migrate is completely free (open-source). You can download, install and use it at no cost.

Which platforms does clawd-migrate support?

clawd-migrate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created clawd-migrate?

It is built and maintained by calabiyauman (@calabiyauman); the current version is v0.2.1.

💬 Comments