← 返回 Skills 市场
clawd-migrate
作者
calabiyauman
· GitHub ↗
· v0.2.1
709
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install clawd-migrate
功能描述
Migrates moltbot or clawdbot data to openclaw by backing up, transferring config, memory, and clawdbook data with verification and automatic setup.
使用说明 (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 runsopenclaw onboardautomatically\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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawd-migrate - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawd-migrate触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.1
v0.2.1: Initial ClawHub publish
v0.2.0
v0.2.0: Post-migration file verification and automatic openclaw reinstall
元数据
常见问题
clawd-migrate 是什么?
Migrates moltbot or clawdbot data to openclaw by backing up, transferring config, memory, and clawdbook data with verification and automatic setup. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 709 次。
如何安装 clawd-migrate?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawd-migrate」即可一键安装,无需额外配置。
clawd-migrate 是免费的吗?
是的,clawd-migrate 完全免费(开源免费),可自由下载、安装和使用。
clawd-migrate 支持哪些平台?
clawd-migrate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 clawd-migrate?
由 calabiyauman(@calabiyauman)开发并维护,当前版本 v0.2.1。
推荐 Skills