mem0
FreeNo executable scriptsNot checkedMem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Trigger phrases: mem0, memory layer, remember this.
by gabrielmoreira★ 23 GitHub starsAbout this skill
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.
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 ascustom.mem0) - Collection: API key via the secure credential flow (
credentials.request_api_access); created at app.mem0.ai (keys look likem0-...; agents can self-mint viamem0 init --agent) - Scheme: nonstandard
Authorization: Token <key>(NOT Bearer), plusAccept: application/json; sent verbatim bybin/mem0.py - Allowed hosts:
api.mem0.ai - Status check:
bin/mem0.py auth(must return"ok": true)
Operating Rules
add,delete, and especiallywipeare writes: confirm with the user before running them, unless standing permission exists.wipedeletes every memory in the scope; say exactly which scope it hits before confirming.- Reading (search, list, get, history, status) needs no confirmation.
- Add and search are async: after
addorsearch, pollstatus --event-id <event_id>until the event reports success, then read the results. Do not invent memory contents before the poll succeeds. - mem0 v3 add is add-only: it does not auto-update or auto-delete older conflicting memories, so check
searchfirst when a fact may already exist. - Free Hobby tier: 10k add requests + 1k retrieval requests per month. Stay inside it; warn before bulk operations.
- 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.
Install mem0 in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the mem0 skill do?
Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events. Trigger phrases: mem0, memory layer, remember this.
How do I install the mem0 skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the mem0 skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
by GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
by GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
by GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
by GitHub