mem0-memory skill
Use optional Mem0 memory tools for focused cross-session recall and short verified durable facts. Use when the user asks to remember or forget something, when resuming work that may need prior context, or after verified progress creates a stable fact worth retaining.
- GitHub stars
- 7
- Files
- 1
- Last commit
- Oct 4, 2026
- License
- MIT
- Allowed tools
- —
What does the mem0-memory skill do?
mem0-memory uses optional Mem0 memory tools for focused cross-session recall and short verified durable facts. Use when the user asks to remember or forget something, when resuming work that may need prior context, or after verified progress creates a stable fact worth retaining.
How to install the mem0-memory skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the mem0-memory skill in Plugin
/plugin marketplace add pickleshell/next-level-agent /plugin install superpowers@superpowers-dev
Install the mem0-memory skill in Claude Code
~/.claude/skills/mem0-memory/SKILL.md
$ npx degit pickleshell/next-level-agent/skills/mem0-memory ~/.claude/skills/mem0-memoryInstall the mem0-memory skill in Claude Code (project)
.claude/skills/mem0-memory/SKILL.md
$ npx degit pickleshell/next-level-agent/skills/mem0-memory .claude/skills/mem0-memoryInstall the mem0-memory skill in Codex
~/.agents/skills/mem0-memory/SKILL.md
$ npx degit pickleshell/next-level-agent/skills/mem0-memory ~/.agents/skills/mem0-memoryInstall the mem0-memory skill in Gemini CLI
~/.gemini/skills/mem0-memory/SKILL.md
$ npx degit pickleshell/next-level-agent/skills/mem0-memory ~/.gemini/skills/mem0-memoryInstall the mem0-memory skill in Claude.ai
npx degit pickleshell/next-level-agent/skills/mem0-memory mem0-memory && zip -r mem0-memory.zip mem0-memory # claude.ai → Customize → Skills → + → Create skill → Upload a skill → mem0-memory.zip
SKILL.md
View on GitHubMem0 Memory
Mem0 is an optional associative-memory layer. Current task context, current repository evidence and documentation, and the NLA private ledger are primary. Mem0 can supply a useful lead, but it is not authoritative live state.
If memory_* tools are absent or a call fails, continue the primary task. When
the user explicitly requested persistence or deletion, say that it could not be
confirmed. Never treat an empty or failed search as proof that a fact is false
or never existed.
Retrieve narrowly
- Use
memory_searchwith a focused query and normallylimit: 3to5. - Do not bulk-dump memory. Avoid
memory_listunless focused search cannot identify a record; if listing is necessary, keep its limit small. - Use
memory_getonly to inspect an identified record exactly. Usememory_historyonly when how that record changed matters. - Recheck paths, commits, repository behavior, and service state in their canonical sources before relying on them.
Bounded retrieval matters especially for 4B models: return only records needed for the current decision.
Store, update, or delete carefully
- Accept only a short, atomic, self-contained, confirmed, durable fact.
- Never store secrets, credentials, tokens, private keys, raw transcripts, large logs, source files, whole documents, guesses, or transient reasoning.
- Before
memory_add, run a precise duplicatememory_searchwith a small limit. Update the matching record withmemory_updateinstead of creating a near-duplicate. - For exact technical facts, identifiers, paths, commits, or explicit wording,
call
memory_addwithinfer: false. - When the user explicitly asks to remember something, write synchronously and
verify it with
memory_getusing the returned ID or a focusedmemory_search. Report honestly if verification fails. - Use
memory_deleteonly for the exact identified record the user asked to forget or that is confirmed obsolete.
The namespace is configured outside the agent and owned by the server/plugin.
Do not invent or pass user_id, namespace, agent_id, or any other scope
override; those are not memory-tool arguments.
Tool surface
Use only the available NLA tools: memory_search, memory_list, memory_get,
memory_add, memory_update, memory_delete, and memory_history.
Files in this skill
1mem0-memory skill questions
How do I install the mem0-memory skill in Claude Code?
Run npx degit pickleshell/next-level-agent/skills/mem0-memory ~/.claude/skills/mem0-memory. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the mem0-memory skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.