Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.

MITAuto-check passedAgent Workflows

Install Mem0

skills CLI
$ npx skills add Anil-matcha/awesome-muse-connectors --skill mem0 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Anil-matcha/awesome-muse-connectors mem0 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Anil-matcha/awesome-muse-connectors.git skills-src && mkdir -p .claude/skills && cp -r skills-src/connectors/mem0 .claude/skills/mem0 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mem0
GitHub stars
1.3k
Token cost
~867 tokens
SKILL.md length
299 words
Files
2
Skills in repo
153
Repo updated
First seen
Licence
MIT

At a glance

Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.

  • Works in 6 steps: add, delete, and especially wipe are… → Reading (search, list, get, history,… → Add and search are async: after add or… → …
  • Tasks that involve Agent memory
  • SKILL.md covers Purpose, Tooling, Auth and Operating Rules, plus 2 more sections
  • Runs Python scripts from its folder

What it does

Mem0 is an agent skill from Anil-matcha/awesome-muse-connectors. Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Trigger phrases: mem0, memory layer, remember this.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `bin/mem0.py`).

It sits in Agent Workflows, covering Agent memory. It works with Mem0. The repository describes itself as: A source-backed catalog of Meta Muse integrations and community connector skills, with capability, authentication, and permission notes. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent memory

Example prompts

  • “/mem0”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. add, delete, and especially wipe are writes: confirm with the user before running them, unless standing permission exists. wipe deletes…
  2. Reading (search, list, get, history, status) needs no confirmation.
  3. Add and search are async: after add or search, poll status --event-id until the event reports success, then read the results. Do not…
  4. mem0 v3 add is add-only: it does not auto-update or auto-delete older conflicting memories, so check search first when a fact may already…
  5. Free Hobby tier: 10k add requests + 1k retrieval requests per month. Stay inside it; warn before bulk operations.
  6. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/mem0.py). Do not print, log, or transmit the key value.

What it can do on your machine

Read from SKILL.md and the folder at commit d6dc5d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mem0 loads about 867 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 299 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~867

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Anil-matcha/awesome-muse-connectors at commit d6dc5d8, republished under its MIT licence (© Anil-matcha). 299 words, ~867 tokens.

Download SKILL.mdSave it as .claude/skills/mem0/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
mem0
description
Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Trigger phrases: mem0, memory layer, remember this.
metadata.includeInPrompt
true
tagline
Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.
catalog_auth
API key via the secure credential flow
catalog_hosts
api.mem0.ai

mem0

Purpose

Manage the user's mem0 memory layer: store memories extracted from messages, run semantic search over them, and handle the full lifecycle (list, read, delete) scoped by user, agent, or app. Use when the user mentions mem0, a persistent memory layer, or asks to remember or recall facts.

Tooling

All commands go through bin/mem0.py. Add and search are async: they return an event_id, which you poll with status.

bash
bin/mem0.py auth                                                          # verify the API key
bin/mem0.py add --user-id alice --message "Michael prefers morning standups"  # store a memory (async)
bin/mem0.py status --event-id <event_id>                                  # poll an add/search event
bin/mem0.py search --user-id alice --query "meeting preferences"          # semantic search (async)
bin/mem0.py list --user-id alice                                          # list memories for a user
bin/mem0.py get --id <memory_id>                                          # get one memory
bin/mem0.py history --id <memory_id>                                      # change log of one memory
bin/mem0.py delete --id <memory_id>                                       # delete one memory (confirm first)
bin/mem0.py wipe --user-id alice                                          # delete ALL memories in scope (confirm first)

add needs one scope identifier (--user-id, --agent-id, --app-id, or --run-id); --role defaults to user.

Auth

  • Provider id: mem0 (credential is collected as custom.mem0)
  • Collection: API key via the secure credential flow (credentials.request_api_access); created at app.mem0.ai (keys look like m0-...; agents can self-mint via mem0 init --agent)
  • Scheme: nonstandard Authorization: Token <key> (NOT Bearer), plus Accept: application/json; sent verbatim by bin/mem0.py
  • Allowed hosts: api.mem0.ai
  • Status check: bin/mem0.py auth (must return "ok": true)

Operating Rules

  1. add, delete, and especially wipe are writes: confirm with the user before running them, unless standing permission exists. wipe deletes every memory in the scope; say exactly which scope it hits before confirming.
  2. Reading (search, list, get, history, status) needs no confirmation.
  3. Add and search are async: after add or search, poll status --event-id <event_id> until the event reports success, then read the results. Do not invent memory contents before the poll succeeds.
  4. mem0 v3 add is add-only: it does not auto-update or auto-delete older conflicting memories, so check search first when a fact may already exist.
  5. Free Hobby tier: 10k add requests + 1k retrieval requests per month. Stay inside it; warn before bulk operations.
  6. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/mem0.py). Do not print, log, or transmit the key value.

Files

  • SKILL.md
  • bin/mem0.py

Maturity

🧪 Draft: written from mem0's public API docs; not yet live-tested end-to-end.

© Anil-matcha, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in connectors/mem0 of Anil-matcha/awesome-muse-connectors.

  • SKILL.md
  • bin/mem0.py

Open the folder on GitHubat commit d6dc5d8

Compare with similar skills

Mem0 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mem0 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mem0 this skillAnil-matcha/awesome-muse-connectors1.3k—~867Automated safety check: PassMIT
Mem0 CLI Memory Commandsmem0ai/mem067k—~2kAutomated safety check: NotesApache-2.0
Mem0 Remember Commandmem0ai/mem067k—~560Automated safety check: PassApache-2.0
Mem0 Memory Scopemem0ai/mem067k—~1.1kAutomated safety check: PassApache-2.0
Mem0 Memory Searchmem0ai/mem067k—~502Automated safety check: PassApache-2.0
Mem0 Project Tourmem0ai/mem067k—~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Adds, searches, lists, updates and deletes memories on the Mem0 platform from the terminal with the mem0 command, including a JSON mode built for agents.

    67k GitHub stars~2k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Saves a fact, decision or preference the user states into mem0 as written, labeled with a memory type such as decision, convention or user_preference.

    67k GitHub stars~560 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Shows or changes the default Mem0 memory scope, project, session or global, which decides where memories are saved and searched.

    67k GitHub stars~1.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Looks up stored agent memories by keyword or ID and prints compact one-line results instead of full detail.

    67k GitHub stars~502 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Shows everything mem0 has stored for the current project, grouped by category, with a compact search mode and an all-projects view.

    67k GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Adds Mem0 memory to an existing repository with a test-first pipeline that detects the language, lets you choose Platform or open source, and leaves a local feature branch.

    67k GitHub stars~3.3k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from Anil-matcha/awesome-muse-connectors

All 153 skills in this repo
  • Airtable

    Anil-matcha/awesome-muse-connectors

    List Airtable bases, read table records, and add records. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~511 tokensUpdated 4 days ago
    Auto-check passed
  • Alphavantage

    Anil-matcha/awesome-muse-connectors

    Stock quotes and daily price history. An agent skill from Anil-matcha/awesome-muse-connectors.

    1.3k GitHub stars~517 tokensUpdated 4 days ago
    Auto-check passed
  • Amadeus

    Anil-matcha/awesome-muse-connectors

    Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates.

    1.3k GitHub stars~699 tokensUpdated 4 days ago
    Auto-check passed
  • Apollo

    Anil-matcha/awesome-muse-connectors

    Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies.

    1.3k GitHub stars~492 tokensUpdated 4 days ago
    Auto-check passed
  • Aqara

    Anil-matcha/awesome-muse-connectors

    Read and control Aqara smart home devices: plugs, switches, lights, AC, locks, curtains, scenes.

    1.3k GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed
  • Asana

    Anil-matcha/awesome-muse-connectors

    Read and manage Asana tasks: my tasks, task details, create tasks.

    1.3k GitHub stars~481 tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Mem0

What does Mem0 do?

Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Mem0 is an agent skill from Anil-matcha/awesome-muse-connectors. Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.

When should I use Mem0?

Mem0 fits situations like: tasks that involve Agent memory.

How do I install Mem0 in Claude Code?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill mem0 -a claude-code`. Or copy the skill folder (connectors/mem0 in Anil-matcha/awesome-muse-connectors) into .claude/skills/mem0 in your project. Claude Code loads it when a task matches its description.

How do I install Mem0 in Codex?

Run `npx skills add Anil-matcha/awesome-muse-connectors --skill mem0 -a codex`. Or copy the skill folder (connectors/mem0 in Anil-matcha/awesome-muse-connectors) into .agents/skills/mem0 in your project. Codex loads it when a task matches its description.

Can I use Mem0 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Anil-matcha/awesome-muse-connectors --skill mem0 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mem0, .gemini/skills/mem0, .github/skills/mem0 and .opencode/skills/mem0 in your project.

What does Mem0 need to run?

Going by SKILL.md and its folder, Mem0 needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Mem0 access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mem0 safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mem0 use?

Mem0 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mem0 use?

About 867 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mem0?

Skills that share tags, products or a category with Mem0: Mem0 CLI Memory Commands (mem0ai/mem0, 67k stars), Mem0 Remember Command (mem0ai/mem0, 67k stars), Mem0 Memory Scope (mem0ai/mem0, 67k stars) and Mem0 Memory Search (mem0ai/mem0, 67k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mem0?

Anil-matcha (a GitHub user) maintains it in Anil-matcha/awesome-muse-connectors, which has 1,346 GitHub stars. The repository holds 153 skills in this directory. The repository was last updated on October 5, 2026.

Source: Anil-matcha/awesome-muse-connectors on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.