status

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When Mem0 memory operations fail, searches return empty results, or the plugin seems unresponsive, this Skill runs a structured diagnostic to pinpoint whether the issue is the API key, identity resolution, connectivity, or write permissions. ## Core Features & Use Cases - Four-Point Health Check: Verifies API key configuration, identity resolution (user_id, project_id, session_id), connectivity via a search probe, and write capability via an add-then-delete probe. - Consolidated Status Report: Runs all checks without stopping at the first failure and displays a single PASS/FAIL summary with troubleshooting steps for any failure. - Deep Memory Quality Scan: With the --deep flag, detects duplicate memories, stale entries older than 180 days, and contradictory facts within categories. - Use Case: After installing the Mem0 plugin, run the status check to confirm your MEM0_API_KEY works and memories can be written before relying on it in a session. ## Quick Start Ask the agent to run the mem0 status health check to verify the plugin is configured and working correctly.

Frequently Asked Questions about status

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

FAQPage Schema
How do I check if the Mem0 plugin is working correctly?

Run the status health check, which verifies the API key, identity resolution, connectivity via a search probe, and write capability via an add-then-delete probe. It reports PASS or FAIL for each check in a single summary.

Why do Mem0 memory searches return empty results?

Empty results can stem from a missing or invalid MEM0_API_KEY, incorrect user_id or project_id resolution, or connectivity failures. The status check isolates which of these four areas is failing and provides fix steps.

Where does the Mem0 plugin load the API key from?

The plugin loads the API key from the MEM0_API_KEY environment variable or from the ~/.pi/agent/mem0-config.json file. The status check fails with 'No API key configured' if neither source provides one.

How do I find duplicate or stale memories in Mem0?

Invoke the status check with the --deep flag to run a memory quality scan. It fetches all memories, flags pairs with high textual overlap as duplicates, marks entries older than 180 days as stale, and detects contradictions within categories.

Does the Mem0 health check modify my stored memories?

The write check adds a temporary probe memory labeled 'Health check probe — safe to delete' and immediately deletes it afterward. No existing memories are modified during standard diagnostics.