mem0-status

Diagnoses mem0 plugin connectivity, API key validity, and memory read/write functionality.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When memory operations fail, searches return empty results, or add_memory calls error out, it is hard to tell whether the cause is a missing API key, a broken session hook, or a connectivity issue. This Skill runs a structured diagnostic that pinpoints exactly which part of the mem0 plugin is failing. ## Core Features & Use Cases - Six-point health check: Validates the MEM0_API_KEY, identity resolution (user_id, project_id, branch), memory tool connectivity via search_memories, write capability via add_memory/get_event_status/delete_memory, session context env vars, and auto-dream gate eligibility. - Deep quality scan: With --deep, detects duplicate memories, stale or low-confidence entries, contradictions, and untagged orphan memories across the project. - Use Case: After searches start returning empty results, run the status check to discover the MEM0_APP_ID env var was never injected because the shell.env hook did not fire, then restart OpenCode to fix it. ## Quick Start Ask the assistant to run a mem0 status diagnostic to verify the plugin's API key, connectivity, and memory read/write health.

Frequently Asked Questions about mem0-status

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

FAQPage Schema
How do I troubleshoot mem0 memory operations that are failing?

Run the mem0 status diagnostic, which checks the API key, identity resolution, memory tool connectivity, and write capability in sequence. It reports PASS, WARN, or FAIL for each check and adds a troubleshooting section with specific fix steps for any failure.

Why does mem0 search return empty results?

Empty results often mean the MEM0_APP_ID or MEM0_USER_ID environment variables were not injected because the plugin's shell.env hook did not fire. The status check warns when project_id is empty and recommends restarting OpenCode.

How do I check if my mem0 API key is configured correctly?

The diagnostic reads the MEM0_API_KEY environment variable and prints only its first six characters to confirm it is set without exposing the secret. A missing key is reported as a FAIL with a clear message.

What does the mem0 auto-dream gate check do?

It evaluates whether memory consolidation is eligible to run by comparing time since last consolidation, sessions since, and project memory count against the minHours, minSessions, and minMemories thresholds in ~/.mem0/settings.json. Blocking gates are reported as informational warnings, not errors.

How do I find duplicate or stale memories in mem0?

Invoke the status check with --deep to run a memory quality scan. It flags duplicate pairs with high textual overlap, stale session_state memories older than 90 days, low-confidence entries, contradictions, and untagged orphan memories.