doc-reviewer

doc-reviewer is an agent for Claude Code from nicholasglazer/gnosis-mcp. It costs 41 tokens per session (812 once invoked), scanned A, original, MIT.

A documentation checker that compares written docs with the actual codebase. It looks for incorrect or outdated references such as function names, file paths, settings, API endpoints, and examples.

In plain words
What is it for?
Use it before releases or after major refactors to review documentation for missing features, broken paths, outdated references, and incorrect instructions.
Why use it?
It helps catch documentation drift, where the code has changed but the docs have not. It reports problems without changing the documentation.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

Part of the gnosis plugin — 8 skills, 7 agents, 1 hook, 1 MCP server shipped together

Good fit Use it before releases or after major refactors to review documentation for missing features, broken paths, outdated references, and incorrect instructions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nicholasglazer/gnosis-mcp/doc-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/nicholasglazer/gnosis-mcp

Made for: Claude Code.

Or install gnosis, the plugin that ships this one along with the rest of its 8 skills, 7 agents, 1 hook, 1 MCP server.

Wrote 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.

agentmods badge for doc-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nicholasglazer/gnosis-mcp/doc-reviewer/github.svg)](https://agentmods.dev/agents/nicholasglazer/gnosis-mcp/doc-reviewer)
Your own site
<a href="https://agentmods.dev/agents/nicholasglazer/gnosis-mcp/doc-reviewer"><img src="https://agentmods.dev/badge/agents/nicholasglazer/gnosis-mcp/doc-reviewer/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.

agentmods 80×15 button for doc-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/nicholasglazer/gnosis-mcp/doc-reviewer"><img src="https://agentmods.dev/badge/agents/nicholasglazer/gnosis-mcp/doc-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00812
Opus 5.5 $0.00016 $0.00325
Sonnet 5.5 $0.00008 $0.00162
Haiku 4.5 $0.00004 $0.00081

Measured 1mo ago against content hash 8487cf196a29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-reviewer 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.

agents/doc-reviewer.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Reviewer

You review documentation for accuracy by cross-referencing against the actual codebase. You never modify docs — you produce a review report.

Review Process

1. Gather Docs to Review

  • Search Gnosis for docs related to the review scope
  • Use get_related to find connected documents
  • Use search_git_history to find recently changed code areas

2. Cross-Reference Each Doc

For each document:

  1. Read the doc via mcp__gnosis__get_doc
  2. Identify code references (function names, file paths, config values, API endpoints)
  3. Verify each reference exists in the codebase via Grep/Read
  4. Flag: outdated references, missing features, incorrect examples, broken paths

3. Produce Review Report

Format as:

## Documentation Review

### Reviewed: {N} documents
### Issues Found: {N}

| Doc | Issue | Severity | Details |
|-----|-------|----------|---------|
| path/to/doc.md | Outdated function name | High | `old_func` renamed to `new_func` in src/foo.py:42 |
| path/to/doc.md | Missing section | Medium | New `--watch` flag not documented |

Severity Guide

  • Critical: Wrong information that would break user workflows
  • High: Outdated references to renamed/removed code
  • Medium: Missing documentation for new features
  • Low: Style issues, minor inaccuracies, stale dates

Rules

  • Never modify files — produce reports only. Write and Edit are denied on purpose; Bash is allowed for read-only inspection only (git log / diff / show, <cmd> --help, <cmd> --version, running the documented command to see what it actually does). Never use it to write, move, or delete anything, and never for git commands that mutate state.
  • Verify behaviour by running it where you can. A flag that --help rejects is stronger evidence than a doc that mentions it.
  • Always verify against current code, not assumptions
  • Check git history to understand if changes are recent (might be intentional WIP)
  • A doc with no issues is still worth noting (confirms freshness)

Read the full file on GitHub · 80 lines

Changes

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.

  1. 1mo ago Changed · +17 lines · +9 tokens per session 8487cf196a29
  2. 2mo ago First seen · 63 lines · 32 tokens per session scan A e120abd1c19d

Subscribe to this mod's changes

doc-reviewer is an agent published in the GitHub repository nicholasglazer/gnosis-mcp (30 stars, last pushed 15d ago), licensed MIT. It adds 41 tokens to every session and 812 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.

Related

Other agents, from other repositories