/status
Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
$ npx -y skills add mem0ai/mem0 --skill status --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/status
Context preview
The summary Claude sees to decide when to auto-load this skill.
Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
SKILL.md
status.SKILL.mdname: status
description: Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
Health Check / Status
Run a diagnostic check on the Mem0 plugin. Useful for troubleshooting.
Execution
Run ALL checks, then display a single summary. Do not stop on the first failure.
Check 1: API key
Verify the API key is configured. The plugin loads it from `MEM0_API_KEY` env var or `~/.pi/agent/mem0-config.json`.
- If not set: FAIL — "No API key configured"
- If set: PASS — show first 6 chars followed by `...`
Check 2: Identity resolution
Report the resolved identity:
- `user_id`: from config, env, or system user
- `project_id`: auto-detected from current directory
- `session_id`: current session identifier
PASS if user_id and project_id are non-empty. WARN if any falls back to defaults.
Check 3: Connectivity
Use `mem0_memory` tool with `action="search"`, `query="health check"`.
- If returns successfully (even empty): PASS
- If errors: FAIL — show the error message
Check 4: Memory write capability
Use `mem0_memory` tool with `action="add"`, `content="Health check probe — safe to delete."`.
- If succeeds: PASS — then clean up by deleting the probe memory.
- If errors: FAIL — show the error.
Display
## mem0 health
PASS API Key m0-dVe...
PASS Identity user=kartik, project=my-app, session=abc123
PASS Connectivity 142ms
PASS Write/Read write + delete OK
All checks passed.
If any check fails, add a `## Troubleshooting` section with specific fix steps.
Extended mode: Memory Quality Analysis
When invoked with `--deep` (e.g., `/mem0-status --deep`), run the standard checks above **plus** a memory quality scan.
Quality Check 1: Duplicates
Fetch all memories with `mem0_memory` `action="get_all"`. Compare pairs within the same category for high textual overlap (shared nouns > 60%). Report:
Potential duplicates: <N> pairs
[mem0:<id1>] ~ [mem0:<id2>] — both about "<shared topic>"
Quality Check 2: Stale memories
Flag memories older than 180 days that haven't been accessed recently.
Quality Check 3: Contradictions
Within each category, flag pairs that assert opposing facts.
Quality summary
## Memory Quality
Duplicates: <N> · Stale: <N> · Contradictions: <N>
If all counts are 0: `Memory quality: clean.` If any non-zero: append `Run /mem0-dream to fix.`
Read more
name: status description: Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
Health Check / Status
Run a diagnostic check on the Mem0 plugin. Useful for troubleshooting.
Execution
Run ALL checks, then display a single summary. Do not stop on the first failure.
Check 1: API key
Verify the API key is configured. The plugin loads it from `MEM0_API_KEY` env var or `~/.pi/agent/mem0-config.json`.
- If not set: FAIL — "No API key configured"
- If set: PASS — show first 6 chars followed by `...`
Check 2: Identity resolution
Report the resolved identity:
- `user_id`: from config, env, or system user
- `project_id`: auto-detected from current directory
- `session_id`: current session identifier
PASS if user_id and project_id are non-empty. WARN if any falls back to defaults.
Check 3: Connectivity
Use `mem0_memory` tool with `action="search"`, `query="health check"`.
- If returns successfully (even empty): PASS
- If errors: FAIL — show the error message
Check 4: Memory write capability
Use `mem0_memory` tool with `action="add"`, `content="Health check probe — safe to delete."`.
- If succeeds: PASS — then clean up by deleting the probe memory.
- If errors: FAIL — show the error.
Display
## mem0 health PASS API Key m0-dVe... PASS Identity user=kartik, project=my-app, session=abc123 PASS Connectivity 142ms PASS Write/Read write + delete OK All checks passed.
If any check fails, add a `## Troubleshooting` section with specific fix steps.
Extended mode: Memory Quality Analysis
When invoked with `--deep` (e.g., `/mem0-status --deep`), run the standard checks above **plus** a memory quality scan.
Quality Check 1: Duplicates
Fetch all memories with `mem0_memory` `action="get_all"`. Compare pairs within the same category for high textual overlap (shared nouns > 60%). Report:
Potential duplicates: <N> pairs [mem0:<id1>] ~ [mem0:<id2>] — both about "<shared topic>"
Quality Check 2: Stale memories
Flag memories older than 180 days that haven't been accessed recently.
Quality Check 3: Contradictions
Within each category, flag pairs that assert opposing facts.
Quality summary
## Memory Quality Duplicates: <N> · Stale: <N> · Contradictions: <N>
If all counts are 0: `Memory quality: clean.` If any non-zero: append `Run /mem0-dream to fix.`
Mem0 ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions.
Repo: mem0ai/mem0
Other skills on mem0.
- /context-loader
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.
Open skill - /dream
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.
Open skill - /export
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.
Open skill - /forget
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.
Open skill - /health
Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, add_memory errors occur, MCP connection drops, or to verify the plugin is working correctly.
Open skill - /import
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.
Open skill

