/gnosis:managefrom gnosis
CRUD operations on a gnosis-mcp knowledge base: add, delete, update, and inspect single documents. For point changes, not bulk ingest.
Ships in gnosis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Single-document CRUD against the gnosis-mcp knowledge base. Bulk
operations (full re-ingest, git history, web crawl, prune) live in
/gnosis:ingest — this skill is for point changes.
All write operations require GNOSIS_MCP_WRITABLE=true on the server
process. If the server refuses, it returns a structured error — relay
that to the user rather than swallowing it.
/gnosis:manage add path/to/doc.md # Index a single document
/gnosis:manage delete path/to/doc.md # Remove one document
/gnosis:manage update path/to/doc.md --tags api,auth # Patch metadata
/gnosis:manage related path/to/doc.md # List link neighbours
/gnosis:manage stats # Corpus inventory + health
Bulk actions — see /gnosis:ingest:
ingest ./docs --prune — re-ingest + drop chunks for missing filesingest ./docs --wipe — nuclear reset + reindexingest git <repo> — commit historyingest crawl <url> — web crawladd — index a single document$path from disk.title: if present, else first H1category:, else first path segmentaudience:, default "all"tags: as a listmcp__gnosis__upsert_doc:
path: "<relative path from repo root>"
content: "<full file content>"
title: "<extracted>"
category: "<extracted>"
audience: "<extracted>"
tags: [...]
mcp__gnosis__get_doc(path=<path>) — expect the
document back. If it returns empty, writes aren't enabled on the
server or there was a silent failure.{path, title, chunks_written} — chunk count should
roughly be len(content) / 2000 at the v0.11 default chunk size.upsert_doc refuses content larger than GNOSIS_MCP_MAX_DOC_BYTES
(default 50 MB). For bigger files: split them or bump the cap.
If you have vectors from your own pipeline, pass them:
embeddings: [[0.12, 0.04, ...], [0.08, ...]]
One vector per chunk after the server-side chunker runs. The server won't re-embed; it'll trust what you pass.
delete — remove one documentmcp__gnosis__delete_doc(path="<relative path>")
Returns {chunks_deleted, links_deleted}. Verify by re-fetching:
mcp__gnosis__get_doc(path="<relative path>") # → empty
If you're reorganising the knowledge folder and want to drop every
chunk whose source file is gone: don't loop delete_doc — use
/gnosis:ingest prune <root> which walks the corpus once.
update — patch metadata (no content change)For title / category / audience / tags changes without re-chunking.
Parse flags from $ARGUMENTS:
| Flag | Maps to |
|---|---|
--title "New Title" | title |
--category guides | category |
--audience internal | audience |
--tags api,auth,billing | tags (comma-split → list) |
Call mcp__gnosis__update_metadata with only the fields the user
specified. Omitted fields are untouched.
Report the patched fields. If the document doesn't exist, the server returns an error — relay it.
related — explore the link graphmcp__gnosis__get_related(path="<relative path>", depth=2, include_titles=True)
Returns neighbours up to 2 hops away with their titles and relation types. Summary format:
Direct (1-hop):
guides/auth-guide.md [related]
architecture/auth.md [content_link]
2-hop:
runbooks/stripe-auth.md [content_link → content_link]
git-history/src/auth.py.md [git_ref]
Filter by relation type if the user wants signal vs noise:
relation_type="content_link" — only explicit markdown linksrelation_type="related" — only relates_to: frontmatterrelation_type="git_co_change" — only files touched in the same
commitsstats — corpus inventoryRead-only, doesn't need WRITABLE. Good "am I running the server I
think I am?" check.
mcp__gnosis__get_graph_stats()
Report:
docs 412
chunks 1,247
orphans 18 # nodes with zero edges
hubs:
README.md 37 links
docs/tools.md 24 links
docs/config.md 19 links
edges by type:
related 612
content_link 410
git_co_change 225
Useful for spotting a too-flat graph (many orphans) or a single megahub (star-shaped corpus).
/gnosis:ingest — bulk operations (first ingest, re-ingest, prune,
git history, web crawl)/gnosis:search — queries that return docs/gnosis:status — server connectivity + schema healthGNOSIS_MCP_WRITABLE=truetitle, category,
audience, tags, relates_to, relations)GNOSIS_MCP_WEBHOOK_URL is set
(SSRF-guarded — private IPs refused unless _WEBHOOK_ALLOW_PRIVATE=true)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (nicholasglazer/gnosis-mcp) — no native marketplace selected
npx claudepluginhub p/nicholasglazer-gnosis8 skills in this plugin
/contextLoad usage-weighted context from Gnosis MCP. Surfaces most-accessed docs for session startup or topic primers./evalMeasure retrieval quality — Hit@5, MRR, Precision@5 on a fixed fixture set, or Hit@5/MRR/nDCG@10 on your own corpus via the real-corpus benchmark. Regression tracking against a saved baseline, plain-English interpretation, and tuning pointers when numbers look off. Use after every ingest or config change./ingestPopulate the gnosis-mcp knowledge base — from local files, git history, or a crawled website. Handles the full matrix of flags (--force, --prune, --wipe, --embed, --include-crawled) in one place./searchSearch the gnosis-mcp knowledge base. Keyword (default), hybrid semantic+keyword (--semantic), or git commit history (--git). Includes sanity checks and a reranker warning./setupFirst-time setup wizard for Gnosis MCP. Install, init the database, ingest a docs folder, wire your editor — in that order./statusVerify gnosis-mcp server connectivity, schema integrity, and corpus health. Use when MCP calls fail, return empty, or return unexpected data.Other plugins' skills for the same job