search
Search memories from earlier Claude Code 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.
How do I install this agent skill?
npx skills add https://github.com/mem0ai/mem0 --skill searchIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill allows the agent to search through session memories using a vendor-provided tool. It is safe and operates within expected parameters for a memory management utility, although it possesses the standard ingestion surface inherent to all data retrieval tools.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/mem0ai/mem0/search">View search on skillZs</a>