Agent skill

Memmesh Integrate

by ThinkfleetAI in ThinkfleetAI/memmesh

Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline.

Apache-2.0Auto-check passedTesting & QA

Install Memmesh Integrate

skills CLI
$ npx skills add ThinkfleetAI/memmesh --skill memmesh-integrate -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ThinkfleetAI/memmesh memmesh-integrate --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ThinkfleetAI/memmesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memmesh-integrate .claude/skills/memmesh-integrate && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
memmesh-integrate
GitHub stars
420
Token cost
~1.1k tokens
SKILL.md length
450 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline.

  • Works in 7 steps: Additive, not replacing. If the repo… → Opt-in by default. Gate all new code… → No breakage. No removed/renamed exports,… → …
  • : user says integrate memmesh
  • SKILL.md covers Canonical sources (fetch…, Integration principles…, Pipeline and Definition of done
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memmesh Integrate is an agent skill from ThinkfleetAI/memmesh. Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline. Detects the repo's language/stack, asks whether to use MemMesh Hosted (SDK, managed) or Local (CLI + MCP over SQLite), writes failing tests before any implementation, and lands additive, feature-flag-gated code that a maintainer can accept without argument. Produces .memmesh-integration/ artifacts for the paired verification skill. TRIGGER when: user says "integrate memmesh", "add memmesh to this repo", "wire memmesh…

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Test-driven development and Failing and flaky tests. It works with Model Context Protocol and SQLite. The repository describes itself as: Persistent, self-improving memory for AI agents. Local-first Rust memory engine with MCP support. The licence is Apache-2.0.

When your agent uses it

  • : user says integrate memmesh
  • Add memmesh to this repo
  • Wire memmesh into <repo
  • Add memory to this app

Example prompts

  • “integrate memmesh”
  • “add memmesh to this repo”
  • “wire memmesh into <repo”
  • “/memmesh-integrate”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Additive, not replacing. If the repo already has a memory / session /
  2. Opt-in by default. Gate all new code behind a flag (MEMMESH_ENABLED=1,
  3. No breakage. No removed/renamed exports, no changed signatures, no
  4. Minimal dependency surface. Add @thinkfleet/memory-sdk (hosted) or the
  5. Separable commits. Code, tests, config/docs in separate commits.
  6. The null hypothesis wins. If no additive, gated fit exists, exit with a
  7. Backend only. Integration lives in server-side code. Keys never ship to

What it can do on your machine

Read from SKILL.md and the folder at commit bba48f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • docs.memmesh.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Memmesh Integrate loads about 1.1k tokens when it runs. Until then it costs about 207 tokens; SKILL.md has 450 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~207
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ThinkfleetAI/memmesh at commit bba48f8, republished under its Apache-2.0 licence (© ThinkfleetAI). 450 words, ~1,106 tokens.

Download SKILL.mdSave it as .claude/skills/memmesh-integrate/SKILL.md (or your agent's skills folder).
name
memmesh-integrate
description
Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline. Detects the repo's language/stack, asks whether to use MemMesh Hosted (SDK, managed) or Local (CLI + MCP over SQLite), writes failing tests before any implementation, and lands additive, feature-flag-gated code that a maintainer can accept without argument. Produces `.memmesh-integration/` artifacts for the paired verification skill. TRIGGER when: user says "integrate memmesh", "add memmesh to this repo", "wire memmesh into <repo>", "add memory to this app", or "add prediction to this app". DO NOT TRIGGER for: general SDK usage (use `memmesh-sdk`), CLI usage (use `memmesh-cli`), or migrating off another vendor (use `memmesh-migrate`). After success, invoke `memmesh-test-integration` in the same workspace.
license
Apache-2.0
metadata.author
thinkfleet
metadata.category
ai-memory
metadata.tags
memory, prediction, integration, tdd

memmesh-integrate

Wire MemMesh into an existing repo with a goal-driven, test-first pipeline. Pairs with memmesh-test-integration for verification.

Canonical sources (fetch BEFORE deciding anything)

WebFetch these and cite them in plan.md. They are ground truth — do not rely on ambient knowledge of the API.

Integration principles (non-negotiable)

The goal is a PR the maintainers accept without argument.

  1. Additive, not replacing. If the repo already has a memory / session / user-context layer, MemMesh sits alongside it. The existing system keeps working unchanged.
  2. Opt-in by default. Gate all new code behind a flag (MEMMESH_ENABLED=1, a config key, or a strategy selector). Flag unset ⇒ original behavior, byte-for-byte.
  3. No breakage. No removed/renamed exports, no changed signatures, no modified existing tests. All pre-existing tests pass unchanged with the flag both set and unset.
  4. Minimal dependency surface. Add @thinkfleet/memory-sdk (hosted) or the memmesh binary (local) and nothing else.
  5. Separable commits. Code, tests, config/docs in separate commits.
  6. The null hypothesis wins. If no additive, gated fit exists, exit with a rationale. A bad PR is worse than no PR.
  7. Backend only. Integration lives in server-side code. Keys never ship to the client.
Show full SKILL.md (230 more words)Show less

Pipeline

  1. Detect the stack (language, test runner, where user/session context is handled). Record in .memmesh-integration/detect.md.
  2. Choose surface — ask the user: Hosted (managed, mm- key, best for prediction/calibration/verticals) or Local (CLI + MCP over SQLite, no key, best for dev tools / offline). Default to Local for CLIs and dev tooling, Hosted for user-facing apps.
  3. Pick the seam. The highest-value seam is usually the request/response loop around the LLM: observe the user turn, search/buildContext before generating, and — where it adds value — predict the next action. Write the goal in plan.md and cite the canonical sources.
  4. Write failing tests first into .memmesh-integration/ and the repo's test dir: (a) flag-off ⇒ behavior unchanged; (b) flag-on ⇒ observe is called with the user turn; (c) flag-on ⇒ retrieved context reaches the prompt.
  5. Implement the smallest gated wiring that makes the tests pass. Delegate call-site patterns to memmesh-sdk / memmesh-cli.
  6. Consider the moat. If the app makes a decision about a user/account (offer, routing, retention), add an optional predict / predictTarget call and surface the calibrated confidence + abstention. Never let an abstention crash the flow — treat "I don't know yet" as a first-class branch.
  7. Emit artifacts in .memmesh-integration/ (detect.md, plan.md, changes.md, seed test data) and stop. Then run memmesh-test-integration.

Definition of done

Feature branch + .memmesh-integration/ artifacts, all pre-existing tests green with the flag both set and unset, and the new tests green with it set.

© ThinkfleetAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/memmesh-integrate of ThinkfleetAI/memmesh.

Open the folder on GitHubat commit bba48f8

Compare with similar skills

Memmesh Integrate next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Memmesh Integrate compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memmesh Integrate this skillThinkfleetAI/memmesh420—~1.1kAutomated safety check: PassApache-2.0
Debugging Opik E2E Testscomet-ml/opik22k—~1.8kAutomated safety check: PassApache-2.0
Adding LLM MCP ToolsTriliumNext/Trilium38k—~2.5kAutomated safety check: PassAGPL-3.0
Test Guidelinesgetsentry/sentry-react-native1.8k—~1.3kAutomated safety check: PassMIT
Test Guidelinesgetsentry/sentry-dart873—~3.1kAutomated safety check: PassMIT
Agent Harness Testing Methodologyhuiliyi37/Tianshu-harness1.1k—~1kAutomated safety check: NotesApache-2.0

Similar skills

  • Investigates a failed Opik end-to-end test from CI, TestOps or a local run, decides regression versus flake, and proposes a fix without editing tests.

    22k GitHub stars~1.8k tokensUpdated today
    Testing & QAAuto-check passed
  • Adding LLM MCP Tools

    TriliumNext/Trilium

    A skill your agent uses when adding, changing, or reviewing an LLM/MCP tool in Trilium (the defineTools definitions under packages/trilium-core/src/services/llm/tools/ —…

    38k GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guidelines

    getsentry/sentry-react-native

    Official

    Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.

    1.8k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Test Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK test conventions for naming, structure, and fixtures.

    873 GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed
  • Agent Harness Testing Methodology

    huiliyi37/Tianshu-harness

    Guides an agent through probing an unfamiliar project's test setup, then choosing a red-light-first testing strategy matched to the task type.

    1.1k GitHub stars~1k tokensUpdated today
    Testing & QAAuto-check: notes
  • Mz Debug CI

    MaterializeInc/materialize

    Investigate CI failures on PR via gh + Buildkite MCP or bk CLI.

    6.4k GitHub stars~3.9k tokensUpdated today
    Testing & QAAuto-check passed

More from ThinkfleetAI/memmesh

All 24 skills in this repo
  • Behaviors

    ThinkfleetAI/memmesh

    Surface emergent behavior patterns MemMesh has mined from a subject's history — recurring habits nobody predefined, each with prevalence, stability, and the evidence behind it.

    420 GitHub stars~519 tokensUpdated 1 mo ago
    Auto-check passed
  • Benchmark

    ThinkfleetAI/memmesh

    Run MemMesh's competitive benchmark harness (LOCOMO / BEAM) to compare retrieval quality, tokens, latency, and cost against Mem0, Zep, full-context, and naive-RAG baselines.

    420 GitHub stars~460 tokensUpdated 1 mo ago
    Auto-check passed
  • Context Loader

    ThinkfleetAI/memmesh

    Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…

    420 GitHub stars~530 tokensUpdated 1 mo ago
    Auto-check passed
  • Graph

    ThinkfleetAI/memmesh

    Query MemMesh's bi-temporal knowledge graph — multi-hop reasoning across entities, point-in-time "what did we believe on date X", and anticipatory retrieval via spreading activation.

    420 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh CLI

    ThinkfleetAI/memmesh

    MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK.

    420 GitHub stars~855 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh SDK

    ThinkfleetAI/memmesh

    MemMesh TypeScript SDK reference (@thinkfleet/memory-sdk) for the hosted platform at app.memmesh.ai.

    420 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Memmesh Integrate

What does Memmesh Integrate do?

Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline. Memmesh Integrate is an agent skill from ThinkfleetAI/memmesh. Integrate MemMesh into an existing repository using a goal-driven, test-first (TDD) pipeline.

When should I use Memmesh Integrate?

Memmesh Integrate fits situations like: : user says integrate memmesh; add memmesh to this repo; wire memmesh into <repo; add memory to this app.

How do I install Memmesh Integrate in Claude Code?

Run `npx skills add ThinkfleetAI/memmesh --skill memmesh-integrate -a claude-code`. Or copy the skill folder (skills/memmesh-integrate in ThinkfleetAI/memmesh) into .claude/skills/memmesh-integrate in your project. Claude Code loads it when a task matches its description.

How do I install Memmesh Integrate in Codex?

Run `npx skills add ThinkfleetAI/memmesh --skill memmesh-integrate -a codex`. Or copy the skill folder (skills/memmesh-integrate in ThinkfleetAI/memmesh) into .agents/skills/memmesh-integrate in your project. Codex loads it when a task matches its description.

Can I use Memmesh Integrate in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ThinkfleetAI/memmesh --skill memmesh-integrate -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memmesh-integrate, .gemini/skills/memmesh-integrate, .github/skills/memmesh-integrate and .opencode/skills/memmesh-integrate in your project.

What does Memmesh Integrate need to run?

SKILL.md names no scripts, command-line tools or credentials: Memmesh Integrate is instructions for the agent only.

Does Memmesh Integrate access the network?

SKILL.md names 1 domain. As links in the text: docs.memmesh.ai. This is read from the text; nothing was executed.

Is Memmesh Integrate safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Memmesh Integrate use?

Memmesh Integrate is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memmesh Integrate use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Memmesh Integrate?

Skills that share tags, products or a category with Memmesh Integrate: Debugging Opik E2E Tests (comet-ml/opik, 22k stars), Adding LLM MCP Tools (TriliumNext/Trilium, 38k stars), Test Guidelines (getsentry/sentry-react-native, 1.8k stars) and Test Guidelines (getsentry/sentry-dart, 873 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memmesh Integrate?

ThinkfleetAI (a GitHub organization) maintains it in ThinkfleetAI/memmesh, which has 420 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on August 25, 2026.

Source: ThinkfleetAI/memmesh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.