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 (1,905 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

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.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.svg" alt="Measured on agentmods" 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 1,905 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.00108 $0.01905
Opus 5 $0.00054 $0.00953
Sonnet 5 $0.00022 $0.00381
Haiku 4.5 $0.00011 $0.00191

Measured 2d ago against content hash a67248b74582, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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 · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 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 · 109 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. 2d ago Changed · +13 lines a67248b74582
  2. 6d 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 (55 stars, last pushed 3d ago), licensed MIT. It adds 108 tokens to every session and 1,905 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens