import

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

1|Updated Jan 13, 2022
One-click install
npx skills add https://github.com/jayho-k/TIL --skill import-jayho-k
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import
Source: https://github.com/jayho-k/TIL/tree/main/AI/mem0/code/mem0_code_analize/mem0/integrations/mem0-plugin/skills/import
Command: npx skills add https://github.com/jayho-k/TIL --skill import-jayho-k

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Migrating memory and knowledge between projects or from other AI coding tools (Cursor, Copilot, Cline, Continue, Claude Code MEMORY.md) normally requires manual copy-paste and reformatting, risking lost context when switching projects or tools. ## 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) while assigning new IDs. - Competing Tool Migration: Detects and imports rules from .cursorrules, .github/copilot-instructions.md, memory-bank/, and .continue/rules.md with deduplication and truncation safeguards. - Claude Code MEMORY.md Import: Converts native auto-memory lines into mem0 memories and suggests disabling native auto-memory to avoid duplicate systems. - Use Case: A developer switching from Cursor to Claude Code runs the import with --tools to migrate all .cursorrules knowledge into their mem0 project memory in one step. ## Quick Start Ask the AI to import memories from your mem0 export file or run the import with --tools to migrate competing AI tool configurations 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 files containing mem0-export in the current directory. A parser script extracts memory records as JSON, then each record is added with its metadata and a newly assigned ID.

How to migrate Cursor rules or Copilot instructions 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 the import script converts their content into memories tagged with the source tool.

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

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

Is it safe to re-run the mem0 import multiple times?

Yes, re-running is safe because deduplication handles repeated imports of competing tool content. Original memory IDs are never reused since the platform assigns new IDs on each import.

What happens if some memories fail during import?

The import continues processing remaining records even when individual memories fail, tracking the success count. The final report shows how many succeeded out of the total, and consistent failures like auth errors stop the process early.