mem0 is memory infrastructure that lets AI agents and applications store and retrieve information across interactions. It supports agents and developers who need persistent context for AI systems.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mem0ai/mem0 --skill searchgit clone --depth 1 https://github.com/mem0ai/mem0Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mem0ai/mem0/search)<a href="https://agentmods.dev/skills/mem0ai/mem0/search"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/search/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mem0ai/mem0/search"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.00315 |
| Opus 5.5 | $0.00019 | $0.00126 |
| Sonnet 5.5 | $0.00009 | $0.00063 |
| Haiku 4.5 | $0.00005 | $0.00032 |
Grade A, and why
search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
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.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · -2 lines 841f07e1b8ae
- 2mo ago Changed · +2 lines · +1 tokens per session 74a31e0c852a
- 2mo ago Changed · -15 lines · -5 tokens per session 962631f77fe8
- 3mo ago First seen · 42 lines · 51 tokens per session scan A a26350dcc175
search is a skill published in the GitHub repository mem0ai/mem0 (69,636 stars, last pushed 2d ago), licensed Apache-2.0. It adds 47 tokens to every session and 315 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| searchmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 47 | Claude Code |
| browserwing-executorMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | A | 42 | Claude Code, Codex |
| dev-browserMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | A | 84 | Claude Code, Codex |
| ask-user-questionMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| memos-memory-guideMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | A | 131 | Claude Code, Codex |
| browserwing-adminMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | B | 47 | Claude Code, Codex |
| safe-file-deletionMemTensor/MemOS | Skill | 13k | 3d ago | Apache-2.0 | C | 46 | Claude Code, Codex |