migrate-memory

Migrate agent memory between flat files and scaffolded directory structures.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy --skill migrate-memory-vincentchong123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrate-memory
Source: https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy/tree/main/.claude/skills/migrate-memory
Command: npx skills add https://github.com/VincentChong123/nanoclaw-v2-agy-api-proxy --skill migrate-memory-vincentchong123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the issue of data loss when switching AI providers, ensuring that an agent's learned preferences, identity, and durable facts are preserved across different memory storage architectures.

Core Features & Use Cases

  • Cross-Architecture Migration: Automatically translates memory between flat file structures (CLAUDE.local.md) and scaffolded directory trees (memory/).
  • Intelligent Distillation: Filters out transient conversational residue while retaining core agent identity and user-defined facts.
  • Use Case: When migrating an agent from a Claude-based provider to a Codex-based provider, this skill ensures the agent retains its personality and historical context without manual copy-pasting.

Quick Start

Ask the agent to migrate memory from the previous provider to the current one for the specified group.

Frequently Asked Questions about migrate-memory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate agent memory when switching AI providers?

Migrating agent memory when switching providers requires transferring durable facts and identity instructions between distinct storage systems. This skill automates the synchronization, ensuring the process is idempotent and non-destructive to prevent data loss.

What is the best way to transfer agent memory from a flat file to a scaffolded directory?

Transferring agent memory from a flat file to a scaffolded directory is best handled by automated cross-architecture translation. This skill reads flat file structures and translates them into scaffolded directory trees without manual copy-pasting.

Does memory migration filter out transient conversational data?

Yes, memory migration filters out transient conversational residue. Through intelligent distillation, the process retains only core agent identity and user-defined facts while discarding temporary chat history during the synchronization.

Can I sync memory stores between providers without losing existing data?

Yes, you can sync memory stores without data loss because the migration process is designed to be idempotent and non-destructive. It safely transfers durable facts and identity instructions across different agent infrastructure configurations.

When do I need to migrate memory between different agent infrastructure configurations?

You need to migrate memory between agent infrastructure configurations when switching from one AI provider to another, such as moving from a Claude-based provider to a Codex-based provider, to preserve the agent's personality and historical context.