Borrowing it
Nothing to install: this file belongs to pinkpixel-dev/mem0-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/pinkpixel-dev/mem0-mcp/main/.agents/skills/mem0-api/SKILL.mdgit clone --depth 1 https://github.com/pinkpixel-dev/mem0-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pinkpixel-dev/mem0-mcp/mem0-api)<a href="https://agentmods.dev/skills/pinkpixel-dev/mem0-mcp/mem0-api"><img src="https://agentmods.dev/badge/skills/pinkpixel-dev/mem0-mcp/mem0-api/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pinkpixel-dev/mem0-mcp/mem0-api"><img src="https://agentmods.dev/badge/skills/pinkpixel-dev/mem0-mcp/mem0-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium MCP Rug Pull · line 218 npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.Fix: Pin the version: npx @scope/[email protected]
- medium Data Exfiltration · line 243 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00186 | $0.02808 |
| Opus 5.5 | $0.00074 | $0.01123 |
| Sonnet 5.5 | $0.00037 | $0.00562 |
| Haiku 4.5 | $0.00019 | $0.00281 |
Grade A, and why
mem0-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mem0 API & SDK
Mem0 is a managed memory layer for LLM agents. It extracts facts from conversations, deduplicates, and exposes them via semantic search — giving agents persistent, cross-session context without you managing a vector DB.
Two products, one mental model:
- Mem0 Platform (managed, recommended) — hosted API + dashboard, sub-50ms retrieval
- Mem0 OSS (self-hosted) — run your own vector store, LLM, and embedder stack
Quick Product Routing
User imports `from mem0 import MemoryClient` → Platform
User imports `from mem0 import Memory` → OSS (Python)
User imports `import { Memory } from "mem0ai/oss"` → OSS (Node)
User imports `import MemoryClient from "mem0ai"` → Platform (TS/JS)
No package installed yet → Recommend Platform first
Install
# Python
pip install mem0ai
# Node / TypeScript
npm install mem0ai
# CLI
pip install mem0-cli # Python CLI
npm install -g @mem0/cli # Node CLI
API Key: Get from app.mem0.ai/dashboard/api-keys
Auth header: Authorization: Token <YOUR_API_KEY>
Platform SDK — Core CRUD (TypeScript / Python)
TypeScript (primary for this project)
import MemoryClient from "mem0ai";
const client = new MemoryClient({ apiKey: process.env.MEM0_API_KEY! });
// ADD — async, returns event_id
const result = await client.add(
[{ role: "user", content: "I moved to Austin last month." }],
{ user_id: "alice" }
);
// result.event_id → poll GET /v1/event/{id}/ to confirm SUCCEEDED
// SEARCH — V3 hybrid (semantic + BM25 + entity). Filters REQUIRED in V3.
const hits = await client.search("Where does Alice live?", {
filters: { user_id: "alice" },
top_k: 10,
});
// GET ALL
const all = await client.getAll({ user_id: "alice" });
// GET ONE
const mem = await client.get("<memory_id>");
// UPDATE
await client.update("<memory_id>", { text: "Alice lives in Austin, TX" });
// DELETE ONE
await client.delete("<memory_id>");
// DELETE ALL for a scope
await client.deleteAll({ user_id: "alice" });
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 326 lines · 186 tokens per session scan A 4452223bf058
mem0-api is a skill published in the GitHub repository pinkpixel-dev/mem0-mcp (96 stars, last pushed yesterday), licensed MIT. It adds 186 tokens to every session and 2,808 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
mem0-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mem0-apipinkpixel-dev/mem0-mcp | Skill | 96 | yesterday | MIT | A | 186 | Claude Code, Codex |
| browserwing-adminMemTensor/MemOS | Skill | 12k | 2d ago | Apache-2.0 | B | 47 | Claude Code, Codex |
| weknora-sharedTencent/WeKnora | Skill | 37k | 3d ago | none | A | 68 | Claude Code, Codex |
| weknora-rag-searchTencent/WeKnora | Skill | 37k | 3d ago | none | A | 54 | Claude Code, Codex |
| local-embeddingmatrixorigin/memoria | Skill | 623 | 2d ago | Apache-2.0 | B | 34 | Claude Code, Codex |
| braindbdimknaf/braindb | Skill | 116 | 25d ago | Apache-2.0 | A | 36 | Claude Code |
| difyznlgis/opengis-skills | Skill | 76 | 10d ago | MIT | A | 115 | Claude Code, Codex |