[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-mem0-import":3,"mdc-x3mwdv-key":47,"related-repo-mem0-import":1398,"related-org-mem0-import":1481},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":42,"sourceUrl":45,"mdContent":46},"import","import project memories from Markdown files","Imports memories from an exported Markdown file or MEMORY.md into the current project. Use when migrating from another project, restoring from backup, importing Claude Code native MEMORY.md content, or setting up a new project with existing knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"mem0","Mem0","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fmem0.png","mem0ai",[13,17,20],{"name":14,"slug":15,"type":16},"Markdown","markdown","tag",{"name":18,"slug":19,"type":16},"Memory","memory",{"name":21,"slug":22,"type":16},"Migration","migration",60691,"https:\u002F\u002Fgithub.com\u002Fmem0ai\u002Fmem0","2026-07-13T06:12:59.389494",null,7066,[29,30,31,32,33,34,35,36,37,19,38,39,40,41],"agents","ai","ai-agents","application","chatbots","chatgpt","genai","llm","long-term-memory","memory-management","python","rag","state-management",{"repoUrl":24,"stars":23,"forks":27,"topics":43,"description":44},[29,30,31,32,33,34,35,36,37,19,38,39,40,41],"Universal memory layer for AI Agents","https:\u002F\u002Fgithub.com\u002Fmem0ai\u002Fmem0\u002Ftree\u002FHEAD\u002Fintegrations\u002Fmem0-plugin\u002Fskills\u002Fimport","---\nname: import\ndescription: Imports memories from an exported Markdown file or MEMORY.md into the current project. Use when migrating from another project, restoring from backup, importing Claude Code native MEMORY.md content, or setting up a new project with existing knowledge.\n---\n\n# Mem0 Import\n\nImport memories from a mem0 export file into the current project.\n\n## Execution\n\n### Step 1: Determine the export file to import\n\nIf the user provided a filename as an argument to `\u002Fmem0:import \u003Cfilename>`, use that file.\n\nOtherwise, list `.md` files in the current directory whose names contain `mem0-export`:\n\n```bash\nls -1 *.md 2>\u002Fdev\u002Fnull | grep mem0-export || echo \"No export files found\"\n```\n\nIf multiple files are found, ask the user which one to import. If none are found, print:\n```\nNo mem0-export files found in the current directory.\nRun \u002Fmem0:export first, or provide the filename: \u002Fmem0:import \u003Cpath-to-file>\n```\n\n### Step 2: Parse the export file\n\nDetermine the plugin root. Use the appropriate variable for the current platform:\n- Claude Code: `${CLAUDE_PLUGIN_ROOT}`\n- Codex: `${CODEX_PLUGIN_ROOT}`\n- Cursor: `${CURSOR_PLUGIN_ROOT}`\n\nRun the parser script to extract memory records as JSON:\n\n```bash\npython3 \"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fparse_export_file.py\" \"\u003Cpath-to-export-file>\"\n```\n\nThis outputs a JSON array where each element has:\n- `id` — original memory ID (for reference only; a new ID will be assigned on import)\n- `type` — metadata type\n- `confidence` — metadata confidence value\n- `branch` — metadata branch\n- `files` — list of associated files\n- `categories` — list of categories\n- `content` — the memory text\n\nIf the script fails or outputs `[]`, print:\n```\nFailed to parse \u003Cfilename> or file contains no valid memory blocks.\n```\nand stop.\n\n### Step 3: Resolve identity\n\nDetermine the active identity:\n- `user_id` from `MEM0_USER_ID` env var, else `$USER`, else `\"default\"`\n- `project_id` (used as `app_id`) from `MEM0_PROJECT_ID` env var, or via the project resolver\n\n### Step 4: Import each memory\n\nFor each record in the parsed JSON array, call `add_memory` with:\n\n- `text=\"\u003Crecord.content>\"`\n- `user_id=\u003Cactive_user_id>`\n- `app_id=\u003Cactive_project_id>`\n- `metadata={`\n  - `\"type\": \"\u003Crecord.type>\"` (if non-empty)\n  - `\"confidence\": \"\u003Crecord.confidence>\"` (if non-empty)\n  - `\"branch\": \"\u003Crecord.branch>\"` (if non-empty)\n  - `\"files\": \u003Crecord.files>` (the list, if non-empty)\n  - `\"source\": \"import\"`\n  - `}`\n- `infer=False`\n\nNotes:\n- Do NOT pass the original `id` — the platform assigns a new ID.\n- Skip records where `content` is empty (the parser already filters these, but be defensive).\n- Continue importing even if individual records fail; track the count of successes.\n\n### Step 5: Print results\n\n```\nImported \u003CN> memories into project \u003Cproject_id>\n```\n\nWhere `\u003CN>` is the number of successfully imported memories.\n\nIf any failed:\n```\nImported \u003CN>\u002F\u003Ctotal> memories into project \u003Cproject_id> (\u003Cfailed> failed)\n```\n\n## Importing from competing AI tools (`--tools`)\n\nWhen invoked with `--tools` (e.g., `\u002Fmem0:import --tools`), detect and import\nfrom competing AI tool configuration files:\n\n### Supported tools\n\n| Tool | File\u002Fdirectory |\n|------|---------------|\n| Cursor | `.cursorrules` |\n| GitHub Copilot | `.github\u002Fcopilot-instructions.md` |\n| Cline | `memory-bank\u002F` (directory of `.md` files) |\n| Continue | `.continue\u002Frules.md` |\n\n### T1: Detect\n\n```bash\ntest -f .cursorrules && echo \"cursor: .cursorrules\"\ntest -f .github\u002Fcopilot-instructions.md && echo \"copilot: .github\u002Fcopilot-instructions.md\"\ntest -d memory-bank\u002F && echo \"cline: memory-bank\u002F\"\ntest -f .continue\u002Frules.md && echo \"continue: .continue\u002Frules.md\"\n```\n\n### T2: Ask user\n\nList found files, ask which to import (numbers, comma-separated, or \"all\").\nIf none found:\n```\nNo competing tool configuration files found.\nChecked: .cursorrules, .github\u002Fcopilot-instructions.md, memory-bank\u002F, .continue\u002Frules.md\n```\n\n### T3: Run import\n\nFor each selected tool:\n```bash\npython3 \"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fimport_competing_tools.py\" \u003Ctool> --path \u003Cfile>\n```\n\nTools: `cursorrules`, `copilot`, `cline`, `continue`.\n\n### T4: Report\n\n```\nImported \u003CN> memories into \u003Cproject_id> (cursor: \u003CN>, copilot: \u003CN>)\n```\n\nNotes: `infer=False`, tagged `metadata.source=\u003Ctool>-import`, sections \u003C50 chars\nskipped, chunks >10k chars truncated, safe to re-run (deduplication handles it).\n\n---\n\n## Importing Claude Code's native MEMORY.md\n\nWhen invoked with a path to Claude Code's native `MEMORY.md` file (typically\n`~\u002F.claude\u002Fprojects\u002F\u003Cproj-key>\u002Fmemory\u002FMEMORY.md`), or when `on_session_start.sh`\ndetects native auto-memory and the user chooses to import:\n\n1. Read the file. It contains newline-separated memory entries (one fact per line,\n   sometimes with `- ` bullet prefix).\n2. Split by non-empty lines. Each line becomes one memory.\n3. Skip lines shorter than 20 characters or lines that are just headers (`#`).\n4. For each line, call `add_memory` with:\n   - `text=\"\u003Cline>\"`\n   - `user_id=\u003Cactive_user_id>`\n   - `app_id=\u003Cactive_project_id>`\n   - `metadata={\"type\": \"task_learning\", \"source\": \"memory-md-import\", \"confidence\": 0.8}`\n   - `infer=False`\n5. Report: `Imported \u003CN> memories from MEMORY.md into project \u003Cproject_id>`\n6. Suggest disabling native auto-memory:\n   ```\n   To avoid duplicate memory systems, add to ~\u002F.claude\u002Fsettings.json:\n     \"autoMemoryEnabled\": false\n   ```\n\nThis handles the cold-start gap when a user has been using Claude Code's native\nmemory and switches to mem0.\n\n## Error Handling\n\n- If the parser script is not found at `\u003CPLUGIN_ROOT>\u002Fscripts\u002Fparse_export_file.py`, print an error and stop.\n- If `add_memory` calls fail consistently (e.g. auth error), report the issue and stop early.\n",{"data":48,"body":49},{"name":4,"description":6},{"type":50,"children":51},"root",[52,61,67,74,81,95,116,207,212,222,228,233,271,276,318,323,403,416,425,430,436,441,504,510,523,634,639,671,677,686,699,704,713,727,747,753,858,864,1026,1032,1037,1046,1052,1057,1128,1163,1169,1178,1198,1202,1208,1237,1354,1359,1365,1392],{"type":53,"tag":54,"props":55,"children":57},"element","h1",{"id":56},"mem0-import",[58],{"type":59,"value":60},"text","Mem0 Import",{"type":53,"tag":62,"props":63,"children":64},"p",{},[65],{"type":59,"value":66},"Import memories from a mem0 export file into the current project.",{"type":53,"tag":68,"props":69,"children":71},"h2",{"id":70},"execution",[72],{"type":59,"value":73},"Execution",{"type":53,"tag":75,"props":76,"children":78},"h3",{"id":77},"step-1-determine-the-export-file-to-import",[79],{"type":59,"value":80},"Step 1: Determine the export file to import",{"type":53,"tag":62,"props":82,"children":83},{},[84,86,93],{"type":59,"value":85},"If the user provided a filename as an argument to ",{"type":53,"tag":87,"props":88,"children":90},"code",{"className":89},[],[91],{"type":59,"value":92},"\u002Fmem0:import \u003Cfilename>",{"type":59,"value":94},", use that file.",{"type":53,"tag":62,"props":96,"children":97},{},[98,100,106,108,114],{"type":59,"value":99},"Otherwise, list ",{"type":53,"tag":87,"props":101,"children":103},{"className":102},[],[104],{"type":59,"value":105},".md",{"type":59,"value":107}," files in the current directory whose names contain ",{"type":53,"tag":87,"props":109,"children":111},{"className":110},[],[112],{"type":59,"value":113},"mem0-export",{"type":59,"value":115},":",{"type":53,"tag":117,"props":118,"children":123},"pre",{"className":119,"code":120,"language":121,"meta":122,"style":122},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ls -1 *.md 2>\u002Fdev\u002Fnull | grep mem0-export || echo \"No export files found\"\n","bash","",[124],{"type":53,"tag":87,"props":125,"children":126},{"__ignoreMap":122},[127],{"type":53,"tag":128,"props":129,"children":132},"span",{"class":130,"line":131},"line",1,[133,139,145,151,155,161,166,171,176,181,186,192,197,202],{"type":53,"tag":128,"props":134,"children":136},{"style":135},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[137],{"type":59,"value":138},"ls",{"type":53,"tag":128,"props":140,"children":142},{"style":141},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[143],{"type":59,"value":144}," -1",{"type":53,"tag":128,"props":146,"children":148},{"style":147},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[149],{"type":59,"value":150}," *",{"type":53,"tag":128,"props":152,"children":153},{"style":141},[154],{"type":59,"value":105},{"type":53,"tag":128,"props":156,"children":158},{"style":157},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[159],{"type":59,"value":160}," 2>",{"type":53,"tag":128,"props":162,"children":163},{"style":141},[164],{"type":59,"value":165},"\u002Fdev\u002Fnull",{"type":53,"tag":128,"props":167,"children":168},{"style":157},[169],{"type":59,"value":170}," |",{"type":53,"tag":128,"props":172,"children":173},{"style":135},[174],{"type":59,"value":175}," grep",{"type":53,"tag":128,"props":177,"children":178},{"style":141},[179],{"type":59,"value":180}," mem0-export",{"type":53,"tag":128,"props":182,"children":183},{"style":157},[184],{"type":59,"value":185}," ||",{"type":53,"tag":128,"props":187,"children":189},{"style":188},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[190],{"type":59,"value":191}," echo",{"type":53,"tag":128,"props":193,"children":194},{"style":157},[195],{"type":59,"value":196}," \"",{"type":53,"tag":128,"props":198,"children":199},{"style":141},[200],{"type":59,"value":201},"No export files found",{"type":53,"tag":128,"props":203,"children":204},{"style":157},[205],{"type":59,"value":206},"\"\n",{"type":53,"tag":62,"props":208,"children":209},{},[210],{"type":59,"value":211},"If multiple files are found, ask the user which one to import. If none are found, print:",{"type":53,"tag":117,"props":213,"children":217},{"className":214,"code":216,"language":59},[215],"language-text","No mem0-export files found in the current directory.\nRun \u002Fmem0:export first, or provide the filename: \u002Fmem0:import \u003Cpath-to-file>\n",[218],{"type":53,"tag":87,"props":219,"children":220},{"__ignoreMap":122},[221],{"type":59,"value":216},{"type":53,"tag":75,"props":223,"children":225},{"id":224},"step-2-parse-the-export-file",[226],{"type":59,"value":227},"Step 2: Parse the export file",{"type":53,"tag":62,"props":229,"children":230},{},[231],{"type":59,"value":232},"Determine the plugin root. Use the appropriate variable for the current platform:",{"type":53,"tag":234,"props":235,"children":236},"ul",{},[237,249,260],{"type":53,"tag":238,"props":239,"children":240},"li",{},[241,243],{"type":59,"value":242},"Claude Code: ",{"type":53,"tag":87,"props":244,"children":246},{"className":245},[],[247],{"type":59,"value":248},"${CLAUDE_PLUGIN_ROOT}",{"type":53,"tag":238,"props":250,"children":251},{},[252,254],{"type":59,"value":253},"Codex: ",{"type":53,"tag":87,"props":255,"children":257},{"className":256},[],[258],{"type":59,"value":259},"${CODEX_PLUGIN_ROOT}",{"type":53,"tag":238,"props":261,"children":262},{},[263,265],{"type":59,"value":264},"Cursor: ",{"type":53,"tag":87,"props":266,"children":268},{"className":267},[],[269],{"type":59,"value":270},"${CURSOR_PLUGIN_ROOT}",{"type":53,"tag":62,"props":272,"children":273},{},[274],{"type":59,"value":275},"Run the parser script to extract memory records as JSON:",{"type":53,"tag":117,"props":277,"children":279},{"className":119,"code":278,"language":121,"meta":122,"style":122},"python3 \"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fparse_export_file.py\" \"\u003Cpath-to-export-file>\"\n",[280],{"type":53,"tag":87,"props":281,"children":282},{"__ignoreMap":122},[283],{"type":53,"tag":128,"props":284,"children":285},{"class":130,"line":131},[286,291,295,300,305,309,314],{"type":53,"tag":128,"props":287,"children":288},{"style":135},[289],{"type":59,"value":290},"python3",{"type":53,"tag":128,"props":292,"children":293},{"style":157},[294],{"type":59,"value":196},{"type":53,"tag":128,"props":296,"children":297},{"style":141},[298],{"type":59,"value":299},"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fparse_export_file.py",{"type":53,"tag":128,"props":301,"children":302},{"style":157},[303],{"type":59,"value":304},"\"",{"type":53,"tag":128,"props":306,"children":307},{"style":157},[308],{"type":59,"value":196},{"type":53,"tag":128,"props":310,"children":311},{"style":141},[312],{"type":59,"value":313},"\u003Cpath-to-export-file>",{"type":53,"tag":128,"props":315,"children":316},{"style":157},[317],{"type":59,"value":206},{"type":53,"tag":62,"props":319,"children":320},{},[321],{"type":59,"value":322},"This outputs a JSON array where each element has:",{"type":53,"tag":234,"props":324,"children":325},{},[326,337,348,359,370,381,392],{"type":53,"tag":238,"props":327,"children":328},{},[329,335],{"type":53,"tag":87,"props":330,"children":332},{"className":331},[],[333],{"type":59,"value":334},"id",{"type":59,"value":336}," — original memory ID (for reference only; a new ID will be assigned on import)",{"type":53,"tag":238,"props":338,"children":339},{},[340,346],{"type":53,"tag":87,"props":341,"children":343},{"className":342},[],[344],{"type":59,"value":345},"type",{"type":59,"value":347}," — metadata type",{"type":53,"tag":238,"props":349,"children":350},{},[351,357],{"type":53,"tag":87,"props":352,"children":354},{"className":353},[],[355],{"type":59,"value":356},"confidence",{"type":59,"value":358}," — metadata confidence value",{"type":53,"tag":238,"props":360,"children":361},{},[362,368],{"type":53,"tag":87,"props":363,"children":365},{"className":364},[],[366],{"type":59,"value":367},"branch",{"type":59,"value":369}," — metadata branch",{"type":53,"tag":238,"props":371,"children":372},{},[373,379],{"type":53,"tag":87,"props":374,"children":376},{"className":375},[],[377],{"type":59,"value":378},"files",{"type":59,"value":380}," — list of associated files",{"type":53,"tag":238,"props":382,"children":383},{},[384,390],{"type":53,"tag":87,"props":385,"children":387},{"className":386},[],[388],{"type":59,"value":389},"categories",{"type":59,"value":391}," — list of categories",{"type":53,"tag":238,"props":393,"children":394},{},[395,401],{"type":53,"tag":87,"props":396,"children":398},{"className":397},[],[399],{"type":59,"value":400},"content",{"type":59,"value":402}," — the memory text",{"type":53,"tag":62,"props":404,"children":405},{},[406,408,414],{"type":59,"value":407},"If the script fails or outputs ",{"type":53,"tag":87,"props":409,"children":411},{"className":410},[],[412],{"type":59,"value":413},"[]",{"type":59,"value":415},", print:",{"type":53,"tag":117,"props":417,"children":420},{"className":418,"code":419,"language":59},[215],"Failed to parse \u003Cfilename> or file contains no valid memory blocks.\n",[421],{"type":53,"tag":87,"props":422,"children":423},{"__ignoreMap":122},[424],{"type":59,"value":419},{"type":53,"tag":62,"props":426,"children":427},{},[428],{"type":59,"value":429},"and stop.",{"type":53,"tag":75,"props":431,"children":433},{"id":432},"step-3-resolve-identity",[434],{"type":59,"value":435},"Step 3: Resolve identity",{"type":53,"tag":62,"props":437,"children":438},{},[439],{"type":59,"value":440},"Determine the active identity:",{"type":53,"tag":234,"props":442,"children":443},{},[444,477],{"type":53,"tag":238,"props":445,"children":446},{},[447,453,455,461,463,469,471],{"type":53,"tag":87,"props":448,"children":450},{"className":449},[],[451],{"type":59,"value":452},"user_id",{"type":59,"value":454}," from ",{"type":53,"tag":87,"props":456,"children":458},{"className":457},[],[459],{"type":59,"value":460},"MEM0_USER_ID",{"type":59,"value":462}," env var, else ",{"type":53,"tag":87,"props":464,"children":466},{"className":465},[],[467],{"type":59,"value":468},"$USER",{"type":59,"value":470},", else ",{"type":53,"tag":87,"props":472,"children":474},{"className":473},[],[475],{"type":59,"value":476},"\"default\"",{"type":53,"tag":238,"props":478,"children":479},{},[480,486,488,494,496,502],{"type":53,"tag":87,"props":481,"children":483},{"className":482},[],[484],{"type":59,"value":485},"project_id",{"type":59,"value":487}," (used as ",{"type":53,"tag":87,"props":489,"children":491},{"className":490},[],[492],{"type":59,"value":493},"app_id",{"type":59,"value":495},") from ",{"type":53,"tag":87,"props":497,"children":499},{"className":498},[],[500],{"type":59,"value":501},"MEM0_PROJECT_ID",{"type":59,"value":503}," env var, or via the project resolver",{"type":53,"tag":75,"props":505,"children":507},{"id":506},"step-4-import-each-memory",[508],{"type":59,"value":509},"Step 4: Import each memory",{"type":53,"tag":62,"props":511,"children":512},{},[513,515,521],{"type":59,"value":514},"For each record in the parsed JSON array, call ",{"type":53,"tag":87,"props":516,"children":518},{"className":517},[],[519],{"type":59,"value":520},"add_memory",{"type":59,"value":522}," with:",{"type":53,"tag":234,"props":524,"children":525},{},[526,535,544,553,625],{"type":53,"tag":238,"props":527,"children":528},{},[529],{"type":53,"tag":87,"props":530,"children":532},{"className":531},[],[533],{"type":59,"value":534},"text=\"\u003Crecord.content>\"",{"type":53,"tag":238,"props":536,"children":537},{},[538],{"type":53,"tag":87,"props":539,"children":541},{"className":540},[],[542],{"type":59,"value":543},"user_id=\u003Cactive_user_id>",{"type":53,"tag":238,"props":545,"children":546},{},[547],{"type":53,"tag":87,"props":548,"children":550},{"className":549},[],[551],{"type":59,"value":552},"app_id=\u003Cactive_project_id>",{"type":53,"tag":238,"props":554,"children":555},{},[556,562],{"type":53,"tag":87,"props":557,"children":559},{"className":558},[],[560],{"type":59,"value":561},"metadata={",{"type":53,"tag":234,"props":563,"children":564},{},[565,576,586,596,607,616],{"type":53,"tag":238,"props":566,"children":567},{},[568,574],{"type":53,"tag":87,"props":569,"children":571},{"className":570},[],[572],{"type":59,"value":573},"\"type\": \"\u003Crecord.type>\"",{"type":59,"value":575}," (if non-empty)",{"type":53,"tag":238,"props":577,"children":578},{},[579,585],{"type":53,"tag":87,"props":580,"children":582},{"className":581},[],[583],{"type":59,"value":584},"\"confidence\": \"\u003Crecord.confidence>\"",{"type":59,"value":575},{"type":53,"tag":238,"props":587,"children":588},{},[589,595],{"type":53,"tag":87,"props":590,"children":592},{"className":591},[],[593],{"type":59,"value":594},"\"branch\": \"\u003Crecord.branch>\"",{"type":59,"value":575},{"type":53,"tag":238,"props":597,"children":598},{},[599,605],{"type":53,"tag":87,"props":600,"children":602},{"className":601},[],[603],{"type":59,"value":604},"\"files\": \u003Crecord.files>",{"type":59,"value":606}," (the list, if non-empty)",{"type":53,"tag":238,"props":608,"children":609},{},[610],{"type":53,"tag":87,"props":611,"children":613},{"className":612},[],[614],{"type":59,"value":615},"\"source\": \"import\"",{"type":53,"tag":238,"props":617,"children":618},{},[619],{"type":53,"tag":87,"props":620,"children":622},{"className":621},[],[623],{"type":59,"value":624},"}",{"type":53,"tag":238,"props":626,"children":627},{},[628],{"type":53,"tag":87,"props":629,"children":631},{"className":630},[],[632],{"type":59,"value":633},"infer=False",{"type":53,"tag":62,"props":635,"children":636},{},[637],{"type":59,"value":638},"Notes:",{"type":53,"tag":234,"props":640,"children":641},{},[642,654,666],{"type":53,"tag":238,"props":643,"children":644},{},[645,647,652],{"type":59,"value":646},"Do NOT pass the original ",{"type":53,"tag":87,"props":648,"children":650},{"className":649},[],[651],{"type":59,"value":334},{"type":59,"value":653}," — the platform assigns a new ID.",{"type":53,"tag":238,"props":655,"children":656},{},[657,659,664],{"type":59,"value":658},"Skip records where ",{"type":53,"tag":87,"props":660,"children":662},{"className":661},[],[663],{"type":59,"value":400},{"type":59,"value":665}," is empty (the parser already filters these, but be defensive).",{"type":53,"tag":238,"props":667,"children":668},{},[669],{"type":59,"value":670},"Continue importing even if individual records fail; track the count of successes.",{"type":53,"tag":75,"props":672,"children":674},{"id":673},"step-5-print-results",[675],{"type":59,"value":676},"Step 5: Print results",{"type":53,"tag":117,"props":678,"children":681},{"className":679,"code":680,"language":59},[215],"Imported \u003CN> memories into project \u003Cproject_id>\n",[682],{"type":53,"tag":87,"props":683,"children":684},{"__ignoreMap":122},[685],{"type":59,"value":680},{"type":53,"tag":62,"props":687,"children":688},{},[689,691,697],{"type":59,"value":690},"Where ",{"type":53,"tag":87,"props":692,"children":694},{"className":693},[],[695],{"type":59,"value":696},"\u003CN>",{"type":59,"value":698}," is the number of successfully imported memories.",{"type":53,"tag":62,"props":700,"children":701},{},[702],{"type":59,"value":703},"If any failed:",{"type":53,"tag":117,"props":705,"children":708},{"className":706,"code":707,"language":59},[215],"Imported \u003CN>\u002F\u003Ctotal> memories into project \u003Cproject_id> (\u003Cfailed> failed)\n",[709],{"type":53,"tag":87,"props":710,"children":711},{"__ignoreMap":122},[712],{"type":59,"value":707},{"type":53,"tag":68,"props":714,"children":716},{"id":715},"importing-from-competing-ai-tools-tools",[717,719,725],{"type":59,"value":718},"Importing from competing AI tools (",{"type":53,"tag":87,"props":720,"children":722},{"className":721},[],[723],{"type":59,"value":724},"--tools",{"type":59,"value":726},")",{"type":53,"tag":62,"props":728,"children":729},{},[730,732,737,739,745],{"type":59,"value":731},"When invoked with ",{"type":53,"tag":87,"props":733,"children":735},{"className":734},[],[736],{"type":59,"value":724},{"type":59,"value":738}," (e.g., ",{"type":53,"tag":87,"props":740,"children":742},{"className":741},[],[743],{"type":59,"value":744},"\u002Fmem0:import --tools",{"type":59,"value":746},"), detect and import\nfrom competing AI tool configuration files:",{"type":53,"tag":75,"props":748,"children":750},{"id":749},"supported-tools",[751],{"type":59,"value":752},"Supported tools",{"type":53,"tag":754,"props":755,"children":756},"table",{},[757,776],{"type":53,"tag":758,"props":759,"children":760},"thead",{},[761],{"type":53,"tag":762,"props":763,"children":764},"tr",{},[765,771],{"type":53,"tag":766,"props":767,"children":768},"th",{},[769],{"type":59,"value":770},"Tool",{"type":53,"tag":766,"props":772,"children":773},{},[774],{"type":59,"value":775},"File\u002Fdirectory",{"type":53,"tag":777,"props":778,"children":779},"tbody",{},[780,798,815,841],{"type":53,"tag":762,"props":781,"children":782},{},[783,789],{"type":53,"tag":784,"props":785,"children":786},"td",{},[787],{"type":59,"value":788},"Cursor",{"type":53,"tag":784,"props":790,"children":791},{},[792],{"type":53,"tag":87,"props":793,"children":795},{"className":794},[],[796],{"type":59,"value":797},".cursorrules",{"type":53,"tag":762,"props":799,"children":800},{},[801,806],{"type":53,"tag":784,"props":802,"children":803},{},[804],{"type":59,"value":805},"GitHub Copilot",{"type":53,"tag":784,"props":807,"children":808},{},[809],{"type":53,"tag":87,"props":810,"children":812},{"className":811},[],[813],{"type":59,"value":814},".github\u002Fcopilot-instructions.md",{"type":53,"tag":762,"props":816,"children":817},{},[818,823],{"type":53,"tag":784,"props":819,"children":820},{},[821],{"type":59,"value":822},"Cline",{"type":53,"tag":784,"props":824,"children":825},{},[826,832,834,839],{"type":53,"tag":87,"props":827,"children":829},{"className":828},[],[830],{"type":59,"value":831},"memory-bank\u002F",{"type":59,"value":833}," (directory of ",{"type":53,"tag":87,"props":835,"children":837},{"className":836},[],[838],{"type":59,"value":105},{"type":59,"value":840}," files)",{"type":53,"tag":762,"props":842,"children":843},{},[844,849],{"type":53,"tag":784,"props":845,"children":846},{},[847],{"type":59,"value":848},"Continue",{"type":53,"tag":784,"props":850,"children":851},{},[852],{"type":53,"tag":87,"props":853,"children":855},{"className":854},[],[856],{"type":59,"value":857},".continue\u002Frules.md",{"type":53,"tag":75,"props":859,"children":861},{"id":860},"t1-detect",[862],{"type":59,"value":863},"T1: Detect",{"type":53,"tag":117,"props":865,"children":867},{"className":119,"code":866,"language":121,"meta":122,"style":122},"test -f .cursorrules && echo \"cursor: .cursorrules\"\ntest -f .github\u002Fcopilot-instructions.md && echo \"copilot: .github\u002Fcopilot-instructions.md\"\ntest -d memory-bank\u002F && echo \"cline: memory-bank\u002F\"\ntest -f .continue\u002Frules.md && echo \"continue: .continue\u002Frules.md\"\n",[868],{"type":53,"tag":87,"props":869,"children":870},{"__ignoreMap":122},[871,911,949,988],{"type":53,"tag":128,"props":872,"children":873},{"class":130,"line":131},[874,879,884,889,894,898,902,907],{"type":53,"tag":128,"props":875,"children":876},{"style":188},[877],{"type":59,"value":878},"test",{"type":53,"tag":128,"props":880,"children":881},{"style":141},[882],{"type":59,"value":883}," -f",{"type":53,"tag":128,"props":885,"children":886},{"style":141},[887],{"type":59,"value":888}," .cursorrules",{"type":53,"tag":128,"props":890,"children":891},{"style":157},[892],{"type":59,"value":893}," &&",{"type":53,"tag":128,"props":895,"children":896},{"style":188},[897],{"type":59,"value":191},{"type":53,"tag":128,"props":899,"children":900},{"style":157},[901],{"type":59,"value":196},{"type":53,"tag":128,"props":903,"children":904},{"style":141},[905],{"type":59,"value":906},"cursor: .cursorrules",{"type":53,"tag":128,"props":908,"children":909},{"style":157},[910],{"type":59,"value":206},{"type":53,"tag":128,"props":912,"children":914},{"class":130,"line":913},2,[915,919,923,928,932,936,940,945],{"type":53,"tag":128,"props":916,"children":917},{"style":188},[918],{"type":59,"value":878},{"type":53,"tag":128,"props":920,"children":921},{"style":141},[922],{"type":59,"value":883},{"type":53,"tag":128,"props":924,"children":925},{"style":141},[926],{"type":59,"value":927}," .github\u002Fcopilot-instructions.md",{"type":53,"tag":128,"props":929,"children":930},{"style":157},[931],{"type":59,"value":893},{"type":53,"tag":128,"props":933,"children":934},{"style":188},[935],{"type":59,"value":191},{"type":53,"tag":128,"props":937,"children":938},{"style":157},[939],{"type":59,"value":196},{"type":53,"tag":128,"props":941,"children":942},{"style":141},[943],{"type":59,"value":944},"copilot: .github\u002Fcopilot-instructions.md",{"type":53,"tag":128,"props":946,"children":947},{"style":157},[948],{"type":59,"value":206},{"type":53,"tag":128,"props":950,"children":952},{"class":130,"line":951},3,[953,957,962,967,971,975,979,984],{"type":53,"tag":128,"props":954,"children":955},{"style":188},[956],{"type":59,"value":878},{"type":53,"tag":128,"props":958,"children":959},{"style":141},[960],{"type":59,"value":961}," -d",{"type":53,"tag":128,"props":963,"children":964},{"style":141},[965],{"type":59,"value":966}," memory-bank\u002F",{"type":53,"tag":128,"props":968,"children":969},{"style":157},[970],{"type":59,"value":893},{"type":53,"tag":128,"props":972,"children":973},{"style":188},[974],{"type":59,"value":191},{"type":53,"tag":128,"props":976,"children":977},{"style":157},[978],{"type":59,"value":196},{"type":53,"tag":128,"props":980,"children":981},{"style":141},[982],{"type":59,"value":983},"cline: memory-bank\u002F",{"type":53,"tag":128,"props":985,"children":986},{"style":157},[987],{"type":59,"value":206},{"type":53,"tag":128,"props":989,"children":991},{"class":130,"line":990},4,[992,996,1000,1005,1009,1013,1017,1022],{"type":53,"tag":128,"props":993,"children":994},{"style":188},[995],{"type":59,"value":878},{"type":53,"tag":128,"props":997,"children":998},{"style":141},[999],{"type":59,"value":883},{"type":53,"tag":128,"props":1001,"children":1002},{"style":141},[1003],{"type":59,"value":1004}," .continue\u002Frules.md",{"type":53,"tag":128,"props":1006,"children":1007},{"style":157},[1008],{"type":59,"value":893},{"type":53,"tag":128,"props":1010,"children":1011},{"style":188},[1012],{"type":59,"value":191},{"type":53,"tag":128,"props":1014,"children":1015},{"style":157},[1016],{"type":59,"value":196},{"type":53,"tag":128,"props":1018,"children":1019},{"style":141},[1020],{"type":59,"value":1021},"continue: .continue\u002Frules.md",{"type":53,"tag":128,"props":1023,"children":1024},{"style":157},[1025],{"type":59,"value":206},{"type":53,"tag":75,"props":1027,"children":1029},{"id":1028},"t2-ask-user",[1030],{"type":59,"value":1031},"T2: Ask user",{"type":53,"tag":62,"props":1033,"children":1034},{},[1035],{"type":59,"value":1036},"List found files, ask which to import (numbers, comma-separated, or \"all\").\nIf none found:",{"type":53,"tag":117,"props":1038,"children":1041},{"className":1039,"code":1040,"language":59},[215],"No competing tool configuration files found.\nChecked: .cursorrules, .github\u002Fcopilot-instructions.md, memory-bank\u002F, .continue\u002Frules.md\n",[1042],{"type":53,"tag":87,"props":1043,"children":1044},{"__ignoreMap":122},[1045],{"type":59,"value":1040},{"type":53,"tag":75,"props":1047,"children":1049},{"id":1048},"t3-run-import",[1050],{"type":59,"value":1051},"T3: Run import",{"type":53,"tag":62,"props":1053,"children":1054},{},[1055],{"type":59,"value":1056},"For each selected tool:",{"type":53,"tag":117,"props":1058,"children":1060},{"className":119,"code":1059,"language":121,"meta":122,"style":122},"python3 \"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fimport_competing_tools.py\" \u003Ctool> --path \u003Cfile>\n",[1061],{"type":53,"tag":87,"props":1062,"children":1063},{"__ignoreMap":122},[1064],{"type":53,"tag":128,"props":1065,"children":1066},{"class":130,"line":131},[1067,1071,1075,1080,1084,1089,1094,1099,1104,1109,1113,1118,1123],{"type":53,"tag":128,"props":1068,"children":1069},{"style":135},[1070],{"type":59,"value":290},{"type":53,"tag":128,"props":1072,"children":1073},{"style":157},[1074],{"type":59,"value":196},{"type":53,"tag":128,"props":1076,"children":1077},{"style":141},[1078],{"type":59,"value":1079},"\u003CPLUGIN_ROOT>\u002Fscripts\u002Fimport_competing_tools.py",{"type":53,"tag":128,"props":1081,"children":1082},{"style":157},[1083],{"type":59,"value":304},{"type":53,"tag":128,"props":1085,"children":1086},{"style":157},[1087],{"type":59,"value":1088}," \u003C",{"type":53,"tag":128,"props":1090,"children":1091},{"style":141},[1092],{"type":59,"value":1093},"too",{"type":53,"tag":128,"props":1095,"children":1096},{"style":147},[1097],{"type":59,"value":1098},"l",{"type":53,"tag":128,"props":1100,"children":1101},{"style":157},[1102],{"type":59,"value":1103},">",{"type":53,"tag":128,"props":1105,"children":1106},{"style":141},[1107],{"type":59,"value":1108}," --path",{"type":53,"tag":128,"props":1110,"children":1111},{"style":157},[1112],{"type":59,"value":1088},{"type":53,"tag":128,"props":1114,"children":1115},{"style":141},[1116],{"type":59,"value":1117},"fil",{"type":53,"tag":128,"props":1119,"children":1120},{"style":147},[1121],{"type":59,"value":1122},"e",{"type":53,"tag":128,"props":1124,"children":1125},{"style":157},[1126],{"type":59,"value":1127},">\n",{"type":53,"tag":62,"props":1129,"children":1130},{},[1131,1133,1139,1141,1147,1148,1154,1155,1161],{"type":59,"value":1132},"Tools: ",{"type":53,"tag":87,"props":1134,"children":1136},{"className":1135},[],[1137],{"type":59,"value":1138},"cursorrules",{"type":59,"value":1140},", ",{"type":53,"tag":87,"props":1142,"children":1144},{"className":1143},[],[1145],{"type":59,"value":1146},"copilot",{"type":59,"value":1140},{"type":53,"tag":87,"props":1149,"children":1151},{"className":1150},[],[1152],{"type":59,"value":1153},"cline",{"type":59,"value":1140},{"type":53,"tag":87,"props":1156,"children":1158},{"className":1157},[],[1159],{"type":59,"value":1160},"continue",{"type":59,"value":1162},".",{"type":53,"tag":75,"props":1164,"children":1166},{"id":1165},"t4-report",[1167],{"type":59,"value":1168},"T4: Report",{"type":53,"tag":117,"props":1170,"children":1173},{"className":1171,"code":1172,"language":59},[215],"Imported \u003CN> memories into \u003Cproject_id> (cursor: \u003CN>, copilot: \u003CN>)\n",[1174],{"type":53,"tag":87,"props":1175,"children":1176},{"__ignoreMap":122},[1177],{"type":59,"value":1172},{"type":53,"tag":62,"props":1179,"children":1180},{},[1181,1183,1188,1190,1196],{"type":59,"value":1182},"Notes: ",{"type":53,"tag":87,"props":1184,"children":1186},{"className":1185},[],[1187],{"type":59,"value":633},{"type":59,"value":1189},", tagged ",{"type":53,"tag":87,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":59,"value":1195},"metadata.source=\u003Ctool>-import",{"type":59,"value":1197},", sections \u003C50 chars\nskipped, chunks >10k chars truncated, safe to re-run (deduplication handles it).",{"type":53,"tag":1199,"props":1200,"children":1201},"hr",{},[],{"type":53,"tag":68,"props":1203,"children":1205},{"id":1204},"importing-claude-codes-native-memorymd",[1206],{"type":59,"value":1207},"Importing Claude Code's native MEMORY.md",{"type":53,"tag":62,"props":1209,"children":1210},{},[1211,1213,1219,1221,1227,1229,1235],{"type":59,"value":1212},"When invoked with a path to Claude Code's native ",{"type":53,"tag":87,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":59,"value":1218},"MEMORY.md",{"type":59,"value":1220}," file (typically\n",{"type":53,"tag":87,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":59,"value":1226},"~\u002F.claude\u002Fprojects\u002F\u003Cproj-key>\u002Fmemory\u002FMEMORY.md",{"type":59,"value":1228},"), or when ",{"type":53,"tag":87,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":59,"value":1234},"on_session_start.sh",{"type":59,"value":1236},"\ndetects native auto-memory and the user chooses to import:",{"type":53,"tag":1238,"props":1239,"children":1240},"ol",{},[1241,1254,1259,1272,1329,1340],{"type":53,"tag":238,"props":1242,"children":1243},{},[1244,1246,1252],{"type":59,"value":1245},"Read the file. It contains newline-separated memory entries (one fact per line,\nsometimes with ",{"type":53,"tag":87,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":59,"value":1251},"- ",{"type":59,"value":1253}," bullet prefix).",{"type":53,"tag":238,"props":1255,"children":1256},{},[1257],{"type":59,"value":1258},"Split by non-empty lines. Each line becomes one memory.",{"type":53,"tag":238,"props":1260,"children":1261},{},[1262,1264,1270],{"type":59,"value":1263},"Skip lines shorter than 20 characters or lines that are just headers (",{"type":53,"tag":87,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":59,"value":1269},"#",{"type":59,"value":1271},").",{"type":53,"tag":238,"props":1273,"children":1274},{},[1275,1277,1282,1284],{"type":59,"value":1276},"For each line, call ",{"type":53,"tag":87,"props":1278,"children":1280},{"className":1279},[],[1281],{"type":59,"value":520},{"type":59,"value":1283}," with:\n",{"type":53,"tag":234,"props":1285,"children":1286},{},[1287,1296,1304,1312,1321],{"type":53,"tag":238,"props":1288,"children":1289},{},[1290],{"type":53,"tag":87,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":59,"value":1295},"text=\"\u003Cline>\"",{"type":53,"tag":238,"props":1297,"children":1298},{},[1299],{"type":53,"tag":87,"props":1300,"children":1302},{"className":1301},[],[1303],{"type":59,"value":543},{"type":53,"tag":238,"props":1305,"children":1306},{},[1307],{"type":53,"tag":87,"props":1308,"children":1310},{"className":1309},[],[1311],{"type":59,"value":552},{"type":53,"tag":238,"props":1313,"children":1314},{},[1315],{"type":53,"tag":87,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":59,"value":1320},"metadata={\"type\": \"task_learning\", \"source\": \"memory-md-import\", \"confidence\": 0.8}",{"type":53,"tag":238,"props":1322,"children":1323},{},[1324],{"type":53,"tag":87,"props":1325,"children":1327},{"className":1326},[],[1328],{"type":59,"value":633},{"type":53,"tag":238,"props":1330,"children":1331},{},[1332,1334],{"type":59,"value":1333},"Report: ",{"type":53,"tag":87,"props":1335,"children":1337},{"className":1336},[],[1338],{"type":59,"value":1339},"Imported \u003CN> memories from MEMORY.md into project \u003Cproject_id>",{"type":53,"tag":238,"props":1341,"children":1342},{},[1343,1345],{"type":59,"value":1344},"Suggest disabling native auto-memory:\n",{"type":53,"tag":117,"props":1346,"children":1349},{"className":1347,"code":1348,"language":59},[215],"To avoid duplicate memory systems, add to ~\u002F.claude\u002Fsettings.json:\n  \"autoMemoryEnabled\": false\n",[1350],{"type":53,"tag":87,"props":1351,"children":1352},{"__ignoreMap":122},[1353],{"type":59,"value":1348},{"type":53,"tag":62,"props":1355,"children":1356},{},[1357],{"type":59,"value":1358},"This handles the cold-start gap when a user has been using Claude Code's native\nmemory and switches to mem0.",{"type":53,"tag":68,"props":1360,"children":1362},{"id":1361},"error-handling",[1363],{"type":59,"value":1364},"Error Handling",{"type":53,"tag":234,"props":1366,"children":1367},{},[1368,1380],{"type":53,"tag":238,"props":1369,"children":1370},{},[1371,1373,1378],{"type":59,"value":1372},"If the parser script is not found at ",{"type":53,"tag":87,"props":1374,"children":1376},{"className":1375},[],[1377],{"type":59,"value":299},{"type":59,"value":1379},", print an error and stop.",{"type":53,"tag":238,"props":1381,"children":1382},{},[1383,1385,1390],{"type":59,"value":1384},"If ",{"type":53,"tag":87,"props":1386,"children":1388},{"className":1387},[],[1389],{"type":59,"value":520},{"type":59,"value":1391}," calls fail consistently (e.g. auth error), report the issue and stop early.",{"type":53,"tag":1393,"props":1394,"children":1395},"style",{},[1396],{"type":59,"value":1397},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1399,"total":1480},[1400,1413,1425,1437,1451,1465,1471],{"slug":1401,"name":1401,"fn":1402,"description":1403,"org":1404,"tags":1405,"stars":23,"repoUrl":24,"updatedAt":1412},"context-loader","load project context from Mem0","Searches and injects relevant memories into context before starting work on a task. Use when beginning a new task, switching context, or when project history, past decisions, or coding conventions need to be loaded.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1406,1408,1411],{"name":1407,"slug":29,"type":16},"Agents",{"name":1409,"slug":1410,"type":16},"Context","context",{"name":18,"slug":19,"type":16},"2026-07-13T06:13:15.682218",{"slug":1414,"name":1414,"fn":1415,"description":1416,"org":1417,"tags":1418,"stars":23,"repoUrl":24,"updatedAt":1424},"dream","consolidate and prune stored memories","Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1419,1420,1423],{"name":1407,"slug":29,"type":16},{"name":1421,"slug":1422,"type":16},"Data Cleaning","data-cleaning",{"name":18,"slug":19,"type":16},"2026-07-13T06:12:54.000421",{"slug":1426,"name":1426,"fn":1427,"description":1428,"org":1429,"tags":1430,"stars":23,"repoUrl":24,"updatedAt":1436},"export","export project memories to Markdown files","Exports all project memories to a portable Markdown file for backup or migration. Use when backing up memories, migrating to another project, sharing memory state with teammates, or archiving before cleanup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1431,1434,1435],{"name":1432,"slug":1433,"type":16},"Backup","backup",{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},"2026-07-13T06:13:05.091831",{"slug":1438,"name":1438,"fn":1439,"description":1440,"org":1441,"tags":1442,"stars":23,"repoUrl":24,"updatedAt":1450},"forget","delete outdated or incorrect memories","Deletes memories by search query or memory ID with confirmation before removal. Use when removing outdated decisions, incorrect memories, sensitive data, or cleaning up after experiments. Also handles undo of recent additions.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1443,1446,1447],{"name":1444,"slug":1445,"type":16},"Maintenance","maintenance",{"name":18,"slug":19,"type":16},{"name":1448,"slug":1449,"type":16},"Privacy","privacy","2026-07-13T06:13:00.862899",{"slug":1452,"name":1452,"fn":1453,"description":1454,"org":1455,"tags":1456,"stars":23,"repoUrl":24,"updatedAt":1464},"health","diagnose Mem0 connectivity and health","Diagnoses mem0 connectivity, API key validity, and memory read\u002Fwrite functionality. Use when memory operations fail, searches return empty, add_memory errors occur, MCP connection drops, or to verify the plugin is working correctly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1457,1460,1461],{"name":1458,"slug":1459,"type":16},"Debugging","debugging",{"name":18,"slug":19,"type":16},{"name":1462,"slug":1463,"type":16},"Monitoring","monitoring","2026-07-13T06:13:06.569475",{"slug":4,"name":4,"fn":5,"description":6,"org":1466,"tags":1467,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1468,1469,1470],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},{"slug":1472,"name":1472,"fn":1473,"description":1474,"org":1475,"tags":1476,"stars":23,"repoUrl":24,"updatedAt":1479},"list-projects","list projects with stored memories","Lists all projects with stored memories for the current user, showing memory counts and last activity dates. Use when checking which projects have memories, comparing memory distribution across repos, or finding a specific project scope.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1477,1478],{"name":1407,"slug":29,"type":16},{"name":18,"slug":19,"type":16},"2026-07-13T06:13:27.80043",23,{"items":1482,"total":1480},[1483,1489,1495,1501,1507,1513,1519,1524,1535,1549,1561,1571],{"slug":1401,"name":1401,"fn":1402,"description":1403,"org":1484,"tags":1485,"stars":23,"repoUrl":24,"updatedAt":1412},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1486,1487,1488],{"name":1407,"slug":29,"type":16},{"name":1409,"slug":1410,"type":16},{"name":18,"slug":19,"type":16},{"slug":1414,"name":1414,"fn":1415,"description":1416,"org":1490,"tags":1491,"stars":23,"repoUrl":24,"updatedAt":1424},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1492,1493,1494],{"name":1407,"slug":29,"type":16},{"name":1421,"slug":1422,"type":16},{"name":18,"slug":19,"type":16},{"slug":1426,"name":1426,"fn":1427,"description":1428,"org":1496,"tags":1497,"stars":23,"repoUrl":24,"updatedAt":1436},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1498,1499,1500],{"name":1432,"slug":1433,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},{"slug":1438,"name":1438,"fn":1439,"description":1440,"org":1502,"tags":1503,"stars":23,"repoUrl":24,"updatedAt":1450},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1504,1505,1506],{"name":1444,"slug":1445,"type":16},{"name":18,"slug":19,"type":16},{"name":1448,"slug":1449,"type":16},{"slug":1452,"name":1452,"fn":1453,"description":1454,"org":1508,"tags":1509,"stars":23,"repoUrl":24,"updatedAt":1464},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1510,1511,1512],{"name":1458,"slug":1459,"type":16},{"name":18,"slug":19,"type":16},{"name":1462,"slug":1463,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":1514,"tags":1515,"stars":23,"repoUrl":24,"updatedAt":25},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1516,1517,1518],{"name":14,"slug":15,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},{"slug":1472,"name":1472,"fn":1473,"description":1474,"org":1520,"tags":1521,"stars":23,"repoUrl":24,"updatedAt":1479},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1522,1523],{"name":1407,"slug":29,"type":16},{"name":18,"slug":19,"type":16},{"slug":8,"name":8,"fn":1525,"description":1526,"org":1527,"tags":1528,"stars":23,"repoUrl":24,"updatedAt":1534},"add persistent memory to AI applications","Mem0 Platform SDK for adding persistent memory to AI applications. TRIGGER when: user mentions \"mem0\", \"MemoryClient\", \"memory layer\", \"remember user preferences\", \"persistent context\", \"personalization\", or needs to add long-term memory to chatbots, agents, or AI apps. Covers Python SDK (mem0ai), TypeScript SDK (mem0ai), and framework integrations (LangChain, CrewAI, OpenAI Agents SDK, Pipecat, LlamaIndex, AutoGen, LangGraph). Also covers the open-source self-hosted Memory class. This is the DEFAULT mem0 skill for ambiguous queries. DO NOT TRIGGER when: user asks about CLI commands, terminal usage, or shell scripts (use mem0-cli), or Vercel AI SDK \u002F @mem0\u002Fvercel-ai-provider \u002F createMem0 (use mem0-vercel-ai-sdk).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1529,1530,1533],{"name":1407,"slug":29,"type":16},{"name":1531,"slug":1532,"type":16},"AI Infrastructure","ai-infrastructure",{"name":18,"slug":19,"type":16},"2026-07-13T06:12:42.552904",{"slug":1536,"name":1536,"fn":1537,"description":1538,"org":1539,"tags":1540,"stars":23,"repoUrl":24,"updatedAt":1548},"mem0-cli","manage Mem0 memory via command line","Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions \"mem0 cli\", \"mem0 command line\", \"@mem0\u002Fcli\", \"mem0-cli\", \"pip install mem0-cli\", \"npm install -g @mem0\u002Fcli\", or is running mem0 commands in a terminal\u002Fshell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0 config, mem0 import). Also triggers when query includes CLI flags like --user-id, --output, --json, --agent, or describes bash\u002Fzsh\u002Fterminal\u002Fshell usage. DO NOT TRIGGER when: user asks about programmatic SDK integration in Python\u002FTS code (use mem0 skill), or Vercel AI SDK provider (use mem0-vercel-ai-sdk skill).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1541,1544,1547],{"name":1542,"slug":1543,"type":16},"Automation","automation",{"name":1545,"slug":1546,"type":16},"CLI","cli",{"name":18,"slug":19,"type":16},"2026-07-13T06:12:48.46494",{"slug":1550,"name":1550,"fn":1551,"description":1552,"org":1553,"tags":1554,"stars":23,"repoUrl":24,"updatedAt":1560},"mem0-integrate","integrate Mem0 into repositories","Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus `.mem0-integration\u002F` artifacts consumed by the paired verification skill. TRIGGER when: user says \"integrate mem0\", \"add mem0 to this repo\", \"wire mem0 into \u003Crepo>\", or asks how to add memory to an existing project. DO NOT TRIGGER when: the user wants general SDK usage (use skill:mem0), CLI usage (use skill:mem0-cli), or Vercel AI SDK (use skill:mem0-vercel-ai-sdk). After success, invoke skill:mem0-test-integration to verify in the same workspace (loose coupling).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1555,1556,1559],{"name":1407,"slug":29,"type":16},{"name":1557,"slug":1558,"type":16},"API Development","api-development",{"name":18,"slug":19,"type":16},"2026-07-13T06:12:46.60755",{"slug":1562,"name":1562,"fn":1563,"description":1564,"org":1565,"tags":1566,"stars":23,"repoUrl":24,"updatedAt":1570},"mem0-oss-to-platform","migrate Mem0 projects to platform","Plan and then execute a migration of a project from the mem0 open-source \u002F self-hosted SDK (the local `Memory` class) to the mem0 Platform \u002F hosted \u002F managed SDK (the `MemoryClient` class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS\u002Fself-hosted to the hosted API — e.g. \"migrate my mem0 setup to the platform\", \"switch from self-hosted mem0 to MemoryClient\", \"use my mem0 API key instead of a local Qdrant\", \"move mem0 to the cloud\u002Fhosted\u002Fmanaged service\", or \"replace my local mem0 vector store + embedder config with the platform\". Applies to Python (`from mem0 import Memory` → `from mem0 import MemoryClient`) and TypeScript\u002FJavaScript (`import { Memory } from \"mem0ai\u002Foss\"` → `import MemoryClient from \"mem0ai\"`). Trigger even when the user doesn't say the word \"migrate\" but clearly wants their existing mem0 integration to run against the hosted platform. It first produces a reviewable migration plan, then executes it after the developer approves. Strictly scoped to the mem0 integration — it does not refactor, restructure, or \"improve\" any unrelated code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1567,1568,1569],{"name":1407,"slug":29,"type":16},{"name":18,"slug":19,"type":16},{"name":21,"slug":22,"type":16},"2026-07-13T06:12:43.848266",{"slug":1572,"name":1572,"fn":1573,"description":1574,"org":1575,"tags":1576,"stars":23,"repoUrl":24,"updatedAt":1585},"mem0-test-integration","verify Mem0 integration tests","Verify a Mem0 integration produced by \u002Fmem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run \u002Fmem0-integrate and says \"verify\", \"test the integration\", \"run \u002Fmem0-test-integration\", or when a .mem0-integration\u002F directory exists and tests have not been run yet on the current branch. DO NOT TRIGGER when: the user wants to run general project tests (defer to the repo's native test command), or when no prior \u002Fmem0-integrate run exists in the current branch (ask them to run \u002Fmem0-integrate first). This skill ONLY catches compile and runtime bugs by design. Logical integration errors — wrong data stored, wrong time retrieved, wrong user scoping — are on the human reviewer.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1577,1578,1579,1582],{"name":1407,"slug":29,"type":16},{"name":18,"slug":19,"type":16},{"name":1580,"slug":1581,"type":16},"QA","qa",{"name":1583,"slug":1584,"type":16},"Testing","testing","2026-07-13T06:12:50.669701"]