/mem0:search [question] [--top-k number] [--category category-name] [--scope repo|dir|mine] [--run-id session-id]from mem0
Searches memories from earlier Claude Code sessions in this repository to avoid repeating file reads, searches, or experiments. Supports filtering by category, scope (repo/dir/mine), and session ID.
Ships in mem0. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mem0ai/mem0 --plugin mem03 plugins ship this exact skill · first indexed Sep 23, 2026
6 skills in this plugin
/forgetDelete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete memories./pausePause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work or experiments./rememberAcknowledge a "remember this" request and make sure it is captured well. Use when the user explicitly asks to remember, note, or save something for future sessions./resumeResume Mem0 memory capture after it was paused with /mem0:pause.Other plugins' skills for the same job