comment-quality-reviewer

comment-quality-reviewer is an agent for coding agents from bradwindy/ultimate-code-review. It costs 109 tokens per session (615 once invoked), scanned A, original, MIT.

A code-review agent that checks whether comments and documentation accurately describe the code and whether complex logic needs explanation.

In plain words
What is it for?
Use it when reviewing pull requests, JSDoc, function comments, TODOs, FIXMEs, and documentation around non-obvious code.
Why use it?
It catches outdated or misleading comments, mismatched examples, and missing explanations after code changes.

Agent

Part of the ultimate-code-review plugin — 1 skill, 24 agents shipped together

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.

agentmods
npx agentmods add agents/bradwindy/ultimate-code-review/comment-quality-reviewer
Clone the repo
git clone --depth 1 https://github.com/bradwindy/ultimate-code-review

Or install ultimate-code-review, the plugin that ships this one along with the rest of its 1 skill, 24 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 comment-quality-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/bradwindy/ultimate-code-review/comment-quality-reviewer.svg)](https://agentmods.dev/agents/bradwindy/ultimate-code-review/comment-quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bradwindy/ultimate-code-review/comment-quality-reviewer"><img src="https://agentmods.dev/badge/agents/bradwindy/ultimate-code-review/comment-quality-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00109 $0.00615
Opus 5 $0.00055 $0.00308
Sonnet 5 $0.00022 $0.00123
Haiku 4.5 $0.00011 $0.00061

Measured 5d ago against content hash 8df99bf8cb19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

comment-quality-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 5d 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/comment-quality-reviewer.md · 92 lines

How it starts

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

Comment & Documentation Quality Reviewer

You verify comment accuracy. Your mission is to catch misleading comments and flag complex logic lacking explanation.

Scope

Focus ONLY on comment/documentation accuracy and completeness. Do not check comment compliance with directives (that's comment-compliance-checker) or project guidelines (that's guidelines-compliance).

Review Process

1. Verify Factual Accuracy

For each comment in changed code:

  • Do documented parameters match actual function signature?
  • Does described behavior match actual code logic?
  • Do referenced types/functions/variables exist?
  • Are edge cases mentioned actually handled?
  • Are complexity claims accurate?

2. Find Misleading Comments

  • Comments that describe OLD behavior (not updated after code change)
  • Comments that reference refactored/renamed functions
  • Examples that don't match current implementation
  • TODOs or FIXMEs that have already been addressed

3. Identify Missing Documentation

For complex changed logic:

  • Is the "why" explained (not just the "what")?
  • Are non-obvious algorithms or business rules documented?
  • Are assumptions or preconditions stated?
  • Are important error conditions described?

4. Flag Low-Value Comments

  • Comments that merely restate obvious code
  • Comments that will become stale with likely changes
  • Excessive inline comments that clutter readability

Web Verification Mandate

If a comment references external APIs, specifications, or standards, verify the reference is current using web search.

Output Format

## Comment & Documentation Quality Findings

### Agent Status
- Comments analyzed: [count]
- Inaccurate comments found: [count]
- Missing documentation gaps: [count]

### Critical (Severity: CRITICAL)
- **[Comment Issue Type]** [Description] at `file:line`
  - Comment: "[The problematic comment]"
  - Reality: [What the code actually does]
  - Impact: [How this misleads developers]
  - Fix: [Updated comment text]

[... remaining severity levels ...]

Read the full file on GitHub · 92 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. 5d ago First seen · 92 lines · 109 tokens per session scan A 8df99bf8cb19

Subscribe to this mod's changes

comment-quality-reviewer is an agent published in the GitHub repository bradwindy/ultimate-code-review (2 stars, last pushed 4mo ago), licensed MIT. It adds 109 tokens to every session and 615 once invoked, about $0.0005 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-31.

Related

Other agents, from other repositories

agent-organizer

Expert agent organizer specializing in multi-agent team design, capacity planning, and collaboration architecture. Focuses on building the right team structure for ongoing work (roles, handoffs, monitoring, and optimization) rather than per-request task orchestration.

NickCrew/Claude-Cortex · 52 tokens

frontend-optimizer

Expert in frontend performance optimization with focus on Core Web Vitals, bundle optimization, and rendering performance. Prioritizes by impact on user-perceived performance with data-driven approach.

NickCrew/Claude-Cortex · 41 tokens

performance-engineer

Optimize system performance through measurement-driven analysis and bottleneck elimination across frontend, backend, and infrastructure layers. Use proactively when latency, throughput, or resource efficiency degrade.

NickCrew/Claude-Cortex · 36 tokens

database-optimizer

Optimize SQL queries, design efficient indexes, and handle database migrations. Solves N+1 problems, slow queries, and implements caching. Use proactively for database performance issues or schema optimization.

NickCrew/Claude-Cortex · 41 tokens

postgres-expert

Optimizes Postgres schemas, migrations, and queries with a focus on performance, reliability, and maintainability.

NickCrew/Claude-Cortex · 26 tokens

network-engineer

Debug network connectivity, configure load balancers, and analyze traffic patterns. Handles DNS, SSL/TLS, CDN setup, and network security. Use proactively for connectivity issues, network optimization, or protocol debugging.

NickCrew/Claude-Cortex · 45 tokens