remember · mem0ai — Claude Code skill: what it does, how to install
When you tell the agent to remember something, this skill makes it restate the fact clearly so Mem0 can save it for later sessions in the repository.
Apache-2.0 161 installs ★ 69,319 updated 2026-10-23
npx skills add mem0ai/mem0 --skill remember -a claude-codeWhat remember does
Mem0 builds memories from the session on its own, with no write command to call. The remember skill works with that. When you ask the agent to remember something, it restates the fact in one or two sentences in its reply, including the names, values or paths the fact depends on. Mem0 reads that visible reply, so a precise restatement decides what gets stored.
The agent then tells you the note is saved along with the session's other memories once the session ends or compacts, and that it will show up in later sessions in the same repository. You can check afterwards with /mem0:search.
The skill writes nothing itself. Memory is created in the background after the session, so you get no record ID and no instant "saved" message, and the skill tells the agent not to invent either one. It also sets disable-model-invocation: true, so the agent won't call it on its own. You trigger it.
What it helps with
- pin a project agreement for future sessions
- store a name, value or path that a decision depends on
- get a precise restatement of a fact that Mem0 can pick up from the reply
- avoid a made-up record ID or a false "saved" message
- look up later with
/mem0:searchwhat was recorded
Example prompts for the agent
- Use the
rememberskill: the staging config lives inconfig/staging.yaml - /remember we deploy only from the
releasebranch - Run
rememberand save this: migrations run before the tests
How to install remember
1Skills CLI (Vercel)
npx skills add mem0ai/mem0 --skill remember -a claude-code2Manually: put the files in place
~/.claude/skills/remember/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/remember/
1Skills CLI (Vercel)
npx skills add mem0ai/mem0 --skill remember -a codex2Manually: put the files in place
.agents/skills/remember/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add mem0ai/mem0 --skill remember -a cursor2Manually: put the files in place
.cursor/skills/remember/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install mem0ai/mem0 integrations/antigravity-plugin/skills/remember2Manually: put the files in place
.github/skills/remember/SKILL.md1Skills CLI (Vercel)
npx skills add mem0ai/mem0 --skill remember -a gemini-cli2Platform CLI
gemini skills install https://github.com/mem0ai/mem0 --path integrations/antigravity-plugin/skills/rememberManually: put the files in place
.devin/skills/remember/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add mem0ai/mem0 --skill remember -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about remember
How do I install remember in Claude Code?
Run npx skills add mem0ai/mem0 --skill remember -a claude-code. The skill file ends up at ~/.claude/skills/remember/SKILL.md.
What does remember do?
When you ask the agent to remember a fact, it restates the fact fully and accurately in its reply, and Mem0 builds the memory from that reply. The skill does not write a record itself.
When does the saved note become a memory?
After the session ends or compacts, in the background, so no record ID appears right away. The fact then surfaces in later sessions in this repository, and /mem0:search lets you check it.
Source text
SKILL.md · Apache-2.0
--- name: remember description: 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 sessions. disable-model-invocation: true --- # Remember something for future sessions Mem0 creates memories from the session automatically — there is no separate write command. When the user asks to remember something: 1. Restate the fact clearly and completely in your reply, in one or two sentences, including any names, values, or paths it depends on. Your visible reply is what memory extraction reads, so a precise restatement is what gets remembered. 2. Tell the user it will be saved with this session's memories when the session ends or compacts, and that it will surface in future sessions in this repository (they can check later with /mem0:search). Do not invent a storage confirmation or a memory ID — creation happens in the background after the session.
© mem0ai · Apache-2.0 · mem0ai/mem0
Similar skills
All skills for Agent setup: memory, context, orchestration →remember by other authors comes first.