[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1WFK82RRX6QC02RHBDD91":3,"skill-same:01M7F1WFK82RRX6QC02RHBDD91":49},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7F1WFK82RRX6QC02RHBDD91","mesh-memory",null,"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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fmesh-memory\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: mesh-memory\ndescription: \"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.\"\nrisk: safe\nsource: dklymentiev\u002Fmesh-memory (MIT)\ndate_added: \"2026-05-23\"\n---\n\n# Mesh Memory\n\nMesh 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.\n\nUse 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.\n\n## When to Use This Skill\n\n- Saving a session worklog, decision, or research note so a later session can find it.\n- Recalling past work by topic when you do not remember the exact words you used.\n- Sharing a long-lived knowledge base across multiple agents, terminals, or teammates.\n- Organizing context by role or project through workspaces (one workspace per role\u002Fproject).\n- Looking up structured tags (e.g. all `type:decision` entries from one project).\n\n## Prerequisites\n\n- 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:\u002F\u002Fgithub.com\u002Fdklymentiev\u002Fmesh-memory for the full Quick Start.\n- The MCP server (`mcp_server.py`) registered with your client (Claude Code, Cursor, Claude Desktop, or any other MCP-aware agent).\n- `MESH_API_URL` pointing at the running instance (default: `http:\u002F\u002Flocalhost:8000`).\n\n## Setup\n\nRegister the MCP server in your client configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"mesh\": {\n      \"command\": \"python3\",\n      \"args\": [\"\u002Fpath\u002Fto\u002Fmesh-memory\u002Fmcp_server.py\"],\n      \"env\": {\n        \"MESH_API_URL\": \"http:\u002F\u002Flocalhost:8000\"\n      }\n    }\n  }\n}\n```\n\nWhen the server is reachable, the 13 tools listed below become available.\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mesh_focus` | Switch the active workspace (optionally prefetch recent docs). |\n| `mesh_add` | Save a document with optional tags. Auto-adds `date:YYYY-MM-DD` and `source:`. |\n| `mesh_update` | Update content, tags, or pinned status of an existing document. |\n| `mesh_delete` | Delete a document by GUID. |\n| `mesh_get` | Fetch a single document by GUID. |\n| `mesh_search` | Semantic search by query, optionally across multiple workspaces with weights. |\n| `mesh_bytag` | List documents that match one or more tags (AND logic). |\n| `mesh_recent` | List most recently created documents, optionally filtered by `type:` tag. |\n| `mesh_projects` | List per-project document counts (uses `guid:` tag as project marker). |\n| `mesh_tags` | List existing tags with counts; optional prefix filter. |\n| `mesh_versions` | Show the version chain of a document (similarity-linked revisions). |\n| `mesh_stats` | Memory statistics for the active workspace. |\n| `mesh_schema` | Show the tag schema (recognized prefixes and types). |\n\n## Workflows\n\n### Save a session worklog\n\nAfter completing work, persist it for future sessions:\n\n```\nmesh_add(\n  content=\"Investigated 502s on the checkout flow. Root cause: missing CORS header on the cart API. Fix shipped in commit abc123.\",\n  tags=\"type:worklog,topic:checkout,date:2026-05-23\",\n  workspace=\"developer\"\n)\n```\n\n`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).\n\n### Recall past work by meaning\n\nSearch across sessions for related context, even with different vocabulary:\n\n```\nmesh_search(query=\"checkout was failing for some users\", limit=5, workspace=\"developer\")\n```\n\nThe query shares no keywords with the original note (\"502s\", \"CORS\"), but the embedding-based search surfaces it.\n\n### Switch role \u002F context\n\nFor a multi-role agent, switch the active workspace at the start of a session:\n\n```\nmesh_focus(workspace=\"sysadmin\", prefetch=true, limit=5)\n```\n\nSubsequent calls default to that workspace. Pin a role-prompt document at the top of each workspace so the agent re-orients on every prefetch.\n\n### Cross-workspace search with weights\n\nTo pull context from related domains without diluting the primary signal:\n\n```\nmesh_search(\n  query=\"nginx rate limit recipe\",\n  workspaces={\"sysadmin\": 0.7, \"security\": 0.2, \"developer\": 0.1},\n  limit=10\n)\n```\n\nResults are merged across workspaces and re-scored by workspace weight.\n\n### Structured lookups by tag\n\nWhen you need an exact filter rather than semantic similarity:\n\n```\nmesh_bytag(tags=\"type:decision,status:active,guid:my-project\", limit=20)\n```\n\n## Tag Conventions\n\nMesh accepts arbitrary tags. The recommended prefixes (used by auto-inference and surfaced by `mesh_schema`):\n\n| Prefix | Meaning |\n|--------|---------|\n| `type:worklog` | Completed work; the most common type. |\n| `type:note` | Quick notes, observations. |\n| `type:decision` | Architecture or product decisions. |\n| `type:research` | Investigation results, findings. |\n| `type:task` | Action items. |\n| `type:rfc` | Proposals for review. |\n| `status:active` \u002F `status:completed` \u002F `status:archived` | Lifecycle. |\n| `date:YYYY-MM-DD` | When the document was created (auto-added). |\n| `source:` | How the document arrived (auto-added: `mcp`, `api`, etc.). |\n| `guid:\u003Cproject-id>` | Project marker -- use a consistent slug across all docs of a project. |\n\nWith fewer than ~5-10 documents in a workspace, neighbor inference is skipped; manually tag seed documents until the corpus self-organizes.\n\n## Troubleshooting\n\n**Tool calls fail with connection errors.** The MCP server cannot reach `MESH_API_URL`. Verify the instance is up (`curl $MESH_API_URL\u002Fhealth` returns `{\"status\":\"healthy\"}`) and the env var is set in the MCP config.\n\n**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.\n\n**Search returns results from the wrong domain.** The active workspace is not what you expected. Call `mesh_focus(workspace=\"\u003Cname>\")` explicitly, or pass `workspace=` on every call. With no focus and no explicit param, calls land in the `default` workspace.\n\n**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.\n\n**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.\n\n## Limitations\n\n- Mesh is a knowledge store, not a chat memory. Long conversation transcripts should be summarized before being saved.\n- Vector similarity is robust but not perfect; for high-precision structured lookups, prefer `mesh_bytag` over `mesh_search`.\n- 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.\n- The optional AI categorizer requires an OpenAI-compatible LLM endpoint and is disabled by default.\n","# Mesh Memory\n\nMesh 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.\n\nUse 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.\n\n## When to Use This Skill\n\n- Saving a session worklog, decision, or research note so a later session can find it.\n- Recalling past work by topic when you do not remember the exact words you used.\n- Sharing a long-lived knowledge base across multiple agents, terminals, or teammates.\n- Organizing context by role or project through workspaces (one workspace per role\u002Fproject).\n- Looking up structured tags (e.g. all `type:decision` entries from one project).\n\n## Prerequisites\n\n- 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:\u002F\u002Fgithub.com\u002Fdklymentiev\u002Fmesh-memory for the full Quick Start.\n- The MCP server (`mcp_server.py`) registered with your client (Claude Code, Cursor, Claude Desktop, or any other MCP-aware agent).\n- `MESH_API_URL` pointing at the running instance (default: `http:\u002F\u002Flocalhost:8000`).\n\n## Setup\n\nRegister the MCP server in your client configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"mesh\": {\n      \"command\": \"python3\",\n      \"args\": [\"\u002Fpath\u002Fto\u002Fmesh-memory\u002Fmcp_server.py\"],\n      \"env\": {\n        \"MESH_API_URL\": \"http:\u002F\u002Flocalhost:8000\"\n      }\n    }\n  }\n}\n```\n\nWhen the server is reachable, the 13 tools listed below become available.\n\n## MCP Tools\n\n| Tool | Purpose |\n|------|---------|\n| `mesh_focus` | Switch the active workspace (optionally prefetch recent docs). |\n| `mesh_add` | Save a document with optional tags. Auto-adds `date:YYYY-MM-DD` and `source:`. |\n| `mesh_update` | Update content, tags, or pinned status of an existing document. |\n| `mesh_delete` | Delete a document by GUID. |\n| `mesh_get` | Fetch a single document by GUID. |\n| `mesh_search` | Semantic search by query, optionally across multiple workspaces with weights. |\n| `mesh_bytag` | List documents that match one or more tags (AND logic). |\n| `mesh_recent` | List most recently created documents, optionally filtered by `type:` tag. |\n| `mesh_projects` | List per-project document counts (uses `guid:` tag as project marker). |\n| `mesh_tags` | List existing tags with counts; optional prefix filter. |\n| `mesh_versions` | Show the version chain of a document (similarity-linked revisions). |\n| `mesh_stats` | Memory statistics for the active workspace. |\n| `mesh_schema` | Show the tag schema (recognized prefixes and types). |\n\n## Workflows\n\n### Save a session worklog\n\nAfter completing work, persist it for future sessions:\n\n```\nmesh_add(\n  content=\"Investigated 502s on the checkout flow. Root cause: missing CORS header on the cart API. Fix shipped in commit abc123.\",\n  tags=\"type:worklog,topic:checkout,date:2026-05-23\",\n  workspace=\"developer\"\n)\n```\n\n`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).\n\n### Recall past work by meaning\n\nSearch across sessions for related context, even with different vocabulary:\n\n```\nmesh_search(query=\"checkout was failing for some users\", limit=5, workspace=\"developer\")\n```\n\nThe query shares no keywords with the original note (\"502s\", \"CORS\"), but the embedding-based search surfaces it.\n\n### Switch role \u002F context\n\nFor a multi-role agent, switch the active workspace at the start of a session:\n\n```\nmesh_focus(workspace=\"sysadmin\", prefetch=true, limit=5)\n```\n\nSubsequent calls default to that workspace. Pin a role-prompt document at the top of each workspace so the agent re-orients on every prefetch.\n\n### Cross-workspace search with weights\n\nTo pull context from related domains without diluting the primary signal:\n\n```\nmesh_search(\n  query=\"nginx rate limit recipe\",\n  workspaces={\"sysadmin\": 0.7, \"security\": 0.2, \"developer\": 0.1},\n  limit=10\n)\n```\n\nResults are merged across workspaces and re-scored by workspace weight.\n\n### Structured lookups by tag\n\nWhen you need an exact filter rather than semantic similarity:\n\n```\nmesh_bytag(tags=\"type:decision,status:active,guid:my-project\", limit=20)\n```\n\n## Tag Conventions\n\nMesh accepts arbitrary tags. The recommended prefixes (used by auto-inference and surfaced by `mesh_schema`):\n\n| Prefix | Meaning |\n|--------|---------|\n| `type:worklog` | Completed work; the most common type. |\n| `type:note` | Quick notes, observations. |\n| `type:decision` | Architecture or product decisions. |\n| `type:research` | Investigation results, findings. |\n| `type:task` | Action items. |\n| `type:rfc` | Proposals for review. |\n| `status:active` \u002F `status:completed` \u002F `status:archived` | Lifecycle. |\n| `date:YYYY-MM-DD` | When the document was created (auto-added). |\n| `source:` | How the document arrived (auto-added: `mcp`, `api`, etc.). |\n| `guid:\u003Cproject-id>` | Project marker -- use a consistent slug across all docs of a project. |\n\nWith fewer than ~5-10 documents in a workspace, neighbor inference is skipped; manually tag seed documents until the corpus self-organizes.\n\n## Troubleshooting\n\n**Tool calls fail with connection errors.** The MCP server cannot reach `MESH_API_URL`. Verify the instance is up (`curl $MESH_API_URL\u002Fhealth` returns `{\"status\":\"healthy\"}`) and the env var is set in the MCP config.\n\n**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.\n\n**Search returns results from the wrong domain.** The active workspace is not what you expected. Call `mesh_focus(workspace=\"\u003Cname>\")` explicitly, or pass `workspace=` on every call. With no focus and no explicit param, calls land in the `default` workspace.\n\n**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.\n\n**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.\n\n## Limitations\n\n- Mesh is a knowledge store, not a chat memory. Long conversation transcripts should be summarized before being saved.\n- Vector similarity is robust but not perfect; for high-precision structured lookups, prefer `mesh_bytag` over `mesh_search`.\n- 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.\n- The optional AI categorizer requires an OpenAI-compatible LLM endpoint and is disabled by default.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","dklymentiev\u002Fmesh-memory (MIT)","2026-05-23","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fmesh-memory",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill mesh-memory",{"tool":41,"command":42},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill mesh-memory",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill mesh-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fmesh-memory\u002FSKILL.md",true,[],[50,57,62,69,76,83],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":58,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]