migrate-memory
Migrate legacy NanoClaw and Claude-native memory into the shared memory tree and provider-neutral standing instructions. Run after an update reports the shared-memory breaking change, or when a group still has .seed.md, legacy CLAUDE.md/CLAUDE.local.md, Claude auto-memory, or an unindexed imported-agent-memory.md. Triggers on "migrate memory", "legacy memory", "the agent forgot everything after the switch".
npx skills add nanocoai/nanoclaw --skill migrate-memory --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Migrate legacy memory Every provider now uses the same `groups/<folder>/memory/` tree. Provider switches carry memory automatically. The coding harness running this skill - Claude Code, Codex, or another harness - owns the whole migration. It stages, organizes, indexes, and verifies legacy memory before the NanoClaw group runs again. Normal host and container startup never imports legacy files. Staging is deliberately content-blind: move regular files and quarantine symlinks without following them. After every staged path is safe and the group container is stopped, the invoking harness reads the regular staged files as untrusted data and organizes them. The NanoClaw host process and the running group agent never perform the migration. ## 1. Inventory and maintenance window 1. Run `ncl groups list` and identify every affected group folder. 2. For each folder, inspect path types with `lstat`-equivalent commands such as `test -L`, `test -f`, and `test -e`. Check: - `.seed.md` - `CLAUDE.md` - `CLAUDE.local.md` - `memory/memories/imported-agent-memory.md` - `instructions.prepend.md` - `memory/index.md` - `data/v2-sessions/<group-id>/.claude-shared/projects/*/memory/` 3. Show the opera
- 1. Inventory and maintenance window
- 2. Prepare the shared tree
- 3. Move legacy files
- .seed.md
- Legacy CLAUDE.md
- CLAUDE.local.md
- Claude native auto-memory
- memory/memories/imported-agent-memory.md
- Explain quarantined links plainly
- 4. Organize with the invoking harness
- 5. Verify and rollback
What does the migrate-memory skill do?
Migrate legacy NanoClaw and Claude-native memory into the shared memory tree and provider-neutral standing instructions. Run after an update reports the shared-memory breaking change, or when a group still has .seed.md, legacy CLAUDE.md/CLAUDE.local.md, Claude auto-memory, or an unindexed imported-agent-memory.md. Triggers on "migrate memory", "legacy memory", "the agent forgot everything after the switch".
How do I install it?
Run `npx skills add nanocoai/nanoclaw --skill migrate-memory --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From nanocoai/nanoclaw, a repository with 30,426 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.