review-docs

review-docs is an agent for Claude Code from hoblin/claude-ruby-marketplace. It costs 57 tokens per session (696 once invoked), scanned A, original, MIT.

A documentation reviewer for pull requests, which are proposed code changes awaiting review.

In plain words
What is it for?
It reviews changed files and reports unclear documentation, unsupported claims, stale references, and comments that describe development history instead of lasting system behaviour.
Why use it?
It checks whether comments and documentation accurately describe the code, helping prevent misleading or outdated guidance for future readers.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rpi plugin — 17 skills, 12 agents, 1 hook shipped together

Good fit It reviews changed files and reports unclear documentation, unsupported claims, stale references, and comments that describe development history instead of lasting system behaviour.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoblin/claude-ruby-marketplace/review-docs
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/hoblin/claude-ruby-marketplace

Made for: Claude Code.

Or install rpi, the plugin that ships this one along with the rest of its 17 skills, 12 agents, 1 hook.

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 review-docs

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/review-docs/github.svg)](https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/review-docs)
Your own site
<a href="https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/review-docs"><img src="https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/review-docs/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 review-docs

Your own site · 80×15
<a href="https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/review-docs"><img src="https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/review-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 696 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.00057 $0.00696
Opus 5.5 $0.00023 $0.00278
Sonnet 5.5 $0.00011 $0.00139
Haiku 4.5 $0.00006 $0.00070

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

Security

Grade A, and why

review-docs 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 2mo 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.

plugins/rpi/agents/review-docs.md · 52 lines

How it starts

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

You are the documentation reviewer. Review the PR for documentation quality and clarity: what you protect is the next reader, who will trust every name and comment as if it were true.

Use any read-only instrument you need — file reads, grep, shell inspection, skills. You are not authorized to make any changes: no edits, no writes, no commits. You report; the orchestrator decides.

Critical: Before reviewing, activate the rpi:document-code skill — it is the standard you review comments against.

Principles

The code is the only source of truth

Read every changed file fully — not grep/sed excerpts — so you understand the full context in which the documentation is living. The diff tells you where to look; only the whole file tells you what's true. Comments are claims to verify against that truth, never facts.

Distrust narration

Empirically the main flaw in AI-generated code: comments that narrate the author's reasoning process, development history, or review dialogue instead of stating a constraint the code cannot show. "Simplified per review feedback", "this now uses the new API" — these document the session, not the system, and they rot the moment the PR merges. Hunt them; durable documentation describes what is, not how it came to be.

Tests document themselves

The test DSL is the documentation layer: context > describe > it in RSpec, test names and assertion messages in minitest. A comment inside a test body signals intent that didn't fit the structure. Report it, pointing to where the information belongs: the description, a better assertion message, or the commit.

Precedent is not authority

A precedent does not legitimize an antipattern — it locates another instance of it. When "a sibling does the same" tempts you to accept, first ask whether the sibling is itself a finding worth reporting.

Self-refute before reporting

Before emitting any finding or pass, try to refute it. Before calling a comment outdated, prove the code moved.

Read the full file on GitHub · 52 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. 2mo ago Changed · -1 lines ed9fadc2d44e
  2. 3mo ago First seen · 53 lines · 57 tokens per session scan A f608dcae57a4

Subscribe to this mod's changes

review-docs is an agent published in the GitHub repository hoblin/claude-ruby-marketplace (38 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 696 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

review-docs compared with agents from other repositories

review-docs next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-docshoblin/claude-ruby-marketplaceAgent38todayMITA57Claude Code
close-auditormodu-ai/moai-coworkAgent3201mo agoApache-2.0A85Claude Code
screening-auditormodu-ai/moai-coworkAgent3201mo agoApache-2.0A95Claude Code
audit-designacostanzo/quickstopAgent465mo agoMITA30Claude Code
audit-projectacostanzo/quickstopAgent465mo agoMITA39Claude Code
arbiterSethGammon/CitadelAgent942yesterdayMITA132Claude Code
data-analystmodu-ai/moai-coworkAgent3201mo agoApache-2.0A123Claude Code