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 — 13 skills, 12 agents 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 13 skills, 12 agents.

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 1mo 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 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.

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. 1mo ago Changed · -1 lines ed9fadc2d44e
  2. 1mo 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 (37 stars, last pushed 1mo ago), 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

Other agents, from other repositories

security

OWASP + vulnerability + SAST review. Use for security audits, auth/crypto code review, and threat assessment. READ-ONLY — never writes code.

nguyenthienthanh/aura-frog · 34 tokens

api-analyzer

Analyze API endpoints, REST/GraphQL design, and client-server communication for over-fetching, missing pagination, or inefficient endpoint design. Use when user asks about API performance or runs /n1-optimizer:analyze.

hculap/better-code · 49 tokens

code-standards-enforcer

Use this agent to analyze code files against code quality standards after edits are made. This agent should be triggered proactively after code modifications when code-standards plugin is active. Context: The code-standards plugin is enabled and the user just finished writing a new TypeScript file. user: "I've added…

hculap/better-code · 286 tokens

database-analyzer

Analyze database queries, ORM usage, and data access patterns for N+1 queries, missing indexes, or inefficient JOINs. Use when user asks about database performance or runs /n1-optimizer:analyze.

hculap/better-code · 47 tokens

fastify-reviewer

Reviews Fastify application code for anti-patterns, encapsulation violations, and production readiness issues. Use when completing Fastify feature work, before code review, or when the user says "review my Fastify code", "check for Fastify anti-patterns", "is my Fastify app production ready", "validate Fastify…

RadOrigin-LLC/RAD-Claude-Skills · 72 tokens

astro-reviewer

Reviews Astro application code for anti-patterns, performance issues, security misconfigurations, and accessibility violations. Use when completing Astro feature work, before code review, or when the user says "review my Astro code", "check Astro performance", "audit my Astro site", "is my Astro app production ready"…

RadOrigin-LLC/RAD-Claude-Skills · 71 tokens