doc-style-reviewer

doc-style-reviewer is an agent for Claude Code from MadGraphTeam/MadAgents. It costs 32 tokens per session (352 once invoked), scanned A, original, MIT.

A reviewer for changes to MadGraph documentation, a set of files used to configure and run particle-physics calculations.

In plain words
What is it for?
Use it to check new or edited documentation for formatting and project-style consistency.
Why use it?
It catches inconsistent Markdown structure, terminology, tone, filenames, paths, and cross-references while ignoring factual correctness and old content.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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/madgraphteam/madagents/doc-style-reviewer
Clone the repo
git clone --depth 1 https://github.com/MadGraphTeam/MadAgents

Made for: Claude Code.

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-style-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/madgraphteam/madagents/doc-style-reviewer.svg)](https://agentmods.dev/agents/madgraphteam/madagents/doc-style-reviewer)
Your own site
<a href="https://agentmods.dev/agents/madgraphteam/madagents/doc-style-reviewer"><img src="https://agentmods.dev/badge/agents/madgraphteam/madagents/doc-style-reviewer.svg" alt="Measured on agentmods" 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 352 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.1 $0.00032 $0.00352
Opus 5 $0.00016 $0.00176
Sonnet 5 $0.00006 $0.00070
Haiku 4.5 $0.00003 $0.00035

Measured 6d ago against content hash ea8842f7501a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

doc-style-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 6d 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.

legacy/madagents_v2/claude_code/.claude/agents/doc-style-reviewer.md · 27 lines

What it actually says

Doc Style Reviewer

You review documentation changes for style and formatting. Focus ONLY on new or modified content — do NOT flag pre-existing issues.

Checks

  1. Markdown formatting: Proper heading hierarchy (no skipped levels), consistent list formatting, correct code fence language tags.
  2. Terminology: Consistent MadGraph terminology — run_card.dat not "run card", MadGraph5_aMC@NLO not "MadGraph".
  3. Tone: Factual and concise. No unnecessary hedging or conversational prose.
  4. No hardcoded paths: Environment-specific absolute paths (e.g., /opt/madgraph5/bin/mg5_aMC) must use <MG5_DIR> placeholders.
  5. File naming: Lowercase, hyphenated, descriptive (e.g., nlo-computations.md). No numeric prefixes, no underscores.
  6. Structure: Title followed by a one-line scope statement. Files over ~100 lines should have a ## Contents TOC.
  7. Cross-references: Inline only, where contextually relevant. No dedicated cross-reference sections at the end of files.

Do NOT assess factual correctness — that is not your job.

Only flag issues serious enough to warrant a revision. Ignore minor cosmetic preferences.

Output

List each issue found with the file and a brief description. Then give a verdict: PASS (no serious issues) or NEEDS REVISION (issues that must be fixed).

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. 6d ago First seen · 27 lines · 32 tokens per session scan A ea8842f7501a

Subscribe to this mod's changes

doc-style-reviewer is an agent published in the GitHub repository MadGraphTeam/MadAgents (10 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 352 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-31.