Skip to content

/search

Search memories from earlier Antigravity 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.

From plugin
mem0
65k15 skills1 agent1 MCP
Install
$ npx -y skills add mem0ai/mem0 --skill search --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/search

Context preview

The summary Claude sees to decide when to auto-load this skill.

Search memories from earlier Antigravity 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.

SKILL.md

search.SKILL.md
name: search
description: Search memories from earlier Antigravity 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; a category is a best-effort label Mem0 assigned when it saved the memory, so if a category search misses, repeat it without the 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.

Read more
Ships withmem0

Mem0 ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions.

Get the whole plugin, auto-invoked
Stats
65,268
Stars
7,649
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
17h ago
Last commit
3y ago
Created

Repo: mem0ai/mem0

Other skills on mem0.

forget
Auto-invokedSkill

forget

Delete the Mem0 memories stored for this repository and this user. Use when the user asks to forget, clear, wipe, or delete memories.

@mem0ai@mem0aiView Skill
pause
Auto-invokedSkill

pause

Pause Mem0 memory capture on this machine. Use when the user wants to stop memories being recorded, for example for private work or experiments.

@mem0ai@mem0aiView Skill
remember
Auto-invokedSkill

remember

Acknowledge 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…

@mem0ai@mem0aiView Skill
status
Auto-invokedSkill

status

Show whether Mem0 memory is working in this repository, covering configuration, capture state, pending flushes, and whether the Mem0 API key is valid. Use when…

@mem0ai@mem0aiView Skill
memory-triage
Auto-invokedSkill

memory-triage

Persistent long-term memory protocol powered by mem0. Evaluate conversations for durable facts worth storing via memory_add. Handles identity, preferences,…

@mem0ai@mem0aiView Skill