review-doc

review-doc is a skill for Claude Code, Codex from invertase/docs.page. It costs 103 tokens per session (2,621 once invoked), scanned A, original, Apache-2.0.

A documentation checker that reviews one docs.page page against writing rules, shows which checks pass or fail, and applies allowed fixes. It repeats the review until no failing checks remain, except for heading changes that could break page links.

In plain words
What is it for?
Use it to check and clean up docs.page pages, review the results table, apply unblocked findings, and leave link-sensitive heading changes for a publisher to approve.
Why use it?
It catches documentation problems and creates a reviewable diff without inventing pages or rewriting supported content formats. It also avoids automatically changing headings when doing so could alter their link anchors.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to check and clean up docs.page pages, review the results table, apply unblocked findings, and leave link-sensitive heading changes for a publisher to approve.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/invertase/docs.page/review-doc
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.

Any agent
npx skills add invertase/docs.page --skill review-doc
Clone the repo
git clone --depth 1 https://github.com/invertase/docs.page

Made for: Claude Code, Codex.

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-doc

README.md
[![agentmods](https://agentmods.dev/badge/skills/invertase/docs.page/review-doc/github.svg)](https://agentmods.dev/skills/invertase/docs.page/review-doc)
Your own site
<a href="https://agentmods.dev/skills/invertase/docs.page/review-doc"><img src="https://agentmods.dev/badge/skills/invertase/docs.page/review-doc/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-doc

Your own site · 80×15
<a href="https://agentmods.dev/skills/invertase/docs.page/review-doc"><img src="https://agentmods.dev/badge/skills/invertase/docs.page/review-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,621 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.00103 $0.02621
Opus 5.5 $0.00041 $0.01048
Sonnet 5.5 $0.00021 $0.00524
Haiku 4.5 $0.00010 $0.00262

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

Security

Grade A, and why

review-doc 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (evals/build_workers.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/review-doc/SKILL.md · 149 lines

How it starts

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

review-doc

The parent orchestrates. It does not scan unless the host cannot spawn subagents — then it runs one worker at a time. Each check in Checks is one worker.

Work one page at a time. checks/ and logs/ are relative to this skill; docs/ is relative to the project root (docs.json at the root). Publisher-facing usage is in README.md.

Gotchas

  • Do not invent pages, procedure steps, prerequisites, audience, or information architecture.
  • Do not convert between equivalent docs.page forms (<Info> ↔ GitHub alerts; ![alt](src) ↔ <Image>; <Property> ↔ a short markdown table; <Tabs> / <TabItem> naming).
  • Do not apply a fix that would make the page worse.
  • Do not auto-apply a held heading rewrite: an edit that changes a ## / ### / # line (any check, not only headings) to wording that slugifies to a different id. Slugify: lowercase, strip non-alphanumerics, spaces to hyphens (Set up iOS → set-up-ios; duplicates get -1, -2). Sentence case or a trailing period that keep the same id may apply. Leave the heading and decision: null; the publisher accepts it and renames the heading and the /page#slug links together.
  • If the live page already shows steps, callouts, tabs, cards, or images, re-fetch raw MDX — missing tags in converted HTML are not findings.

Loop

  1. Read logs/<page-slug>.json if it exists (docs/index.mdx → docs--index.mdx.json).
  2. Run checks. Merge findings. Write the log (pending decision: null is OK until they choose).
  3. Print the Results as a user-visible message. If failing > 0, list violations grouped under a heading per failing check. Do this after every run — including reruns under fix all, the stop run, and the cap run. The log is not a substitute. Do not skip, defer, or collapse runs into a final-only summary. Do not wait until failing == 0 or the loop ends.
  4. Default is fix all. Print this run first, then continue step 5. Do not wait for a mode choice. Review each only if they asked to review each, not apply, or decide one by one. If they already said fix all or auto-fix, same path as the default.
  5. Fix all: set every unmuted finding except a held heading rewrite to accepted, apply, and continue this loop (step 7). If the only leftover unmuted findings are held heading rewrites, stop the auto-loop — do not rerun. Review each: wait. Publisher marks accepted or rejected by id (tone-1). Reject mutes that instance. mute check <id> mutes every instance of that check in either mode. unmute <id> reopens that instance. unmute check <id> reopens that check. Mute does not revert edits already written; the publisher reverts the file.
  6. Apply only accepted edits. Do not auto-apply a held heading rewrite. An explicit accept <id> applies even when the slug changes. Do not edit completed runs. The only in-place update is decision / feedback while still null.
  7. If they ask again, or fix all is still in progress, and failing > 0 for reasons other than held heading rewrites, rerun failing checks and any check whose text sits in the accepted-edit delta. Do not rerun passing or muted on unchanged sentences. Then go to step 3 and print that run before applying or spawning another.
  8. Stop when failing == 0, or when the only remaining unmuted findings are held heading rewrites. Print the results; omit the violation list only when failing == 0. If they ask again, reprint that summary.
  9. Cap at 3 runs. If still failing for reasons other than held heading rewrites, stop, print the results and leftover failing checks.

Read the full file on GitHub · 149 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. today First seen · 149 lines · 103 tokens per session scan A cbf74ec1e3f7

Subscribe to this mod's changes

review-doc is a skill published in the GitHub repository invertase/docs.page (675 stars, last pushed yesterday), licensed Apache-2.0. It adds 103 tokens to every session and 2,621 once invoked, about $0.0004 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-10-17.