webrev

webrev is a skill for Claude Code from umputun/agterm. It costs 142 tokens per session (1,975 once invoked), scanned A, original, MIT.

A rendered-document review tool for reading plans, Markdown, text files, pull-request descriptions, issue comments, and commit messages in a browser-like overlay. Review notes are returned as annotations tied to the document or its lines.

In plain words
What is it for?
Use it to review documents and drafts visually, add notes to specific lines or the whole file, and hand the annotations back to the coding agent.
Why use it?
It makes prose and formatting easier to inspect than raw terminal text and preserves review comments in a structured form.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to review documents and drafts visually, add notes to specific lines or the whole file, and hand the annotations back to the coding agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/umputun/agterm/annotate-document
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 umputun/agterm --skill annotate-document
Clone the repo
git clone --depth 1 https://github.com/umputun/agterm

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 webrev

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/agterm/annotate-document/github.svg)](https://agentmods.dev/skills/umputun/agterm/annotate-document)
Your own site
<a href="https://agentmods.dev/skills/umputun/agterm/annotate-document"><img src="https://agentmods.dev/badge/skills/umputun/agterm/annotate-document/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 webrev

Your own site · 80×15
<a href="https://agentmods.dev/skills/umputun/agterm/annotate-document"><img src="https://agentmods.dev/badge/skills/umputun/agterm/annotate-document.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,975 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.00142 $0.01975
Opus 5.5 $0.00057 $0.00790
Sonnet 5.5 $0.00028 $0.00395
Haiku 4.5 $0.00014 $0.00198

Measured 3d ago against content hash 7ff8a462a17d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webrev 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 3d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (assets/highlight-11.11.1.min.js, assets/markdown-it-14.1.0.min.js, scripts/webrev.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.

cookbook/annotate-document/SKILL.md · 124 lines

How it starts

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

webrev

Requires agterm (AGTERM_SESSION_ID set).

Launch

Create a backup directory first, then run it as a foreground Bash call with timeout: 600000. A background task lets Claude Code's status hooks overwrite the blinking blocked status the page sets. A review that outlasts the cap is recovered from the backup file:

mktemp -d /tmp/webrev-XXXXXX
"${CLAUDE_SKILL_DIR}/scripts/webrev.py" review <file> --output <that dir>/result

The backup path must not exist beforehand: a missing file means no outcome was recorded, while an empty one means a submit with no notes.

The page opens as a floating panel over this session and the script waits for it, at --size N percent (default 95) for documents, plans and anything long. Pass --fit instead for a short draft such as a commit message, a comment or a short PR body: the panel opens at a size estimated from the text. A plain-text draft gets 80 columns; markdown gets its longest line within 60..100 columns, and the height follows the wrapped rows. agterm limits each side to 80% of the session, and anything taller, a wide table or an opened note scrolls. The estimate is for agterm's HTML page zoom of 1.0; agterm reports the zoom only once a page is open, so at any other zoom the panel resizes once right after it opens, to the estimate times the zoom. A zoom changed while the page is up does not resize it. --pane left|right puts the page over one split pane, always at full size, so neither --size nor --fit applies. If --fit fails because the session is presented from another Mac (--width/--height are not supported), run the review again without it.

WEBREV_STYLE=terminal in the environment switches the page to a flat terminal-like look: body text at one size, square chrome, a status bar at the bottom. Unset keeps the default look; any other value is an error.

When the file is a temp file holding generated content, pass --title "<what it is>", for example --title "PR description: add retries": the header shows it in place of the temp file name. Annotation records keep the real file path.

Read the full file on GitHub · 124 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 124 lines · 142 tokens per session scan A 7ff8a462a17d

Subscribe to this mod's changes

webrev is a skill published in the GitHub repository umputun/agterm (709 stars, last pushed today), licensed MIT. It adds 142 tokens to every session and 1,975 once invoked, about $0.0006 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-25.

Related

Other skills, from other repositories