Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add skillmds/skillmd --skill mesh-memorygit clone --depth 1 https://github.com/skillmds/skillmdWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/skillmds/skillmd/mesh-memory)<a href="https://agentmods.dev/skills/skillmds/skillmd/mesh-memory"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/mesh-memory/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/skillmds/skillmd/mesh-memory"><img src="https://agentmods.dev/badge/skills/skillmds/skillmd/mesh-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01773 |
| Opus 5.5 | $0.00018 | $0.00709 |
| Sonnet 5.5 | $0.00009 | $0.00355 |
| Haiku 4.5 | $0.00004 | $0.00177 |
Grade A, and why
mesh-memory scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**Tool calls fail with connection errors.** The MCP server cannot reach `MESH_API_URL`. Verify the instance is up (`curl $MESH_API_URL/health` returns `{"status":"healthy"}`) and the env var is set in the MCP config. How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mesh Memory
Mesh Memory is a self-hosted semantic memory service with a built-in MCP server. It stores documents (worklogs, decisions, notes, research) in PostgreSQL with pgvector and retrieves them by meaning, so a query like "what database did we pick?" surfaces a saved note that says "chose Redis for caching" even with zero keyword overlap. Embeddings are generated locally with multilingual-e5-base (768 dimensions); the core flow requires no external API keys.
Use this skill when an agent needs persistent memory across sessions: saving its own work, recalling prior decisions, or building a project knowledge base shared between multiple agents.
When to Use This Skill
- Saving a session worklog, decision, or research note so a later session can find it.
- Recalling past work by topic when you do not remember the exact words you used.
- Sharing a long-lived knowledge base across multiple agents, terminals, or teammates.
- Organizing context by role or project through workspaces (one workspace per role/project).
- Looking up structured tags (e.g. all
type:decisionentries from one project).
Prerequisites
- A running Mesh Memory instance reachable from the MCP server. Local Docker is the common path --
docker compose up -din the upstream repo brings it up; see https://github.com/dklymentiev/mesh-memory for the full Quick Start. - The MCP server (
mcp_server.py) registered with your client (Claude Code, Cursor, Claude Desktop, or any other MCP-aware agent). MESH_API_URLpointing at the running instance (default:http://localhost:8000).
Setup
Register the MCP server in your client configuration:
{
"mcpServers": {
"mesh": {
"command": "python3",
"args": ["/path/to/mesh-memory/mcp_server.py"],
"env": {
"MESH_API_URL": "http://localhost:8000"
}
}
}
}
When the server is reachable, the 13 tools listed below become available.
MCP Tools
| Tool | Purpose |
|---|---|
mesh_focus |
Switch the active workspace (optionally prefetch recent docs). |
mesh_add |
Save a document with optional tags. Auto-adds date:YYYY-MM-DD and source:. |
mesh_update |
Update content, tags, or pinned status of an existing document. |
mesh_delete |
Delete a document by GUID. |
mesh_get |
Fetch a single document by GUID. |
mesh_search |
Semantic search by query, optionally across multiple workspaces with weights. |
mesh_bytag |
List documents that match one or more tags (AND logic). |
mesh_recent |
List most recently created documents, optionally filtered by type: tag. |
mesh_projects |
List per-project document counts (uses guid: tag as project marker). |
mesh_tags |
List existing tags with counts; optional prefix filter. |
mesh_versions |
Show the version chain of a document (similarity-linked revisions). |
mesh_stats |
Memory statistics for the active workspace. |
mesh_schema |
Show the tag schema (recognized prefixes and types). |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 162 lines · 44 tokens per session scan A f89c1d908082
mesh-memory is a skill published in the GitHub repository skillmds/skillmd (143 stars, last pushed 4d ago), licensed MIT. It adds 44 tokens to every session and 1,773 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
mesh-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mesh-memoryskillmds/skillmd | Skill | 143 | 4d ago | MIT | A | 44 | Claude Code |
| nlqdb-memorynlqdb/nlqdb | Skill | 2 | today | none | A | 70 | Claude Code |
| postgresdbericrisco/rsc-harness | Skill | 529 | 3d ago | MIT | A | 91 | Claude Code, Codex |
| neonericrisco/rsc-harness | Skill | 529 | 3d ago | MIT | A | 93 | Claude Code, Codex |
| forgetful-cli-setupScottRBK/forgetful | Skill | 338 | today | MIT | A | 84 | Claude Code |
| demo-datamendixlabs/mxcli | Skill | 137 | today | Apache-2.0 | A | 66 | Claude Code |
| diesel-guardayarotsky/diesel-guard | Skill | 122 | 4d ago | MIT | A | 77 | Claude Code, Codex |