Agent skill

Memmesh CLI

by ThinkfleetAI in ThinkfleetAI/memmesh

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

Apache-2.0Auto-check passedAgent Workflows

Install Memmesh CLI

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

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

GitHub CLI
$ gh skill install ThinkfleetAI/memmesh memmesh-cli --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-cli .claude/skills/memmesh-cli && 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-cli
GitHub stars
419
Token cost
~855 tokens
SKILL.md length
244 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • : user mentions memmesh cli
  • SKILL.md covers Install (one command,…, Memory subcommands, Run the MCP server and Local vs hosted, plus 1 more section
  • Calls npx
  • Memmesh install

What it does

Memmesh CLI is an agent skill from ThinkfleetAI/memmesh. MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK. Runs fully local over SQLite. Covers install (wires MCP config + the teaching skill into Claude Code / Cursor / Windsurf / Codex), and the memory subcommands (save / get / search / migrate / mcp / serve). TRIGGER when: user mentions "memmesh cli", "memmesh install", "thinkfleet-memory" binary, "npx @thinkfleet/memmesh", running memmesh mcp, or wants local memory with no hosted account. DO NOT TRIGGER for: the…

Its SKILL.md is about 860 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: The memmesh (a.k.a. thinkfleet-memory) Rust binary on PATH, or npx @thinkfleet/memmesh (dependency-free shim). Local mode needs no API key; data lives in…

It sits in Agent Workflows, covering MCP servers. 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 mentions memmesh cli
  • Memmesh install
  • Thinkfleet-memory binary
  • Npx @thinkfleet/memmesh

Example prompts

  • “memmesh cli”
  • “memmesh install”
  • “thinkfleet-memory”
  • “/memmesh-cli”

Requirements

  • Node.js
  • Compatibility (from SKILL.md): The `memmesh` (a.k.a. `thinkfleet-memory`) Rust binary on PATH, or `npx @thinkfleet/memmesh` (dependency-free shim). Local mode needs no API key; data lives in ~/.thinkfleet-memory/memory.db.

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

    Shell commands in SKILL.md call:

    • npx

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

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    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.

  • Compatibility

    The `memmesh` (a.k.a. `thinkfleet-memory`) Rust binary on PATH, or `npx @thinkfleet/memmesh` (dependency-free shim). Local mode needs no API key; data lives in ~/.thinkfleet-memory/memory.db.

    From compatibility in the SKILL.md frontmatter.

Context cost

Memmesh CLI loads about 855 tokens when it runs. Until then it costs about 158 tokens; SKILL.md has 244 words of instructions outside code blocks.

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

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). 244 words, ~855 tokens.

Download SKILL.mdSave it as .claude/skills/memmesh-cli/SKILL.md (or your agent's skills folder).
name
memmesh-cli
description
MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK. Runs fully local over SQLite. Covers install (wires MCP config + the teaching skill into Claude Code / Cursor / Windsurf / Codex), and the memory subcommands (save / get / search / migrate / mcp / serve). TRIGGER when: user mentions "memmesh cli", "memmesh install", "thinkfleet-memory" binary, "npx @thinkfleet/memmesh", running `memmesh mcp`, or wants local memory with no hosted account. DO NOT TRIGGER for: the hosted TS SDK (use `memmesh-sdk`), or the always-on observe/recall behavior (use the `memmesh` skill).
compatibility
The `memmesh` (a.k.a. `thinkfleet-memory`) Rust binary on PATH, or `npx @thinkfleet/memmesh` (dependency-free shim). Local mode needs no API key; data lives in ~/.thinkfleet-memory/memory.db.
license
Apache-2.0
metadata.author
thinkfleet
metadata.category
ai-memory
metadata.tags
memory, cli, mcp, local, sqlite

MemMesh CLI

The CLI drives the same Rust engine as the hosted platform, but fully local over SQLite — no account, no key, no network. It is also the recommended way to give any MCP-capable agent persistent memory.

Install (one command, multi-tool)

bash
npx @thinkfleet/memmesh install        # or: memmesh install

This auto-detects your installed AI tools and, for each, writes the MCP server config and drops the teaching skill:

  • Claude Code (~/.claude.json + ~/.claude/skills/)
  • Cursor (~/.cursor/mcp.json)
  • Windsurf
  • Codex CLI

Useful flags: --dry-run (preview), --tool <name> (one tool only), --skill-only / --mcp-only, --force (overwrite existing config).

Verify wiring at any time:

bash
memmesh doctor        # checks binary, MCP config, skill presence, hooks

Memory subcommands

bash
memmesh save --type preference --scope user --content "prefers pnpm over npm"
memmesh get <id>
memmesh search --project myapp --query "database"        # substring/scoped search
memmesh list  --project myapp --limit 20
memmesh migrate                                          # run pending DB migrations

Run the MCP server

Most agents launch this for you via the config the installer wrote. To run it by hand (stdio JSON-RPC 2.0):

bash
memmesh mcp

The server exposes 15 tools — see the memmesh skill for the full list and the observe/recall usage pattern. Highlights beyond basic CRUD: memory_predict, memory_build_context, memory_graph_reason, memory_query_graph, memory_prefetch_related, plus the client-LLM graph extraction pair (memory_extract_pending / memory_commit_extraction) — the engine never makes LLM calls; your agent's own model does the extraction.

Local vs hosted

Local (CLI + MCP)Hosted (SDK / Mesh Router)
StorageSQLite (~/.thinkfleet-memory/memory.db)Postgres, multi-tenant
API keynot requiredmm-… key or Cognito JWT
Surface15 MCP tools + CLIfull TS SDK (memmesh-sdk)
SyncCRDT-style bi-temporal push to server (optional)authoritative

Free tier caps local storage at 500 items (free_tier.entry_cap in ~/.thinkfleet-memory/config.toml).

Config

~/.thinkfleet-memory/config.toml holds the sync URL, JWT token, and tier caps. Point sync.url at your hosted mesh to push local memory up; leave it unset to stay fully offline.

© 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-cli of ThinkfleetAI/memmesh.

Open the folder on GitHubat commit bba48f8

Compare with similar skills

Memmesh CLI 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 CLI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memmesh CLI this skillThinkfleetAI/memmesh419—~855Automated safety check: PassApache-2.0
Wrongstack Mailbox MCPWrongStack/WrongStack368—~1.5kAutomated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Foremergenaw103/foremerge536—~2.4kAutomated safety check: PassApache-2.0
Puppetmaster Agent Orchestrationprofessorpalmer/Puppetmaster467—~3.2kAutomated safety check: PassMIT
Clawmemyoloshii/ClawMem210—~7.5kAutomated safety check: PassMIT

Similar skills

  • Wrongstack Mailbox MCP

    WrongStack/WrongStack

    Coordinate with WrongStack agents through the project-scoped Mailbox MCP server.

    368 GitHub stars~1.5k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Foremerge

    naw103/foremerge

    Coordinate parallel coding agents with Foremerge's local Git-compatible CLI and MCP server.

    536 GitHub stars~2.4k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Puppetmaster Agent Orchestration

    professorpalmer/Puppetmaster

    Operates and supervises Puppetmaster, a multi-agent orchestrator, through its MCP tools or CLI, picking the right verb for edits, reviews, audits and long-running jobs.

    467 GitHub stars~3.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Clawmem

    yoloshii/ClawMem

    ClawMem operational reference for agents at query time — the 3-rule escalation gate, MCP tool routing, the 4 query-optimization levers, pipeline behavior (query vs intentsearch), composite scoring…

    210 GitHub stars~7.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Memora

    agentic-box/memora

    A skill your agent uses when working with persistent memory across sessions, storing/retrieving knowledge, managing TODOs/issues, or when context from previous sessions would be helpful.

    731 GitHub stars~813 tokensUpdated 9 days ago
    Agent WorkflowsAuto-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.

    419 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.

    419 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)…

    419 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.

    419 GitHub stars~611 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.

    419 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Predict

    ThinkfleetAI/memmesh

    Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance.

    419 GitHub stars~619 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Memmesh CLI

What does Memmesh CLI do?

MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK. Memmesh CLI is an agent skill from ThinkfleetAI/memmesh. MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK.

When should I use Memmesh CLI?

Memmesh CLI fits situations like: : user mentions memmesh cli; memmesh install; thinkfleet-memory binary; npx @thinkfleet/memmesh.

How do I install Memmesh CLI in Claude Code?

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

How do I install Memmesh CLI in Codex?

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

Can I use Memmesh CLI 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-cli -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-cli, .gemini/skills/memmesh-cli, .github/skills/memmesh-cli and .opencode/skills/memmesh-cli in your project.

What does Memmesh CLI need to run?

Going by SKILL.md and its folder, Memmesh CLI needs the command-line tools its instructions call (npx). Our summary lists: Node.js. Compatibility (from SKILL.md): The `memmesh` (a.k.a. `thinkfleet-memory`) Rust binary on PATH, or `npx @thinkfleet/memmesh` (dependency-free shim). Local mode needs no API key; data lives in ~/.thinkfleet-memory/memory.db..

Does Memmesh CLI access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Memmesh CLI 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 CLI use?

Memmesh CLI 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 CLI use?

About 855 tokens (SKILL.md is roughly 3.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 CLI?

Skills that share tags, products or a category with Memmesh CLI: Wrongstack Mailbox MCP (WrongStack/WrongStack, 368 stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), Foremerge (naw103/foremerge, 536 stars) and Puppetmaster Agent Orchestration (professorpalmer/Puppetmaster, 467 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memmesh CLI?

ThinkfleetAI (a GitHub organization) maintains it in ThinkfleetAI/memmesh, which has 419 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.