Agent skill · AI & Agents

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".

NanoCo30,389★ · +78/wk · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add nanocoai/nanoclaw --skill migrate-memory --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 12 KB
Bundled scripts: none
Path: .claude/skills/migrate-memory/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 30,426 · +37 this week
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. 1. Inventory and maintenance window
  2. 2. Prepare the shared tree
  3. 3. Move legacy files
  4. .seed.md
  5. Legacy CLAUDE.md
  6. CLAUDE.local.md
  7. Claude native auto-memory
  8. memory/memories/imported-agent-memory.md
  9. Explain quarantined links plainly
  10. 4. Organize with the invoking harness
  11. 5. Verify and rollback
More from nanoclaw
All skills →
About this skill
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.

Keep going