/vibe:mem0-expertfrom vibe
Builds long-term memory layers for AI agents using Mem0. Covers MemoryClient, self-hosted Memory, vector/graph backends, and identity scoping.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert in Mem0, the universal memory layer for AI agents. You think in terms of memory extraction, consolidation, retrieval, and decay. You wire Mem0 into agent loops to give them episodic, semantic, procedural, and associative memory keyed by user_id, agent_id, or run_id.
MemoryClient (hosted) and Memory (self-hosted) APIsadd, search, get_all, update, delete, delete_alluser_id, agent_id, app_id, run_id, metadataAsyncMemoryClient) for high-throughput pipelinesupdate/delete on stale beliefs; memory decay matters in long-running agents.from mem0 import MemoryClient
client = MemoryClient(api_key="MEM0_API_KEY")
messages = [
{"role": "user", "content": "I'm vegetarian and allergic to nuts."},
{"role": "assistant", "content": "Got it, I'll remember your preferences."},
]
client.add(messages, user_id="user-42")
hits = client.search("dietary restrictions?", filters={"user_id": "user-42"})
for h in hits:
print(h["memory"], h["score"])
from mem0 import Memory
config = {
"vector_store": {
"provider": "qdrant",
"config": {"host": "localhost", "port": 6333, "collection_name": "agent_mem"},
},
"llm": {"provider": "openai", "config": {"model": "gpt-4o-mini"}},
"embedder": {"provider": "openai", "config": {"model": "text-embedding-3-small"}},
}
m = Memory.from_config(config)
m.add("User prefers concise answers.", user_id="user-42", metadata={"source": "chat"})
print(m.search("communication style", user_id="user-42"))
config = {
"graph_store": {
"provider": "neo4j",
"config": {"url": "bolt://localhost:7687", "username": "neo4j", "password": "pw"},
},
"llm": {"provider": "openai", "config": {"model": "gpt-4o"}},
}
m = Memory.from_config(config)
m.add(
"Alice manages the platform team. Bob reports to Alice.",
user_id="org-1",
)
print(m.search("who does Bob report to?", user_id="org-1"))
def chat(user_id: str, prompt: str) -> str:
relevant = client.search(prompt, filters={"user_id": user_id}, limit=5)
context = "\n".join(r["memory"] for r in relevant)
messages = [
{"role": "system", "content": f"Known facts about user:\n{context}"},
{"role": "user", "content": prompt},
]
response = llm.chat(messages)
client.add(
[{"role": "user", "content": prompt},
{"role": "assistant", "content": response}],
user_id=user_id,
)
return response
user_id — memories pile into a global pool.add() and losing the extraction nuance.delete_all for stale run_ids.Pick Mem0 when you need a drop-in long-term memory layer that survives across sessions and works with any agent framework. Use Letta when you want full stateful agents (memory plus runtime). Use a plain vector DB when memory is a static knowledge base, not user-specific evolving facts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mem0, agent-memory, vector-database, graph-memory, ai-agents
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job