New to Claude Skills? Learn how to install them →

mem0ai on GitHub

Mem0 Remember

Free

Store facts and learnings directly into mem0.

by mem0ai63k stars on mem0ai/mem0
2 views
Updated Aug 7, 2026
Get this skill

Free · Opens the source repo

What Mem0 Remember does

Mem0 Remember is a straightforward skill designed for users who want to capture and store information efficiently. By utilizing a simple command structure, users can input text they wish to remember, and the skill will classify this information based on its content. This classification helps in organizing memories into specific types such as decisions, user preferences, and conventions, making retrieval and management easier in the future.

The execution process is divided into clear steps. First, the user provides the content they wish to remember using the command /mem0:remember <text>. If no text is provided, the skill prompts the user for input. Next, the skill analyzes the content and assigns it a metadata type based on predefined signals, ensuring that the memory is categorized appropriately. This categorization is crucial for users who need to track different types of information systematically.

Once the memory is classified, the skill stores it by calling the add_memory function with the necessary parameters, including user ID and project ID. The process is designed to be asynchronous, allowing users to continue their workflow without interruption. After storing the memory, the skill confirms the action by checking the status of the event, providing feedback on whether the memory was successfully saved or if further action is needed.

This skill is particularly useful for developers and designers who often need to remember specific decisions, preferences, or conventions during their projects. By using Mem0 Remember, they can streamline their workflow and ensure that important information is never lost, enhancing both productivity and organization.

When to use it

Use this skill when you need to record specific facts or learnings that are relevant to your work.

When not to use it

This skill may not be suitable for storing large amounts of unstructured data or complex documents.

What you can build with it

Recording a Decision

When a team decides on a new convention, use the skill to remember it for future reference.

Storing User Preferences

Capture user preferences during a project to ensure consistent decisions are made moving forward.

Noting Anti-Patterns

Document anti-patterns encountered in development to avoid repeating mistakes in future projects.

How to install Mem0 Remember

View source

1. Install with the skills CLI

npx skills add mem0ai/mem0/remember --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mem0ai

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 signalType
"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, configenvironmental
anything elsetask_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).

Frequently asked questions about Mem0 Remember

Similar skills