Agent skill · software engineering · mem0ai

mem0-integrate

Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus `.mem0-integration/` artifacts consumed by the paired verification skill. TRIGGER when: user says "integrate mem0", "add mem0 to this repo", "wire mem0 into <repo>", or asks how to add memory to an existing project. DO NOT TRIGGER when: the user wants general SDK usage (use skill:mem0), CLI usage (use skill:mem0-cli), or Vercel AI SDK (use skill:mem0-vercel-ai-sdk). After success, invoke skill:mem0-test-integration to verify in the same workspace (loose coupling).

Why this skill is useful

Adds a comprehensive integration script for Mem0 that includes TDD practices and specific repository handling that the AI wouldn't generate on its own.

What it needs

Requires git installed locally. About 7k tokens when loaded. Last updated 2026-08-06. 62,725 stars on the source repository.

What this skill does

mem0-integrate Wire Mem0 into an existing repo with a goal-driven, test-first pipeline. Pairs with mem0-test-integration for verification. Canonical sources (fetch before deciding anything) The skill MUST WebFetch these URLs before step 3 and cite them in plan.md. They are the ground truth — do not rely on ambient knowledge of the Mem0 API. Agent-ready docs Scope-tagged docs index: https://docs.mem0.ai/llms.txt Full docs (single file, deep dives): https://docs.mem0.ai/llms-full.txt OpenAPI spec (Platform REST, machine-readable): https://docs.mem0.ai/openapi.json Hosted MCP server: https://mcp.mem0.ai (requires Platform API key) Integrations index: https://docs.mem0.ai/integrations Published Mem0 skills — delegate; do not reimplement Prefer these over writing your own call-site patterns. Each is a standalone SKILL.md with triggers, examples, and version-pinned code. SDK (Python + TS, Platform + OSS): https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0/SKILL.md CLI: https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0-cli/SKILL.md Vercel AI SDK: https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0-vercel-ai-sdk/SKILL.md Portable editor/MCP plugin: https://github.com/mem0ai/mem0/tree/main/integrations/mem0-agent-plugin SDK source (read when docs are ambiguous) Public repo. Cross-check against the mem0testedversions range in this skill's frontmatter if the main branch has moved past a major. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills mem0ai/mem0-integrate

View the source on GitHub

Browse the @skills marketplace