Agent skill · software engineering · mem0ai

mem0-test-integration

Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run /mem0-integrate and says "verify", "test the integration", "run /mem0-test-integration", or when a .mem0-integration/ directory exists and tests have not been run yet on the current branch. DO NOT TRIGGER when: the user wants to run general project tests (defer to the repo's native test command), or when no prior /mem0-integrate run exists in the current branch (ask them to run /mem0-integrate first). This skill ONLY catches compile and runtime bugs by design. Logical integration errors — wrong data stored, wrong time retrieved, wrong user scoping — are on the human reviewer.

Why this skill is useful

Adds specific commands and checks for verifying Mem0 integrations that the AI wouldn't reliably generate on its own.

What it needs

Requires npm, python installed locally. Requires mem0 account access. About 10k tokens when loaded. Last updated 2026-08-06. 62,725 stars on the source repository.

What this skill does

mem0-test-integration Verifies what /mem0-integrate produced. Runs in the same workspace, on the same feature branch. Loose coupling — fast, catches compile and runtime bugs, does not catch logical errors. Canonical sources (use these, not ambient knowledge) All static checks and smoke-test shapes validate against these URLs. WebFetch each before running step 3. Scope-tagged docs index: https://docs.mem0.ai/llms.txt OpenAPI (Platform REST): https://docs.mem0.ai/openapi.json Published SDK skill (canonical call patterns): https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0/SKILL.md Vercel AI SDK skill (if the target repo uses @ai-sdk/): https://raw.githubusercontent.com/mem0ai/mem0/main/skills/mem0-vercel-ai-sdk/SKILL.md SDK source (cross-check version against frontmatter mem0testedversions): Repo root: https://github.com/mem0ai/mem0 Python: https://github.com/mem0ai/mem0/tree/main/mem0 TypeScript: https://github.com/mem0ai/mem0/tree/main/mem0-ts Read the Delegated skill: field in .mem0-integration/plan.md — if it names a skill URL, fetch that skill and use its example blocks as the reference for both static checks (step 3) and the smoke test (step 5). Non-invasiveness contract Every check in this skill assumes the integration is additive and feature-flagged (see /mem0-integrate "Integration principles"). Specifically: product.json must contain a featureflag field. Steps 4–6 run in two passes: Pass A — flag unset. All pre-existing tests must pass, smoke/E2E skip. The repo must behave like main. Any failure here is a hard fail — do not let the self-heal loop attempt a patch. Pass B — flag set. New tests must pass, smoke and E2E run. If Pass A fails, the scorecard marks noninvasive: false and sets overall: fail with a distinct reason code the integrator's heal loop refuses to touch. Preconditions Refuse to start unless ALL of the following are true: .mem0-integration/ directory exists in the repo root. …

How to use it

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

@skills mem0ai/mem0-test-integration

View the source on GitHub

Browse the @skills marketplace