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 agentmods add skills/mem0ai/mem0/tournpx skills add mem0ai/mem0 --skill tourgit 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/tour)<a href="https://agentmods.dev/skills/mem0ai/mem0/tour"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/tour.svg" alt="Measured on agentmods" height="20"></a>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.00045 | $0.01468 |
| Opus 5 | $0.00023 | $0.00734 |
| Sonnet 5 | $0.00009 | $0.00294 |
| Haiku 4.5 | $0.00005 | $0.00147 |
Grade A, and why
tour 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 6d 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.
This is a copy
97% identical to mem0-tour — 57 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mem0 Project Tour
Show the user what mem0 has stored for the current project.
Cross-project mode
When invoked with --all-projects (e.g., /mem0:tour --all-projects or
/mem0:tour --all-projects auth middleware), search across ALL projects:
- Call
get_memorieswithfilters={"AND": [{"user_id": "<active_user_id>"}]},page_size=200— noapp_idfilter. - If a search query was also provided, run
search_memorieswithquery=<query>,filters={"AND": [{"user_id": "<active_user_id>"}]},top_k=20— again noapp_id. - Group results by
app_idfirst, then by category within each project. - Display:
## <app_id_1> (<N> memories) ← current **Architecture Decisions** — <memory content> ... ## <app_id_2> (<N> memories) ... <N> memories across <M> projects - Mark the current project with
← (current)in the heading.
If --all-projects is NOT present, use the standard single-project flow below.
Peek mode (compact search)
When /mem0:tour receives a search query argument (e.g., /mem0:tour auth middleware)
WITHOUT --all-projects, run in peek mode — compact one-liner results:
- Run 2 parallel
search_memoriescalls:- Broad:
query=<query>,filters={"AND": [{"user_id": "<id>"}, {"app_id": "<pid>"}]},top_k=10,rerank=true - Targeted:
query=<query>,filters={"AND": [{"user_id": "<id>"}, {"app_id": "<pid>"}, {"metadata": {"type": "decision"}}]},top_k=5,rerank=true
- Broad:
- Deduplicate by ID, display compact results:
Format:## mem0 search: "<query>" (<N> results) 1. [decision] Auth module uses JWT with RS256 keys (2025-05-15) [mem0:a3f8b2c1] 2. [anti_pattern] Don't use symmetric HS256 — leaked in env (2025-05-10) [mem0:7e2d9f4a] 3. [convention] All middleware in src/middleware/ (2025-05-08) [mem0:c4d5e6f7]<number>. [<type>] <content, 80 chars> (<date>) [mem0:<short_id>] - If no results:
No memories matching "<query>" for project <project_id>.
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.
- 6d ago First seen · 124 lines · 45 tokens per session scan A 64c10665611b
tour is a skill published in the GitHub repository mem0ai/mem0 (64,707 stars, last pushed yesterday), licensed Apache-2.0. It adds 45 tokens to every session and 1,468 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to mem0-tour, differing in 57 lines, and is treated as a copy.
Other skills, from other repositories
pinecone-research
Agent RAG and long-term memory with Pinecone.
browserwing-admin
Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.
langchain-orchestration
Comprehensive guide for building production-grade LLM applications using LangChain's chains, agents, memory systems, RAG patterns, and advanced orchestration.
honcho
Configure and troubleshoot Honcho memory for Hermes.
openclaw-migration
Import an OpenClaw setup (memories, skills) into Hermes.
dspy
DSPy: declarative LM programs, auto-optimize prompts, RAG.