skills/mem0-test-integration/README.md
Verify a Mem0 integration produced by /mem0-integrate. Runs in the same workspace on the same branch — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key.
This is a pipeline skill, not a reference skill. Invoke it as
/mem0-test-integrationafter/mem0-integratehas produced a branch to verify. It catches compile and runtime bugs by design — logical integration errors (wrong data stored, wrong scoping) are for human review.Part of the Mem0 Skill Graph:
- Reference: mem0 · mem0-cli · mem0-vercel-ai-sdk
- Pipeline: mem0-integrate → mem0-test-integration (this skill)
When invoked, your assistant will:
.mem0-integration/ artifacts, the working tree is clean, and the right API key is in the environmentmain) and flag-set (new tests run)MEM0_API_KEY) or OSS (OPENAI_API_KEY)overall: pass | fail, per-check reasons, and the reproduction command for each failureTrigger phrases:
/mem0-test-integration"Do not use this skill to run general project tests (defer to the repo's native test command) or before /mem0-integrate has produced a branch on the current workspace.
npx skills add https://github.com/mem0ai/mem0 --skill mem0-test-integration
Typically installed alongside the companion pipeline skill:
npx skills add https://github.com/mem0ai/mem0 --skill mem0-integrate
skills/mem0-test-integration 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-test-integration", "source": "https://github.com/mem0ai/mem0/tree/main/skills/mem0-test-integration"}'
The skill refuses to start unless all of the following are true:
.mem0-integration/ directory exists in the repo rootmem0-integrate//mem0-integrate is exported in the environmentBy design, this skill only catches compile and runtime bugs. Logical errors — memories stored with the wrong scoping, retrieval returning the wrong user's data, filter mismatches — are the human reviewer's responsibility.
Apache-2.0