1. Habit
  2. Skills
  3. Mem0 Test Integration skill
mem0ai · 322 installs

Mem0 Test Integration skill
Runs by itself, after mem0 integrate.

A Mem0 integration proven to run.

Install the Mem0 Test Integration skill and make it a habit: follow https://gethabit.dev/skills/mem0ai/mem0-test-integration.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

322 installs68K starsApache-2.0 licenceSource on GitHub ↗

Mem0 Test Integration

by mem0ai · 322 installs

The skill

Mem0 Test Integration verifies a Mem0 integration on its branch: install, static checks, the repo's tests with the flag off and on, a real smoke call and an end-to-end flow, then a scorecard.

Only when you ask.

The habit

A Mem0 integration proven to run.

↻ Runs by itselfafter mem0 integrate

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one verification per run; any failing step stops the run.

  1. 01

    Check preconditions

    Your agent refuses unless .mem0-integration/ exists, the branch starts with mem0-integrate/ and the tree is clean.

  2. 02

    Read contract

    It reads product.json, plan.md and goal.md for language, product, flag and call sites.

  3. 03

    Install

    It installs dependencies by language and stops if they do not resolve.

  4. 04

    Static checks

    It checks the import surface, version range, types, lint and that the client is not built at module scope.

  5. 05

    Two test passes

    Pass A with the flag unset must be all green; Pass B with the flag set runs the new tests.

  6. 06

    Smoke test

    It makes one real add-then-search round trip with a disposable user id and cleans up.

  7. 07

    End to end

    If plan.md has an E2E recipe it runs the app and checks the stored memory appears in the output.

  8. 08

    Scorecard

    It writes scorecard.md and scorecard.json, prints the verdict and never patches source.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Mem0 Test Integration skill helps.

Use it when

  • ✓ verifying a fresh Mem0 integration
  • ✓ checking the integration did not break existing tests
  • ✓ running a smoke and end-to-end flow

Skip it when

  • – there is no prior mem0-integrate run
  • – you only want general project tests

Questions

Mem0 Test Integration skill, answered.

Does it fix a failing test?

No. It is read-only against the repo. A failing test means the integration is wrong, so you re-run /mem0-integrate.

What does it not check?

Logical correctness: whether the right facts are stored, the right time is used, or user scoping is right. That is human review.

How do I install the Mem0 Test Integration skill?

Copy the prompt at the top into your agent. It installs the skill from mem0ai/mem0 and sets up the habit. Or run npx skills add mem0ai/mem0 --skill mem0-test-integration.

Is the Mem0 Test Integration skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Mem0 Test Integration. Now as a habit.

Install the Mem0 Test Integration skill and make it a habit: follow https://gethabit.dev/skills/mem0ai/mem0-test-integration.md

  • Free
  • No account
  • Undo in one line

All mem0ai skills →More code skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by mem0ai, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.