mem0-search

Searches mem0 memories and displays compact one-liner results or single memory lookups by ID.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Finding a specific recorded decision, convention, or anti-pattern in a large mem0 memory store is slow when you must browse full category detail. This Skill provides quick memory lookups with compact output, including direct resolution of memory IDs and [mem0:id] citations. ## Core Features & Use Cases - Compact Search Results: Runs parallel broad and decision-targeted search_memories queries, deduplicates by ID, and renders one-line results with type, date, and short ID. - Direct Memory ID Lookup: Detects bare hex IDs, full UUIDs, and [mem0:<hex>] citation references and fetches the memory directly via get_memory. - Use Case: While reviewing code you encounter a [mem0:a3f8b2c1] citation in a comment. Run the search with that reference to instantly retrieve the original recorded decision about JWT authentication. ## Quick Start Ask the assistant to search mem0 memories for "auth middleware" to see compact matching results.

Frequently Asked Questions about mem0-search

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

FAQPage Schema
How do I search mem0 memories from the command line?

Invoke the search with a query such as "/mem0-search auth middleware". It runs parallel broad and decision-filtered search_memories calls scoped to your user_id and app_id, then displays deduplicated one-line results.

How do I look up a specific mem0 memory by ID?

Pass the memory ID directly as the query. Bare hex strings, full UUIDs, and [mem0:<hex>] citation references are detected automatically and fetched with get_memory instead of running a text search.

What is the difference between mem0-search and mem0-tour?

mem0-search is a lighter lookup tool that returns compact one-line results for quick queries and ID resolution. mem0-tour provides full category detail for browsing memories in depth.

Why does mem0 search output avoid markdown formatting?

The OpenCode TUI renders text verbatim, so markdown syntax like bold, headers, and tables appears as raw characters. Results use plain text with indentation and dashes for structure instead.

What happens when a mem0 search returns no results?

If no memories match the query for the current project, the skill displays a plain message stating no memories matched, including the query text and project ID.