Skip to main content

search

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

Ir a la instalación

Datos de origen

Repositorio
mem0ai/mem0
Última actividad en el origen
23 de septiembre de 2026 a las 14:05
Idioma detectado de SKILL.md
inglés
Estrellas
66.128
Forks
7776

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
search
description
Search memories from earlier Codex 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.
Ver en GitHub