skills/mem0-oss-to-platform/README.md
Migrate a project from the Mem0 Open Source (self-hosted) SDK to the Mem0 Platform (hosted) SDK, end to end. The skill audits where Mem0 is used, writes a reviewable migration plan, and executes it after you approve.
This is a pipeline skill, not a reference skill. Invoke it when you want your agent to migrate an existing project's Mem0 integration from OSS to the Platform. For day-to-day SDK coding help, install
mem0instead.Part of the Mem0 Skill Graph:
- Reference: mem0 · mem0-cli · mem0-vercel-ai-sdk
- Pipeline: mem0-integrate → mem0-test-integration · mem0-oss-to-platform (this skill)
When invoked, your assistant will:
Memory usage to its hosted MemoryClient equivalent (Python and TypeScript)MEM0_MIGRATION_PLAN.md, then execute it after you approve — strictly scoped to the Mem0 integration, with no unrelated refactorsTrigger phrases:
Do not use this skill for general SDK usage (install mem0), or to add Mem0 to a repo that doesn't use it yet (use mem0-integrate).
npx skills add https://github.com/mem0ai/mem0 --skill mem0-oss-to-platform
skills/mem0-oss-to-platform folder as a ZIPcurl -X POST https://api.anthropic.com/v1/skills \
-H "x-api-key: $ANTHROPIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "mem0-oss-to-platform", "source": "https://github.com/mem0ai/mem0/tree/main/skills/mem0-oss-to-platform"}'
(invoke skill) → audits the repo's Mem0 usage,
writes MEM0_MIGRATION_PLAN.md,
stops for your review
(approve) → executes the plan and verifies
(compile/import, real-API smoke test)
Apache-2.0