import

Imports memories from mem0 export files and competing AI tool configs into a project.

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/nhatnguyen1122/Agent-Memory-Eval --skill import-nhatnguyen1122
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import
Source: https://github.com/nhatnguyen1122/Agent-Memory-Eval/tree/main/mem0/integrations/mem0-plugin/skills/import
Command: npx skills add https://github.com/nhatnguyen1122/Agent-Memory-Eval --skill import-nhatnguyen1122

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Migrating memory between projects or switching AI coding tools normally means losing accumulated context and knowledge. This Skill restores memories from mem0 export files, Claude Code's native MEMORY.md, or competing tool configuration files into the current project's mem0 store. ## Core Features & Use Cases - Export File Import: Parses mem0-export Markdown files via a Python script and re-adds each memory with preserved metadata (type, confidence, branch, files, categories). - Competing Tool Migration: Detects and imports rules from Cursor (.cursorrules), GitHub Copilot, Cline memory-bank, and Continue configuration files. - Native MEMORY.md Import: Converts Claude Code's native auto-memory lines into mem0 memories, closing the cold-start gap when switching memory systems. - Use Case: You backed up a project's memories with /mem0:export and are starting a new project. Run the import to restore all prior knowledge with a single command. ## Quick Start Ask the assistant to import memories from your mem0 export file or from detected competing tool configs into the current project.

Frequently Asked Questions about import

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

FAQPage Schema
How do I import memories from a mem0 export file?

Run the import command with the export filename, or let it auto-detect mem0-export Markdown files in the current directory. A parser script extracts memory records as JSON, then each record is added to the current project with its original metadata.

How to migrate memories from Cursor or GitHub Copilot to mem0?

Invoke the import with the --tools flag to detect .cursorrules, .github/copilot-instructions.md, memory-bank/, and .continue/rules.md. Select which tools to import, and a script converts their contents into mem0 memories tagged with the source tool.

Can I import Claude Code's native MEMORY.md into mem0?

Yes, provide the path to the native MEMORY.md file and each non-empty line over 20 characters becomes a separate memory with type task_learning. The skill also suggests disabling native auto-memory to avoid duplicate memory systems.

Does importing memories preserve the original memory IDs?

No, original IDs are used for reference only and the platform assigns a new ID on import. Metadata such as type, confidence, branch, and associated files is preserved, and re-running an import is safe due to deduplication.

What happens if the mem0 import parser script fails?

If the parser script is missing or returns an empty result, the import stops with an error message. If individual memory additions fail, the import continues with remaining records and reports the success and failure counts.