{"_id":"clawd-migrate","_rev":"4-2abb60a33ec04deaf180476f0c698965","name":"clawd-migrate","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.0":{"name":"clawd-migrate","version":"0.1.0","keywords":["openclaw","moltbot","clawdbot","migration","clawdbook","moltbook"],"author":"","license":"MIT","_id":"clawd-migrate@0.1.0","maintainers":[{"name":"calabiyauman","email":"carnahandouglas@gmail.com"}],"bin":{"clawd-migrate":"bin/clawd-migrate.js"},"dist":{"shasum":"0961f40b25976547c54cecc491ce975345392f4e","tarball":"https://registry.npmjs.org/clawd-migrate/-/clawd-migrate-0.1.0.tgz","fileCount":23,"integrity":"sha512-XTzOSmYwAxP3HZ5W0zAdtaP5+jp146QYv8qUNgG9x//ve7jQGFoC3+GLjSHZZok5WjqWpkCcKEO5tcH91EkztA==","signatures":[{"sig":"MEUCIQDv78EpBb6PIdgIoNPaIxhskpjeGGKUYsAjrT8OlkyfDwIgaGKRSNaEwSi3oOAJ8KSE0CplcRbExo3JJNnsvphh7eI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72700},"engines":{"node":">=14.0.0"},"gitHead":"b5cb3c0433c33b6d696e3ef37baa92414817184d","scripts":{"test":"node scripts/run-tests.js","prepublishOnly":"node scripts/copy-py.js"},"_npmUser":{"name":"calabiyauman","email":"carnahandouglas@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.2","description":"Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/clawd-migrate_0.1.0_1769964983269_0.25184863844728245","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"clawd-migrate","version":"0.1.1","keywords":["openclaw","moltbot","clawdbot","migration","clawdbook","moltbook"],"author":"","license":"MIT","_id":"clawd-migrate@0.1.1","maintainers":[{"name":"calabiyauman","email":"carnahandouglas@gmail.com"}],"bin":{"clawd-migrate":"bin/clawd-migrate.js"},"dist":{"shasum":"39bd0c59398517683ba1a67b7c69d66ffa700853","tarball":"https://registry.npmjs.org/clawd-migrate/-/clawd-migrate-0.1.1.tgz","fileCount":23,"integrity":"sha512-8K5D+cyyoz6wqMAaDimVOtZuzbvu5IayZJp1fMguGTQkhsXBrCFuyTQmFS014DXgn6mxg3zxQldXP1qSR+mV2A==","signatures":[{"sig":"MEYCIQCN2viGXe4QJcV43afg2zxFPT9AYc8p0gIm/4hmduwMTwIhALXcqiir0XjxKU+twLmyZCoRFmVmvX6NsuS6D4XiYMJa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72796},"engines":{"node":">=14.0.0"},"gitHead":"af4f8164a6606c06f7c3c5884fe984097fde3c84","scripts":{"test":"node scripts/run-tests.js","prepublishOnly":"node scripts/copy-py.js"},"_npmUser":{"name":"calabiyauman","email":"carnahandouglas@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.2","description":"Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/clawd-migrate_0.1.1_1769965483371_0.012939332583144836","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"clawd-migrate","version":"0.1.2","keywords":["openclaw","moltbot","clawdbot","migration","clawdbook","moltbook"],"author":"","license":"MIT","_id":"clawd-migrate@0.1.2","maintainers":[{"name":"calabiyauman","email":"carnahandouglas@gmail.com"}],"bin":{"clawd-migrate":"bin/clawd-migrate.js"},"dist":{"shasum":"9a73c8f20ca191d7e88086cacedb0ab6ebc69db4","tarball":"https://registry.npmjs.org/clawd-migrate/-/clawd-migrate-0.1.2.tgz","fileCount":23,"integrity":"sha512-2c4HVFSxowONulP1t8L5HW8LidDaqd6UF1wRq4KN/XQOm/y7hxY0QbgpvG/sjiOt6Bjhkk8sTiwmhZBvoynPDg==","signatures":[{"sig":"MEYCIQDjBrkdmKrQaqdGC+31vjU68mxPkjvQOih5JFFzGYhFKwIhAKcj/LlIl/m8oR5R5hX1GnjTwWvQaPWlmgzs1TKiemP1","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":72307},"engines":{"node":">=14.0.0"},"gitHead":"632108ac130e2e8d171ec47c4bc3a70d1dd2796a","scripts":{"test":"node scripts/run-tests.js","prepublishOnly":"node scripts/copy-py.js"},"_npmUser":{"name":"calabiyauman","email":"carnahandouglas@gmail.com"},"repository":{"url":"","type":"git"},"_npmVersion":"11.6.2","description":"Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data.","directories":{},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/clawd-migrate_0.1.2_1769965770182_0.5526912531378012","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"clawd-migrate","version":"0.1.3","description":"Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data.","author":"","license":"MIT","bin":{"clawd-migrate":"bin/clawd-migrate.js"},"scripts":{"prepublishOnly":"node scripts/copy-py.js","test":"node scripts/run-tests.js"},"keywords":["openclaw","moltbot","clawdbot","migration","clawdbook","moltbook"],"repository":{"type":"git","url":""},"engines":{"node":">=14.0.0"},"gitHead":"f719caaff181f46e54269d9c0a28de38df5eaa7d","_id":"clawd-migrate@0.1.3","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-B9mHnkqHhkhEuFCDRoMc2aJcnZxkbGhtX3tZouwourLKSJxwJTCUUFtyDSSkWvwszoOFuKYk/OTm+BXl5R0CYQ==","shasum":"a1c8ef7e8d4a83bbfba3bde12bbcabaab4f07aed","tarball":"https://registry.npmjs.org/clawd-migrate/-/clawd-migrate-0.1.3.tgz","fileCount":26,"unpackedSize":82166,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNxvwEo0VuCCOilVt74qNwhqSY6CKWHgDr2QbLxXq+6gIhANe/yWQ6MnCja6qrwAz0y13F7xbX0al8ZN3NNPsBvJRD"}]},"_npmUser":{"name":"calabiyauman","email":"carnahandouglas@gmail.com"},"directories":{},"maintainers":[{"name":"calabiyauman","email":"carnahandouglas@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/clawd-migrate_0.1.3_1769966678456_0.964213062986335"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-01T16:56:23.268Z","modified":"2026-02-01T17:24:38.742Z","0.1.0":"2026-02-01T16:56:23.433Z","0.1.1":"2026-02-01T17:04:43.520Z","0.1.2":"2026-02-01T17:09:30.342Z","0.1.3":"2026-02-01T17:24:38.614Z"},"license":"MIT","keywords":["openclaw","moltbot","clawdbot","migration","clawdbook","moltbook"],"repository":{"type":"git","url":""},"description":"Migrate from moltbot or clawdbot to openclaw. Preserves config, memory, and clawdbook (Moltbook) data.","maintainers":[{"name":"calabiyauman","email":"carnahandouglas@gmail.com"}],"readme":"# clawd-migrate\r\n\r\nMigrate from **moltbot** or **clawdbot** to **openclaw**. Preserves config, memory, and clawdbook (Moltbook) data. Works on any system.\r\n\r\n---\r\n\r\n## Quick start\r\n\r\n**Requirements:** Node.js 14+ and Python 3.x. Works on **Windows**, **macOS**, and **Linux**.\r\n\r\n```bash\r\nnpx clawd-migrate\r\n```\r\n\r\nThat starts the **interactive menu** (lobster + guided steps). For full install options and all commands, see **[HOW_TO_RUN.md](HOW_TO_RUN.md)**.\r\n\r\n---\r\n\r\n## What it does\r\n\r\n- **Discovers** your existing bot assets (memory files, config, clawdbook/Moltbook).\r\n- **Backs up** everything into a timestamped folder before any changes.\r\n- **Migrates** your files into the openclaw layout: `memory/`, `.config/openclaw/`, `.config/clawdbook/`, and preserves `projects/`.\r\n- **Optionally** installs openclaw (`npm i -g openclaw`) and runs `openclaw onboard` in the migrated directory so openclaw is set up with your existing files in place.\r\n\r\nMigration does **not** download openclaw by itself; use the post-migration step (TUI prompt or `--setup-openclaw`) to install openclaw and onboard the directory. Supports both **moltbot** and **clawdbot** source layouts; no machine-specific paths.\r\n\r\n---\r\n\r\n## Install and run\r\n\r\n| Method | Command |\r\n|--------|--------|\r\n| Run without installing | `npx clawd-migrate` |\r\n| Install globally | `npm install -g clawd-migrate` then `clawd-migrate` |\r\n| Install in a project | `npm install clawd-migrate` then `npx clawd-migrate` |\r\n\r\nFull details, CLI options, and Python-only usage: **[HOW_TO_RUN.md](HOW_TO_RUN.md)**.\r\n\r\n---\r\n\r\n## Commands (CLI)\r\n\r\n```bash\r\nclawd-migrate                    # Interactive menu (default)\r\nclawd-migrate discover [--root PATH]\r\nclawd-migrate backup [--root PATH] [--backup-dir PATH]\r\nclawd-migrate migrate [--root PATH] [--no-backup] [--output PATH] [--setup-openclaw]\r\n```\r\n\r\n`--root` defaults to the current directory. Use `--setup-openclaw` to run `npm i -g openclaw` and `openclaw onboard` in the output directory after migration.\r\n\r\n---\r\n\r\n## What gets migrated\r\n\r\n- **Memory/identity:** SOUL.md, USER.md, TOOLS.md, IDENTITY.md, AGENTS.md, MEMORY.md  \r\n- **Config:** `.config/moltbook/`, `.config/moltbot/` (credentials and API keys)  \r\n- **Clawdbook/Moltbook:** Kept under `.config/clawdbook` in the openclaw layout  \r\n- **Extra:** `projects/` (if present)\r\n\r\nBackups go under `backups/` (or `--backup-dir`) with prefix `openclaw_migrate_backup_`.\r\n\r\n---\r\n\r\n## Tests\r\n\r\nFrom the repo root:\r\n\r\n```bash\r\nnpm test\r\n```\r\n\r\nRuns Python unit tests for discover, backup, and migrate.\r\n\r\n---\r\n\r\n## Documentation\r\n\r\n| Doc | Description |\r\n|-----|-------------|\r\n| [HOW_TO_RUN.md](HOW_TO_RUN.md) | **How to run** – install, interactive mode, CLI, examples |\r\n| [Documentation/GITHUB.md](Documentation/GITHUB.md) | Publishing this repo to GitHub |\r\n| [Documentation/NPM_PUBLISH.md](Documentation/NPM_PUBLISH.md) | Publishing to npm |\r\n| [Documentation/TESTS.md](Documentation/TESTS.md) | Running and writing tests |\r\n| [Documentation/MIGRATION_SOURCES.md](Documentation/MIGRATION_SOURCES.md) | Moltbot/clawdbot support |\r\n| [Documentation/MIGRATION_TUI.md](Documentation/MIGRATION_TUI.md) | Interactive TUI (lobster + menu) |\r\n\r\n---\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}