mem0-oss-to-platform

mem0-oss-to-platform is a skill for Claude Code, Codex from mem0ai/mem0. It costs 273 tokens per session (2,050 once invoked), scanned A, original, Apache-2.0.

A migration assistant for moving a project from self-hosted Mem0 to Mem0 Platform, the hosted version. It replaces the local memory service setup with the hosted client and prepares a plan before making the change.

In plain words
What is it for?
Use it to move an agent, retrieval-augmented generation (RAG) pipeline, web service, chatbot, or background worker from local Mem0 to the hosted API.
Why use it?
It removes the need to run and maintain local databases, search storage, language models, and other memory infrastructure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to move an agent, retrieval-augmented generation (RAG) pipeline, web service, chatbot, or background worker from local Mem0 to the hosted API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mem0ai/mem0/mem0-oss-to-platform
About the project

mem0 is memory infrastructure that lets AI agents and applications store and retrieve information across interactions. It supports agents and developers who need persistent context for AI systems.

mem0ai/mem0 · 65,043 stars · on GitHub · mem0.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mem0ai/mem0 --skill mem0-oss-to-platform
Clone the repo
git clone --depth 1 https://github.com/mem0ai/mem0

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for mem0-oss-to-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/mem0ai/mem0/mem0-oss-to-platform/github.svg)](https://agentmods.dev/skills/mem0ai/mem0/mem0-oss-to-platform)
Your own site
<a href="https://agentmods.dev/skills/mem0ai/mem0/mem0-oss-to-platform"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/mem0-oss-to-platform/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.

agentmods 80×15 button for mem0-oss-to-platform

Your own site · 80×15
<a href="https://agentmods.dev/skills/mem0ai/mem0/mem0-oss-to-platform"><img src="https://agentmods.dev/badge/skills/mem0ai/mem0/mem0-oss-to-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 273 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00273 $0.02050
Opus 5 $0.00137 $0.01025
Sonnet 5 $0.00055 $0.00410
Haiku 4.5 $0.00027 $0.00205

Measured 10d ago against content hash 2fb695051ada, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mem0-oss-to-platform 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 10d 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.

skills/mem0-oss-to-platform/SKILL.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate mem0 OSS → mem0 Platform (hosted)

This skill migrates a project's memory layer from the self-hosted mem0 OSS SDK to the hosted mem0 Platform SDK, working for any project shape — an agent, a RAG pipeline, an API service, a chatbot, a background worker. You discover where mem0 is actually used, write a plan the developer reviews, and then execute it on approval.

The mental model (read this first — it's why the migration is shaped the way it is)

OSS mem0 means the developer runs the whole memory stack themselves: a vector store (Qdrant/pgvector/Chroma/…), an embedder, an LLM for fact extraction, and a local history DB. All of that is wired up in a config object passed to Memory.

The Platform means mem0 runs that stack for them. The developer just holds an API key. So the migration is mostly subtraction: the local infrastructure config collapses into a single MemoryClient(api_key=...). The method calls stay recognizable (add/search/get_all/…), but a few parameter conventions tighten up and the return values are server responses.

So the core of every migration is:

  1. Memory / Memory.from_config({...})MemoryClient() (reads the API key from the env).
  2. Delete the local vector_store / llm / embedder / graph_store / history_db_path config.
  3. Fix up each call site to the hosted call convention (entity IDs into filters, pagination, etc.).
  4. Flag everything that isn't a clean 1:1 so the developer can decide (see references/gotchas.md).

Scope discipline: touch only mem0-related code, config, dependencies, and env. Preserve the project's existing behavior, structure, and style. Do not rename things, "tidy" nearby code, or change the app's logic. The developer asked to swap a backend, not to refactor their project.

Workflow

Work through these phases in order. Phases 1–4 produce the plan; phase 5 runs only after approval.

Phase 0 — Prerequisite check

The hosted SDK needs a mem0 API key (MEM0_API_KEY, obtainable at https://app.mem0.ai). Confirm the developer has one. You don't need the key value to write the plan, but flag in the plan that it must be set (in .env / secrets manager, never hardcoded) before execution and verification.

Read the full file on GitHub · 121 lines

Files

What ships with it

5 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.

Changes

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.

  1. 10d ago First seen · 121 lines · 273 tokens per session scan A 2fb695051ada

Subscribe to this mod's changes

mem0-oss-to-platform is a skill published in the GitHub repository mem0ai/mem0 (65,043 stars, last pushed today), licensed Apache-2.0. It adds 273 tokens to every session and 2,050 once invoked, about $0.0014 per session on Opus 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.

Related

Other skills, from other repositories

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens

pinecone-research

Agent RAG and long-term memory with Pinecone.

NousResearch/hermes-agent · 16 tokens

dev-browser

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website"…

MemTensor/MemOS · 84 tokens

ask-user-question

Ask users questions via the UI. Use when you need clarification, user preferences, or confirmation before proceeding. The user CANNOT see CLI output - this tool is the ONLY way to communicate with them.

MemTensor/MemOS · 44 tokens

memos-memory-guide

Use the MemOS Local memory system to search and use the user's past conversations. Use this skill whenever the user refers to past chats, their own preferences or history, or when you need to answer from prior context. When auto-recall returns nothing (long or unclear user query), generate your own short search query…

MemTensor/MemOS · 131 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens