mesh-memory
できること
これはAI向けのデジタルな記憶装置です。AIが過去のセッションで学んだことや決めたことを保存し、後から見つけられるようにします。正確な言葉を覚えていなくても検索できます。整理されたノートのようなものです。
使う場面
- ✓AIが、過去の作業で決めたことやメモを思い出す必要があるとき。
- ✓セッションでAIが行った作業の履歴を保存し、後で使えるようにしたいとき。
- ✓キーワードが完全に一致しなくても、意味からAIに情報を探してほしいとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/mesh-memory/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“プロジェクトXのデータベースについて決めたことを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは、メモや決定事項を専用のデータベースに保存します。質問をすると、言葉は違っていても、質問と同じ意味を持つ情報を探し出します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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). |
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
)
…
よくある質問
複雑なものをインストールする必要がありますか?
はい。Mesh Memoryというサービスを、お使いのコンピューターかサーバー上で動かしておく必要があります。通常はDockerを使い、プロジェクトの手順に従って設定します。
AIはどこを探せばいいのか、どうやって分かるのですか?
Claude Codeなどお使いのAIプログラムに、Mesh Memoryの場所を設定します。すると、AIは特定のコマンドを使って情報を保存したり取り出したりします。
複数のAIで同時に使えますか?
はい。「プロジェクト」や「役割」ごとにメモリを整理できます。複数のAIが同じメモリを使い、それぞれ自分の担当の作業に集中できます。
詳細
作者による元の説明
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.
人気
- GitHubのスター
- 48k
- ランキング
- #5201
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。