nanoclaw-gws-ea: Skill for Claude Code

.claude/skills/migrate-memory/SKILL.md

migrate-memory is a skill for Claude Code from taslim/nanoclaw-gws-ea. It costs 92 tokens per session (2,813 once invoked), scanned A, a copy of migrate-memory, MIT.

A migration procedure for moving old agent memory into a shared memory folder and common instructions. It supports legacy files such as .seed.md, older CLAUDE.md files, and imported memory files.

In plain words
What is it for?
Use it after an update reports a shared-memory breaking change, or when a group still contains legacy memory files. It is intended for NanoClaw groups and works with different coding-agent providers.
Why use it?
It prevents old memory from being silently ignored after a shared-memory format change or a provider switch. The procedure stages, organizes, indexes, and checks the old files before the group runs again.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is taslim/nanoclaw-gws-ea's own configuration. It tells Claude Code how to work on nanoclaw-gws-ea itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nanoclaw-gws-ea configures →

Reuse

Borrowing it

Nothing to install: this file belongs to taslim/nanoclaw-gws-ea. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/taslim/nanoclaw-gws-ea/main/.claude/skills/migrate-memory/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/taslim/nanoclaw-gws-ea

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/migrate-memory/github.svg)](https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/migrate-memory)
Your own site
<a href="https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/migrate-memory"><img src="https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/migrate-memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/taslim/nanoclaw-gws-ea/migrate-memory"><img src="https://agentmods.dev/badge/skills/taslim/nanoclaw-gws-ea/migrate-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,813 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.02813
Opus 5.5 $0.00037 $0.01125
Sonnet 5.5 $0.00018 $0.00563
Haiku 4.5 $0.00009 $0.00281

Measured 10d ago against content hash 7a65dee9e2f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-memory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to migrate-memory — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/migrate-memory/SKILL.md · 249 lines

How it starts

The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 operator the affected groups and collision/symlink status. Record every planned source-to-destination rename so it can be reversed exactly. Ask for approval before moving anything.
  4. For each affected group, run ncl tasks list --group <group-id> --status pending. Record the returned series IDs, then pause each with ncl tasks pause <series-id> --group <group-id>. Do not resume tasks that were already paused before this workflow.
  5. Ask the operator not to message these groups during the migration. Run ncl groups restart --id <group-id> for each affected group. Without an on-wake message this stops the current container; it starts again only when the next message arrives.

Process one group completely before starting the next. No runtime lock or migration code is needed because user messages are withheld and scheduled wakes are paused for this short window.

Read the full file on GitHub · 249 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 249 lines · 92 tokens per session scan A 7a65dee9e2f6

Subscribe to this mod's changes

migrate-memory is a skill published in the GitHub repository taslim/nanoclaw-gws-ea (12 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 2,813 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to migrate-memory, differing in 0 lines, and is treated as a copy.

Related

migrate-memory compared with skills from other repositories

migrate-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
migrate-memorytaslim/nanoclaw-gws-eaSkill123d agoMITA92Claude Code
knowledge-ingestopenclaw/openclawSkill396ktodayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70kyesterdayApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A0Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k17d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2kyesterdayApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex