Search mem0ai-search-4

Search memories from earlier Kimi sessions in this repository.

Use it when earlier work may already explain the code, error, decision, or command you need, so you can avoid repeating file reads, searches, or experiments.

Works in Claude, ChatGPT, Codex and more
Our test
7/10✓ Verified
tested Dec 6, 2026
GitHub stars
70k
mem0ai/mem0
Added by
0
members
Updated
Dec 6
commit cae3d8c
Content
1 file
no scripts · 1 KB
License
Apache 2.0
free to use

What our test found

The skill gives clear guidance on searching prior session memories and handling optional filters, but provides no fallback when the search tool is unavailable.

Request we tested it on“What did we decide in an earlier session about retry behavior for the API client?”

Limits spotted

  • The tool’s input and output format is unspecified.
  • It does not explain what to do when no relevant memories are found or the tool is unavailable.
  • Returning tool results directly may expose information from shared memory without guidance on relevance or privacy.
View on GitHub ↗
name: search
description: Search memories from earlier Kimi sessions in this repository. Use it when earlier work may already explain the code, error, decision, or command you need, so you can avoid repeating file reads, searches, or experiments.
argument-hint: "[question] [--top-k number] [--category category-name] [--scope repo|dir|mine] [--run-id session-id]"
disable-model-invocation: true

Search memories

Call search_memories with the user's question. Treat --top-k, --category, --scope, and --run-id as tool arguments instead of including them in the query.

Omit top_k to use Mem0's configured default. Omit category to search every category. Omit scope to use the configured default, normally repo: this repository's shared memory, which everyone who works in it contributes to, plus your own preferences.

Pass scope when the question needs something else: dir to narrow the shared memory to the directory you are working in (a package inside a monorepo), mine for your own preferences alone.

Pass run_id with any scope to retrieve memories saved in a specific coding-agent session. Omit run_id to search across sessions. It filters the memories returned; it does not identify the session making the search request. Use a known session ID, never invent one. Return the tool's result directly.