Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Open an HTML file, Markdown file, or localhost page in the browser so the user can edit text directly and leave comments on specific parts, then send all edits and comments back to you. Use after writing or updating something the user will read — specs, plans, reports, newsletter drafts, landing pages, slide decks, and locally running web pages.
.claude/skills/petergyang-human-review/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 178% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-13 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 336% | 0% |
| case-09 | ✓→✗ | ▼ Worse | 171% | 0% |
The user reviews your HTML, Markdown, or localhost page in a real browser: they fix small things by typing, select anything to comment on it, and send you the whole batch at once.
Markdown files open rendered. Their quotes and edits reference the rendered text, and the file itself is never touched — apply every change to the Markdown source, keeping its formatting syntax.
sh npx -y human-review path/to/file.html
For a page served by a local development server, open the real route instead of recreating it as a separate HTML file:
sh npx -y human-review http://localhost:3000/wiki
browser, then prints their batch and exits:
sh npx -y human-review poll path/to/file.html
The command exits only when the user clicks Send or closes the review. There is nothing to re-run, no interval to poll on, and no --timeout to add. It survives the local server restarting, and feedback is saved even if the poll dies, so nothing is ever lost. How you wait depends on your harness:
run_in_background: true and end your turn.Claude Code wakes you with the output the moment the command exits.
inside your active turn, and stay on it until it prints feedback or closed. Do not detach it or start it as a background session: nothing wakes you when a detached command finishes. While the review is active:
resume the foreground poll in the same turn. Do not send a final response until the poll returns feedback or closed — a final response ends the turn and kills the wait.
--timeout a littleunder the cap and run bounded polls back to back in the same active turn until one returns feedback or closed.
Know the limit: this is reliable only while your turn stays active. A turn that has already ended is not woken when the user hits Send; the user has to message you, and you then run status and poll to pick the batch up. There is no integration that resumes an ended task when the poll exits.
If it prints {"status":"closed"}, the review is over: the user ended it, closed the tab, or never had one open (reason says which). Stop and do not start another poll. unsent counts feedback they left behind; if it is not zero, tell the user in one line that it is kept and they can restore or discard it next time. {"status":"superseded"} means a newer poll of yours owns the wait — stop this one silently. {"status":"timeout"} only appears after 12 hours; run status and start the wait again if the review is still open.
--ack clearsthe batch you just handled:
sh npx -y human-review poll path/to/file.html --ack
Repeat 3–4 until the user says they are done.
Not sure whether feedback is already waiting — say, at the start of a new turn with no poll running? This answers instantly without blocking:
shnpx -y human-review status path/to/file.html
It prints {"status": "feedback-waiting"} when a batch is ready for a poll, plus counts of unsent comments and edits still in the browser.
One batch covers every page the user visited, grouped by file or localhost URL.
json{ "status": "feedback", "pages": [ { "file": "/abs/path/to/page.html", "edits_saved": true, "comments": [ { "id": "c_1", "kind": "selection", "quote": "the exact text they selected", "anchor": { "prefix": "...", "quote": "...", "suffix": "..." }, "feedback": "what they want changed" } ], "edits": [ { "label": "Problem body", "kind": "edited", "before": "the original wording", "after": "their exact new wording", "after_html": "their exact new wording with <strong>formatting</strong>" } ] } ], "overall_note": "feedback not tied to any one page" }
edits are changes the user already made. after is their exact wording —carry it across verbatim and never revert it. If the HTML was generated from something else (MDX, Markdown, a template), apply after to the source too, or their fix disappears on the next build.
edits_saved: true means those edits are already in the file on disk.Plain HTML files autosave as the user types, so your copy of the file is stale. Re-read the file before touching it and make targeted changes only; never regenerate it from what you wrote earlier, or their work disappears. edits_saved: false (Markdown, localhost pages, self-rendering HTML) means the edits exist only in this batch — apply them to the source yourself.
kind: "deleted" means the user removed that whole block:delete it from the source too, without asking why.
truncated: true had its text cut at 200k characters; readthe block from the page itself rather than from after_html.
before_html/after_html are present, the user changed formatting, notjust words — bold, italic, underline, links. Use the HTML version to carry the formatting into the source, translated to its syntax (e.g. <strong> → ** in Markdown/MDX).
kind: "url" was edited directly in the review UI. Its fileand url fields name the localhost route, not a writable file. Find the matching project source (such as MDX, TSX, or a template), apply every edit and deletion there, then acknowledge so the route reloads. Never write the rendered HTTP response back into the app.
after_html contains <img src="assets/...">, the user pastedan image: the file already exists in an assets/ folder next to the reviewed file. Keep that relative path — in Markdown, reference it as . Never regenerate or inline the image.
staged_assets. Copy itslocal path into the app's appropriate asset folder, replace the temporary preview URL in after_html, and preserve the image at the user's insertion point. Never leave the temporary preview URL in source.
kind: "moved" means the user relocated that whole block.Reposition it in the source without rewriting its content: it now sits right after the block whose text starts with moved_after, and right before the block whose text starts with moved_before (both are clipped to 90 characters and may end in …). An empty moved_after means it is now the first block in its container.
quote. It is the rendered text the userselected, so in Markdown or templated HTML it may span formatting syntax or tags; anchor.prefix and anchor.suffix give the surrounding text to disambiguate.
kind: "element" points at a whole block, so quote is its label, not body text.staged_assets files before you ack: --ack deletes them.overall_note has an empty pages array.pages, not just the first.reloads, which happens on its own the moment you save the file.
Name the sections you author and the user's edit list uses your names instead of guessing from the DOM:
html<p data-block="Problem body">…</p> <div data-container="Metrics callout">…</div>
data-block names a region for the edit list. data-container also makes the block clickable as a comment target.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-07 | pass→pass | 17,230 | 9,923 | -42% | 1 | 1 | 0% | 1,938 | 2,878 | +49% | 0 | 0 | — |
case-01 | fail→fail | 7,808 | 16,128 | +107% | 1 | 1 | 0% | 491 | 2,517 | +413% | 0 | 0 | — |
case-02 | fail→fail | 10,395 | 16,481 | +59% | 1 | 1 | 0% | 735 | 2,545 | +246% | 0 | 0 | — |
case-03 | fail→fail | 16,166 | 15,898 | -2% | 1 | 1 | 0% | 240 | 2,363 | +885% | 0 | 0 | — |
case-04 | fail→pass | 11,350 | 8,439 | -26% | 1 | 1 | 0% | 947 | 2,629 | +178% | 0 | 0 | — |
case-05 | fail→fail | 15,340 | 10,327 | -33% | 1 | 1 | 0% | 1,619 | 3,050 | +88% | 0 | 0 | — |
case-06 | fail→fail | 9,366 | 7,296 | -22% | 1 | 1 | 0% | 690 | 2,379 | +245% | 0 | 0 | — |
case-08 | pass→pass | 10,724 | 7,989 | -26% | 1 | 1 | 0% | 926 | 2,555 | +176% | 0 | 0 | — |
case-09 | pass→fail | 10,567 | 7,724 | -27% | 1 | 1 | 0% | 922 | 2,497 | +171% | 0 | 0 | — |
case-10 | pass→pass | 12,664 | 7,764 | -39% | 1 | 1 | 0% | 1,330 | 2,493 | +87% | 0 | 0 | — |
case-11 | fail→fail | 17,116 | 6,972 | -59% | 1 | 1 | 0% | 1,774 | 2,367 | +33% | 0 | 0 | — |
case-12 | fail→pass | 22,395 | 7,849 | -65% | 1 | 1 | 0% | 2,770 | 2,454 | -11% | 0 | 0 | — |
case-13 | fail→pass | 14,844 | 7,356 | -50% | 1 | 1 | 0% | 1,552 | 2,440 | +57% | 0 | 0 | — |
case-14 | pass→pass | 16,276 | 9,784 | -40% | 1 | 1 | 0% | 1,819 | 2,915 | +60% | 0 | 0 | — |
case-15 | fail→fail | 15,198 | 7,741 | -49% | 1 | 1 | 0% | 1,658 | 2,432 | +47% | 0 | 0 | — |
case-16 | fail→fail | 19,002 | 7,647 | -60% | 1 | 1 | 0% | 1,895 | 2,419 | +28% | 0 | 0 | — |
case-17 | fail→fail | 30,093 | 7,562 | -75% | 1 | 1 | 0% | 4,151 | 2,480 | -40% | 0 | 0 | — |
case-18 | pass→fail | 19,451 | 12,700 | -35% | 1 | 1 | 0% | 2,600 | 3,462 | +33% | 0 | 0 | — |
case-19 | fail→pass | 10,124 | 11,839 | +17% | 1 | 1 | 0% | 747 | 3,256 | +336% | 0 | 0 | — |
case-20 | fail→fail | 13,653 | 15,676 | +15% | 1 | 1 | 0% | 758 | 2,295 | +203% | 0 | 0 | — |
case-21 | fail→fail | 11,341 | 18,984 | +67% | 1 | 1 | 0% | 887 | 2,835 | +220% | 0 | 0 | — |
case-22 | pass→pass | 19,469 | 28,684 | +47% | 1 | 1 | 0% | 2,665 | 6,907 | +159% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 17 counted toward the lift figure. The other 5 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +9 percentage points is the difference between those two pass rates over the 17 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/30/2026 | +9% |
Other measured skills in the registry, with their headline benchmark lift.