/remember
Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.
$ npx -y skills add mem0ai/mem0 --skill remember --agent claude-codeHow 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
/remember
Context preview
The summary Claude sees to decide when to auto-load this skill.
Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.
SKILL.md
remember.SKILL.mdname: remember
description: Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.
Mem0 Remember
Store a fact or learning directly into mem0.
Execution
Step 1: Extract the content
The user provides the content as an argument: `/mem0:remember <text>`
If no text was provided, ask: "What should I remember?"
Step 2: Classify the memory
Based on the content, pick the best `metadata.type`:
| Content signal | Type | |---|---| | "we decided...", "always use...", "never..." | `decision` | | "X doesn't work because...", "don't try..." | `anti_pattern` | | "I prefer...", "use X instead of Y" | `user_preference` | | "the convention is...", "we always..." | `convention` | | "learned that...", "figured out..." | `task_learning` | | setup, env, tooling, config | `environmental` | | anything else | `task_learning` |
Step 3: Store
Call `add_memory` with:
- `text="<the user's text>"`
- `user_id=<active_user_id>`
- `app_id=<active_project_id>`
- `metadata={"type": "<classified_type>", "branch": "<active_branch>", "confidence": 1.0, "source": "remember_command"}`
- `infer=False`
`infer=False` because the user stated the fact explicitly — no extraction needed. `confidence=1.0` because the user explicitly asked to store this.
Step 4: Confirm
The `add_memory` response returns `event_id` (not `memory_id`) because writes are async. Call `get_event_status(event_id=<event_id>)` once.
- If status is `SUCCEEDED`: print the memory ID from the result.
- If status is `PENDING` or `processing`: print with the event ID as fallback.
Remembered as <type>: "<content, first 80 chars>"
Memory ID: <id from event status>
Append `...` only if content was truncated (longer than 80 chars).
Read more
name: remember description: Stores a memory verbatim from user input with appropriate type classification and metadata. Use when the user says remember this, save this, store this, note that, or explicitly asks to record a decision, preference, convention, or learning.
Mem0 Remember
Store a fact or learning directly into mem0.
Execution
Step 1: Extract the content
The user provides the content as an argument: `/mem0:remember <text>`
If no text was provided, ask: "What should I remember?"
Step 2: Classify the memory
Based on the content, pick the best `metadata.type`:
| Content signal | Type | |---|---| | "we decided...", "always use...", "never..." | `decision` | | "X doesn't work because...", "don't try..." | `anti_pattern` | | "I prefer...", "use X instead of Y" | `user_preference` | | "the convention is...", "we always..." | `convention` | | "learned that...", "figured out..." | `task_learning` | | setup, env, tooling, config | `environmental` | | anything else | `task_learning` |
Step 3: Store
Call `add_memory` with:
- `text="<the user's text>"`
- `user_id=<active_user_id>`
- `app_id=<active_project_id>`
- `metadata={"type": "<classified_type>", "branch": "<active_branch>", "confidence": 1.0, "source": "remember_command"}`
- `infer=False`
`infer=False` because the user stated the fact explicitly — no extraction needed. `confidence=1.0` because the user explicitly asked to store this.
Step 4: Confirm
The `add_memory` response returns `event_id` (not `memory_id`) because writes are async. Call `get_event_status(event_id=<event_id>)` once.
- If status is `SUCCEEDED`: print the memory ID from the result.
- If status is `PENDING` or `processing`: print with the event ID as fallback.
Remembered as <type>: "<content, first 80 chars>" Memory ID: <id from event status>
Append `...` only if content was truncated (longer than 80 chars).
Mem0 ("mem-zero") enhances AI assistants and agents with an intelligent memory layer, enabling personalized AI interactions.
Repo: mem0ai/mem0
Other skills on mem0.
- /context-loader
Searches and injects relevant memories into context before starting work on a task. Use when beginning a new task, switching context, or when project history, past decisions, or coding conventions need to be loaded.
Open skill - /dream
Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.
Open skill - /export
Exports all project memories to a portable Markdown file for backup or migration. Use when backing up memories, migrating to another project, sharing memory state with teammates, or archiving before cleanup.
Open skill - /forget
Deletes memories by search query or memory ID with confirmation before removal. Use when removing outdated decisions, incorrect memories, sensitive data, or cleaning up after experiments. Also handles undo of recent additions.
Open skill - /health
Diagnoses mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, add_memory errors occur, MCP connection drops, or to verify the plugin is working correctly.
Open skill - /import
Imports memories from an exported Markdown file or MEMORY.md into the current project. Use when migrating from another project, restoring from backup, importing Claude Code native MEMORY.md content, or setting up a new project with existing knowledge.
Open skill

