doc-reviewer

doc-reviewer is an agent for Claude Code from nicholasglazer/gnosis-mcp. It costs 32 tokens per session (481 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.

Part of the gnosis plugin — 8 skills, 5 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, 5 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 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 481 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.00032 $0.00481
Opus 5 $0.00016 $0.00241
Sonnet 5 $0.00006 $0.00096
Haiku 4.5 $0.00003 $0.00048

Measured 10d ago against content hash e120abd1c19d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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 · 63 lines

What it actually says

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
  • 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)
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. 10d 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 (29 stars, last pushed 20d ago), licensed MIT. It adds 32 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 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

file-analyzer

Reads a batch of source files and produces FileSummary objects (summary, exports, relationships, tags) for vault-anything's raw layer.

burakolgun/vault-anything · 31 tokens

page-writer

Writes a category of vault wiki pages as self-contained, Karpathy-style prose with wikilinks.

burakolgun/vault-anything · 23 tokens

flutter-reviewer

Flutter and Dart code reviewer. Reviews Flutter code for widget best practices, state management patterns, Dart idioms, performance pitfalls, accessibility, and clean architecture violations. Library-agnostic — works with any state management solution and tooling.

affaan-m/ECC · 50 tokens

vue-reviewer

Expert Vue.js code reviewer specializing in Composition API correctness, reactivity pitfalls, component architecture, template security, and Vue-specific performance. Use for any change touching .vue, .ts/.js files with Vue imports, or Vue ecosystem code (Pinia, Vue Router, Nuxt). MUST BE USED for Vue projects.

affaan-m/ECC · 68 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

php-reviewer

Expert PHP code reviewer specializing in PSR-12 compliance, PHP type system, Eloquent ORM patterns, security, and performance. Use for all PHP code changes. MUST BE USED for PHP projects.

affaan-m/ECC · 44 tokens