Agent skill

Mesh Memory

by sickn33 in sickn33/agentic-awesome-skills

Self-hosted semantic memory for AI agents via MCP. An agent skill from sickn33/agentic-awesome-skills.

MITAuto-check passedDatabases

Install Mesh Memory

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill mesh-memory -a claude-code

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

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills mesh-memory --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/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mesh-memory .claude/skills/mesh-memory && 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
mesh-memory
GitHub stars
47k
Used in
1 other repo
Token cost
~1.9k tokens
SKILL.md length
860 words
Files
1
Skills in repo
1,394
Repo updated
First seen
Licence
MIT

At a glance

Self-hosted semantic memory for AI agents via MCP. An agent skill from sickn33/agentic-awesome-skills.

  • Tasks that involve MCP servers
  • SKILL.md covers When to Use This Skill, Prerequisites, Setup and MCP Tools, plus 4 more sections
  • Calls docker and curl

What it does

Mesh Memory is an agent skill from sickn33/agentic-awesome-skills. Self-hosted semantic memory for AI agents via MCP. Save worklogs, decisions, and notes, then recall them across sessions by meaning, not keyword. Postgres + pgvector with auto-tagging.

Its SKILL.md is about 1.9k 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 Databases, covering MCP servers. It works with Model Context Protocol, pgvector and PostgreSQL. The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

When your agent uses it

  • Tasks that involve MCP servers

Example prompts

  • “/mesh-memory”

Requirements

  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 1e53ce2. 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:

    • docker
    • curl

    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):

    • github.com

    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

Mesh Memory loads about 1.9k tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 860 words of instructions outside code blocks.

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

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 sickn33/agentic-awesome-skills at commit 1e53ce2, republished under its MIT licence (© sickn33). 860 words, ~1,892 tokens.

Download SKILL.mdSave it as .claude/skills/mesh-memory/SKILL.md (or your agent's skills folder).
name
mesh-memory
description
Self-hosted semantic memory for AI agents via MCP. Save worklogs, decisions, and notes, then recall them across sessions by meaning, not keyword. Postgres + pgvector with auto-tagging.
risk
safe
source
dklymentiev/mesh-memory (MIT)
date_added
2026-05-23

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:decision entries from one project).

Prerequisites

  • A running Mesh Memory instance reachable from the MCP server. Local Docker is the common path -- docker compose up -d in 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_URL pointing at the running instance (default: http://localhost:8000).

Setup

Register the MCP server in your client configuration:

json
{
  "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

ToolPurpose
mesh_focusSwitch the active workspace (optionally prefetch recent docs).
mesh_addSave a document with optional tags. Auto-adds date:YYYY-MM-DD and source:.
mesh_updateUpdate content, tags, or pinned status of an existing document.
mesh_deleteDelete a document by GUID.
mesh_getFetch a single document by GUID.
mesh_searchSemantic search by query, optionally across multiple workspaces with weights.
mesh_bytagList documents that match one or more tags (AND logic).
mesh_recentList most recently created documents, optionally filtered by type: tag.
mesh_projectsList per-project document counts (uses guid: tag as project marker).
mesh_tagsList existing tags with counts; optional prefix filter.
mesh_versionsShow the version chain of a document (similarity-linked revisions).
mesh_statsMemory statistics for the active workspace.
mesh_schemaShow the tag schema (recognized prefixes and types).

Workflows

Save a session worklog

After completing work, persist it for future sessions:

mesh_add(
  content="Investigated 502s on the checkout flow. Root cause: missing CORS header on the cart API. Fix shipped in commit abc123.",
  tags="type:worklog,topic:checkout,date:2026-05-23",
  workspace="developer"
)

date: and source: are added automatically when omitted. Type and topic tags are inferred from nearest neighbors after the embedding completes (5-10 seed documents required before inference kicks in).

Recall past work by meaning

Search across sessions for related context, even with different vocabulary:

mesh_search(query="checkout was failing for some users", limit=5, workspace="developer")

The query shares no keywords with the original note ("502s", "CORS"), but the embedding-based search surfaces it.

Switch role / context

For a multi-role agent, switch the active workspace at the start of a session:

mesh_focus(workspace="sysadmin", prefetch=true, limit=5)

Subsequent calls default to that workspace. Pin a role-prompt document at the top of each workspace so the agent re-orients on every prefetch.

Cross-workspace search with weights

To pull context from related domains without diluting the primary signal:

mesh_search(
  query="nginx rate limit recipe",
  workspaces={"sysadmin": 0.7, "security": 0.2, "developer": 0.1},
  limit=10
)

Results are merged across workspaces and re-scored by workspace weight.

Show full SKILL.md (344 more words)Show less
Structured lookups by tag

When you need an exact filter rather than semantic similarity:

mesh_bytag(tags="type:decision,status:active,guid:my-project", limit=20)

Tag Conventions

Mesh accepts arbitrary tags. The recommended prefixes (used by auto-inference and surfaced by mesh_schema):

PrefixMeaning
type:worklogCompleted work; the most common type.
type:noteQuick notes, observations.
type:decisionArchitecture or product decisions.
type:researchInvestigation results, findings.
type:taskAction items.
type:rfcProposals for review.
status:active / status:completed / status:archivedLifecycle.
date:YYYY-MM-DDWhen the document was created (auto-added).
source:How the document arrived (auto-added: mcp, api, etc.).
guid:<project-id>Project marker -- use a consistent slug across all docs of a project.

With fewer than ~5-10 documents in a workspace, neighbor inference is skipped; manually tag seed documents until the corpus self-organizes.

Troubleshooting

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.

A saved document does not appear in semantic search yet. Embedding generation runs in the background. After a save, expect a 1-2 second delay before semantic search hits the new document. mesh_get(guid=...) confirms the document exists immediately.

Search returns results from the wrong domain. The active workspace is not what you expected. Call mesh_focus(workspace="<name>") explicitly, or pass workspace= on every call. With no focus and no explicit param, calls land in the default workspace.

Auto-tagging never adds anything. The workspace has too few documents for neighbor inference (~5-10 minimum). Manually tag a handful of seed documents, then auto-inference takes over.

A deleted document still appears in a search result. Embedding indices are eventually consistent; rerun the search after a few seconds, or use mesh_get(guid=...) to confirm deletion.

Limitations

  • Mesh is a knowledge store, not a chat memory. Long conversation transcripts should be summarized before being saved.
  • Vector similarity is robust but not perfect; for high-precision structured lookups, prefer mesh_bytag over mesh_search.
  • Embeddings run on CPU by default; very large corpora (hundreds of thousands of documents) benefit from a dedicated instance and pgvector tuning, not covered here.
  • The optional AI categorizer requires an OpenAI-compatible LLM endpoint and is disabled by default.

© sickn33, MIT. 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/mesh-memory of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit 1e53ce2

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Mesh Memory 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.

Mesh Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mesh Memory this skillsickn33/agentic-awesome-skills47k1 repos~1.9kAutomated safety check: PassMIT
Ogham Recallogham-mcp/ogham-mcp115—~1kAutomated safety check: PassMIT
Ogham Researchogham-mcp/ogham-mcp115—~1.4kAutomated safety check: PassMIT
Ogham Maintainogham-mcp/ogham-mcp115—~1.1kAutomated safety check: PassMIT
Session Ingestdnotitia/akb161—~8.1kAutomated safety check: PassCustom licence
NubaseOtterMind/Nubase624—~2.2kAutomated safety check: NotesApache-2.0

Similar skills

  • Ogham Recall

    ogham-mcp/ogham-mcp

    Smart retrieval from Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.

    115 GitHub stars~1k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Ogham Research

    ogham-mcp/ogham-mcp

    Structured memory capture for Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.

    115 GitHub stars~1.4k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Ogham Maintain

    ogham-mcp/ogham-mcp

    Admin and maintenance workflows for Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.

    115 GitHub stars~1.1k tokensUpdated 7 days ago
    Agent WorkflowsAuto-check passed
  • Session Ingest

    dnotitia/akb

    Ingest a coding session JSONL into AKB as structured notes — session report + parallel-drafted TIL / task / idea / decision sub-notes.

    161 GitHub stars~8.1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Nubase

    OtterMind/Nubase

    A skill your agent uses when the user mentions Nubase broadly, wants a backend for an AI-generated app, or needs to deploy/publish generated code online — across Database, Auth, Storage, Assets…

    624 GitHub stars~2.2k tokensUpdated 9 days ago
    Backend & APIsAuto-check: notes
  • Alloydb Basics

    google/skills

    Official

    Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations.

    21k GitHub stars~1.7k tokensUpdated today
    DatabasesAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,394 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about Mesh Memory

What does Mesh Memory do?

Self-hosted semantic memory for AI agents via MCP. An agent skill from sickn33/agentic-awesome-skills. Mesh Memory is an agent skill from sickn33/agentic-awesome-skills. Self-hosted semantic memory for AI agents via MCP.

When should I use Mesh Memory?

Mesh Memory fits situations like: tasks that involve MCP servers.

How do I install Mesh Memory in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill mesh-memory -a claude-code`. Or copy the skill folder (skills/mesh-memory in sickn33/agentic-awesome-skills) into .claude/skills/mesh-memory in your project. Claude Code loads it when a task matches its description.

How do I install Mesh Memory in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill mesh-memory -a codex`. Or copy the skill folder (skills/mesh-memory in sickn33/agentic-awesome-skills) into .agents/skills/mesh-memory in your project. Codex loads it when a task matches its description.

Can I use Mesh Memory 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 sickn33/agentic-awesome-skills --skill mesh-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mesh-memory, .gemini/skills/mesh-memory, .github/skills/mesh-memory and .opencode/skills/mesh-memory in your project.

What does Mesh Memory need to run?

Going by SKILL.md and its folder, Mesh Memory needs the command-line tools its instructions call (docker and curl). Our summary lists: Docker.

Does Mesh Memory access the network?

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

Is Mesh Memory 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 Mesh Memory use?

Mesh Memory is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mesh Memory use?

About 1.9k tokens (SKILL.md is roughly 7.6k 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 Mesh Memory?

Skills that share tags, products or a category with Mesh Memory: Ogham Recall (ogham-mcp/ogham-mcp, 115 stars), Ogham Research (ogham-mcp/ogham-mcp, 115 stars), Ogham Maintain (ogham-mcp/ogham-mcp, 115 stars) and Session Ingest (dnotitia/akb, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mesh Memory?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,304 GitHub stars. The repository holds 1,394 skills in this directory. The repository was last updated on October 6, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.