html-code-review

html-code-review is a skill for Claude Code from f-labs-io/agent-html-skills. It costs 108 tokens per session (2,012 once invoked), scanned A, original, MIT.

A tool for creating HTML explanations of code reviews, pull requests, refactors, and codebases, with rendered diffs and annotations.

In plain words
What is it for?
Use it to explain PRs and refactors, mark findings by severity, map refactor risks, compare before and after changes, and show how subsystems work.
Why use it?
It makes multi-file changes and their risks easier to understand than a plain diff, especially for reviewers unfamiliar with the code.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the html-skills plugin — 19 skills shipped together

Good fit Use it to explain PRs and refactors, mark findings by severity, map refactor risks, compare before and after changes, and show how subsystems work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add f-labs-io/agent-html-skills
Claude Code
/plugin install html-skills

Made for: Claude Code.

Or install html-skills, the plugin that ships this one along with the rest of its 19 skills.

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 html-code-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/f-labs-io/agent-html-skills/html-code-review/github.svg)](https://agentmods.dev/skills/f-labs-io/agent-html-skills/html-code-review)
Your own site
<a href="https://agentmods.dev/skills/f-labs-io/agent-html-skills/html-code-review"><img src="https://agentmods.dev/badge/skills/f-labs-io/agent-html-skills/html-code-review/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 html-code-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/f-labs-io/agent-html-skills/html-code-review"><img src="https://agentmods.dev/badge/skills/f-labs-io/agent-html-skills/html-code-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,012 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.00108 $0.02012
Opus 5.5 $0.00043 $0.00805
Sonnet 5.5 $0.00022 $0.00402
Haiku 4.5 $0.00011 $0.00201

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

Security

Grade A, and why

html-code-review 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/html-skills/skills/html-code-review/SKILL.md · 110 lines

How it starts

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

HTML Code Review & Understanding

The default GitHub diff view is fine for tiny PRs and useless for anything that touches multiple files, has subtle ordering, or involves a refactor. HTML lets you render the actual diff with margin annotations, severity tags, flowcharts of what changed, and risk maps showing which areas to look at hardest.

Pre-flight — run BEFORE writing the artifact

Invoke html-skills:html-skills-listen (Skill tool) first; it is idempotent. If it returns a URL, inject it verbatim as window.__CLAUDE_SUBMIT_URL__ in the HTML you are about to write, ?t= query string included (a local, single-session loopback handshake — not a credential). If it reported web/sandbox mode, leave that line out; submitToClaude then falls back to clipboard mode.

When to use this skill

  • "Review this PR / explain this change / write up this refactor"
  • "I just made a change to X — generate an explainer to attach to the PR"
  • "Help someone unfamiliar with X understand this code"
  • "Walk me through how Y works in this codebase"
  • "Map the risk of this refactor"
  • Before merging any PR that touches more than one subsystem, has subtle ordering effects, or that a non-author needs to understand

Output requirements

Render diffs as real HTML so reviewers can copy lines. Use a monospace font for code and a readable serif or sans for prose. Reviewers will open this on a phone during a commute, so the responsive collapse from the foundation block is load-bearing here.

Include a header with: PR title, author, branch, and a one-sentence summary. End with a "what to look at hardest" section that ranks the diff by reviewer attention required.

Core structure

  1. Header — PR identity, branch, summary, status pills
  2. TL;DR — 2–3 sentences a non-author can understand
  3. What changed, why — the narrative, not a file list
  4. Risk map — visual showing which files/areas are hot vs safe
  5. Annotated diffs — the actual code with margin notes
  6. Concept callouts — for the parts that benefit from explanation outside the diff
  7. Test coverage — what's tested, what isn't, why
  8. Reviewer checklist — what you specifically want eyes on

Read the full file on GitHub · 110 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 b13439aa228d
  2. 2mo ago Changed · +13 lines a67248b74582
  3. 2mo ago First seen · 96 lines · 108 tokens per session scan A 2dd77c32c5e0

Subscribe to this mod's changes

html-code-review is a skill published in the GitHub repository f-labs-io/agent-html-skills (68 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 2,012 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-08-30.

Related

html-code-review compared with skills from other repositories

html-code-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
html-code-reviewf-labs-io/agent-html-skillsSkill681mo agoMITA108Claude Code
autoreviewopenclaw/clawhubSkill9.5kyesterdayMITA17Claude Code, Codex
agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skillsSkill2.2k6d agoMITA115Claude Code, Codex
omh-code-reviewrlaope/oh-my-hermesSkill5.2kyesterdayMITA48Claude Code, Codex
revdiff-planumputun/revdiffSkill945yesterdayMITA84Claude Code
explore-unknownsdzhng/skillsSkill1.4k2d agoMITA162Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code