craigkjhsu/mem0/mem0-search
Claude Code and agent skill by craigkjhsu/mem0
- community
Checking that the SKILL.md file is still in the repository.
Searches memories and displays compact one-liner results, or looks up a specific memory by ID. Use for quick memory lookups, checking if a decision was recorded, resolving [mem0:id] citations, or browsing memories without full category detail.
Install
npx vskill@latest install craigkjhsu/mem0/mem0-searchSKILL.md
The same SKILL.md was published earlier as maomao-2001/whispera/mem0-search.
Mem0 Search
Quick search with compact output. Lighter than /mem0-tour.
Execution
Step 1: Parse query
The user provides a search query: /mem0-search auth middleware
If no query provided, ask: "What should I search for?"
Memory ID detection: If the query matches any of these patterns, treat it as a direct memory ID lookup instead of a search:
- Bare hex:
^[a-f0-9]{8}$(short ID) or^[a-f0-9]{8}-[a-f0-9-]+$(full UUID) - Citation ref:
[mem0:<hex>]— extract the hex portion
When an ID is detected:
- Call
get_memory(<id>)directly (if short ID, try as prefix of full UUID) - If found, skip to Step 3 and display the single result
- If not found, fall through to search using the ID as query text
Step 2: Search
Run 2 parallel search_memories calls:
- Broad:
query=<user's query>,filters={"AND": [{"user_id": "<id>"}, {"app_id": "<pid>"}]},top_k=10,rerank=true - Targeted:
query=<user's query>,filters={"AND": [{"user_id": "<id>"}, {"app_id": "<pid>"}, {"metadata": {"type": "decision"}}]},top_k=5,rerank=true
Step 3: Display
Deduplicate by ID, then show compact results:
Format: <number>. [<type>] <content, 80 chars> (<date>) [mem0:<short_id>]
If no results:
Output formatting
IMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like bold, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingintegrations/mem0-plugin/.opencode-plugin/opencode-skills/mem0-search/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/craigkjhsu/mem0/mem0-search)