From mem0
Exports project memories to a portable Markdown file for backup or migration. Useful for archiving, sharing state, or moving between projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mem0:exportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Export all memories for the current project to a portable Markdown file.
Export all memories for the current project to a portable Markdown file.
Determine the active identity:
user_id from MEM0_USER_ID env var, else $USER, else "default"project_id (used as app_id) from MEM0_PROJECT_ID env var, or via the project resolverCall get_memories with:
filters={"AND": [{"user_id": "<active_user_id>"}, {"app_id": "<active_project_id>"}]}page_size=200If the response is paginated (i.e. the result contains a next cursor or the count equals page_size), continue fetching pages until all memories are retrieved.
For each memory record, produce a block in this exact format:
---
id: <memory.id>
created_at: <memory.created_at>
type: <memory.metadata.type or "">
confidence: <memory.metadata.confidence or "">
branch: <memory.metadata.branch or "">
files: <memory.metadata.files joined with ", " or "">
categories: <memory.categories joined with ", " or "">
---
<memory.memory or memory content string>
Notes:
--- delimiters must be on their own lines with no extra whitespace.files and categories are written as comma-separated values on a single line.--- (for readability).Determine the output filename:
mem0-export-<project_id>-<YYYY-MM-DD>.md
Where <YYYY-MM-DD> is today's date in UTC.
Write all formatted blocks to this file using the Write tool (or equivalent). The file is written to the current working directory.
Exported <N> memories to <filename>
Where <N> is the total number of memory blocks written.
get_memories returns an error or zero memories, print:
No memories found for project <project_id>. Nothing exported.
npx claudepluginhub igortavcar/mem0 --plugin mem0Exports project memories to a portable Markdown file for backup or migration. Useful for archiving, sharing state, or moving between projects.
Manages workspaces and memories in the Recuerd0 platform via the recuerd0 CLI. Proactively captures architectural decisions, debugging resolutions, user preferences, and non-obvious discoveries.
Organizes, extracts, prunes, and verifies Claude Code persistent memory files to keep MEMORY.md under the 200-line truncation limit and topic files up to date with project state.