pi-agent-plugin/skills/search/SKILL.md
Quick semantic search with compact output. Lighter than /mem0-tour.
The user provides a search query: /mem0-search favorite restaurants
If no query provided, ask: "What should I search for?"
Memory ID detection: If the query matches a UUID pattern (^[a-f0-9-]{20,}$), treat it as a direct memory lookup instead of a search.
Use mem0_memory tool with action="search", query=<user's query>.
Show compact results:
## mem0 search: "<query>" (<N> results)
1. [preferences] Prefers window seats on flights (2026-05-15) [mem0:a3f8b2c1]
2. [goals] Wants to visit Japan in 2027 (2026-05-10) [mem0:7e2d9f4a]
3. [identity] Lives in San Francisco (2026-05-08) [mem0:c4d5e6f7]
Format: <number>. [<category>] <content, 80 chars> (<date>) [mem0:<short_id>]
If no results:
No memories matching "<query>".