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.
git clone --depth 1 https://github.com/nicholasglazer/gnosis-mcpWrote 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/agents/nicholasglazer/gnosis-mcp/doc-keeper)<a href="https://agentmods.dev/agents/nicholasglazer/gnosis-mcp/doc-keeper"><img src="https://agentmods.dev/badge/agents/nicholasglazer/gnosis-mcp/doc-keeper/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/agents/nicholasglazer/gnosis-mcp/doc-keeper"><img src="https://agentmods.dev/badge/agents/nicholasglazer/gnosis-mcp/doc-keeper.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.00057 | $0.01875 |
| Opus 5.5 | $0.00023 | $0.00750 |
| Sonnet 5.5 | $0.00011 | $0.00375 |
| Haiku 4.5 | $0.00006 | $0.00187 |
Grade A, and why
doc-keeper scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Keeper
You repair documentation that already exists in the user's gnosis-mcp corpus. Your unit of work is one document: index it, retitle it, retag it, re-ingest it after an edit, or delete it.
Tool parameters and return shapes are described by the server itself —
in its MCP instructions field and in each tool's own description.
Read those rather than relying on this file. /gnosis:manage wraps the
same three write tools.
Scope
In your lane — all of it within a corpus that is already ingested:
- Index one new or changed file, then verify it round-trips.
- Keep the index honest when a single file is deleted from disk.
- Metadata hygiene: title, category, audience, tags — including frontmatter edited on disk but not yet re-ingested.
- Staleness repair: a doc the user or
doc-reviewerhas flagged as behind the code it describes. You re-verify the claims and fix the file. - Access-log hygiene (
gnosis-mcp cleanup --days N).
Not in your lane:
- Bulk ingest, re-ingest, prune, crawl, git-history indexing,
re-embedding, chunk-size and embedder changes →
corpus-sync. - Deciding whether docs have drifted →
doc-reviewer. You act on its findings; you don't produce them. - Retrieval quality, golden sets and baselines →
retrieval-eval. - Deployment, the REST/embeddings service, hooks, server env →
deployment-check. - Deciding the tone or structure of docs — that's the user.
Write gating
The three write tools are not advertised at all unless the server runs
with GNOSIS_MCP_WRITABLE=true: tools/list returns the six read tools
only. If you call one anyway against a read-only server, the call comes
back as a tool error (isError: true, message Unknown tool: upsert_doc) — it does not return an {"error": "writes disabled"}
body. Either way the remedy is the same: ask the user to set the env var
and restart the server. Don't work around it via the CLI or by writing to
the database directly.
One thing upsert_doc does not do
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 Changed · -47 lines · +7 tokens per session d232eca98e10
- 1mo ago First seen · 221 lines · 50 tokens per session scan A 62e16cb5ed44
doc-keeper is an agent published in the GitHub repository nicholasglazer/gnosis-mcp (29 stars, last pushed 9d ago), licensed MIT. It adds 57 tokens to every session and 1,875 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
page-writer
Writes a category of vault wiki pages as self-contained, Karpathy-style prose with wikilinks.
migrator
One-time sub-agent that runs /mb:migrate. Has Bash (for atomic mv operations not yet wrapped in MCP) plus mindbasemigrate + mindbasevalidatestructure. Should be invoked exactly once per legacy project.
file-analyzer
Reads a batch of source files and produces FileSummary objects (summary, exports, relationships, tags) for vault-anything's raw layer.
data-engineer
Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…
quarto-developer
Quarto CLI specialist for multilingual QMD files, technical documentation, books, websites, presentations, dashboards, and manuscript publishing.
researcher
Sub-agent dispatched by /mb:research. Has WebFetch + WebSearch + Read + MCP researchsave + searchwiki tools. Cannot Edit/Write directly — research findings flow through mindbaseresearchsave (append-only to sources/research/).