Human Review: edit and comment on agent files in your browser
petergyang/human-review
Your AI assistant opens the page or document it wrote in your browser. You fix words yourself, comment on any sentence, picture or section, then press Send. The assistant gets all your notes at once, updates the file and the page reloads for another round.
Pack description by its author: “Your AI assistant opens the page or document it wrote in your browser. You fix words yourself, comment on any sentence, picture or section, then press Send. The assistant gets all your notes at once, updates the file and the page reloads for another round.”
Software engineeringCommands you run when neededGives your assistant new abilities with scripts
1. Changes your files
Skills that write or edit files: human-review.
github.com/petergyang/human-review/blob/f9a5581/2. Runs code on your machine
Each review: The assistant runs npx -y human-review, which downloads the package from npm if needed and starts a small local web server on 127.0.0.1 with a per-run token. It opens your default browser. The server stops itself after 45 minutes idle. While you edit an HTML file: Writes your edits into the file on disk; Revert all restores the assistant's version.
github.com/petergyang/human-review/blob/f9a5581/3. Sends data
The skill tells your assistant to run npx -y human-review on every review, which fetches the newest npm version without asking. Install it globally or pin a version if you want a fixed copy. The local server answers only on 127.0.0.1 and its API needs a per-run token.
github.com/petergyang/human-review/blob/f9a5581/Checked against the pack's files at commit f9a5581, on Nov 19, 2026. Tap a verdict to see its source.How we checkedReport an error
Good for you if
- Your assistant writes plans, reports, newsletter drafts, landing pages or slide decks as HTML or Markdown files
- You review a site running on your own computer and want to point at the exact spot to change
- You are tired of typing long chat messages like "in the third paragraph, change X to Y"
Probably not for you if
- Your work is not an HTML file, a Markdown file or a page on localhost: it opens only those
- You want to review a live public website: addresses other than localhost are refused
What you'll notice
- A browser tab with your file, where you can type over text, make lists and add links
- Comments pinned to the exact words, image or section you clicked
- Drag to move or resize images and to move whole blocks; deletes and moves can be undone
- One Send button: the assistant applies everything and the page reloads
What you need
- Claude Code, Codex, Cursor
- Free, MIT license
- Ask your assistant to install it from the GitHub page, or run one npx command
- Needs Node.js 20 or later; everything runs on your computer
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Slash command
- A command you type in the assistant's chat, starting with /.
| Repository | petergyang/human-review · website |
|---|---|
| GitHub stars | 1,461 |
| Skills | 1 · 1 with scripts |
| Category | Software engineering |
| License | MIT |
| Last updated | Sep 17, 2026 · card checked Nov 19, 2026 at commit f9a5581 |
| Install counts | petergyang/human-review on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
petergyang/human-review popularity over time
What Human Review does
- The assistant writes or updates an HTML or Markdown file, or starts the local page, then opens it for you in the browser
- It waits until you press Send, then reads one batch: your comments, your direct edits, deletions, moved blocks and pasted images
- Your direct edits are kept word for word: the assistant is told never to undo them and to apply them to the source file too
- Markdown files are shown as a rendered page; the tool never writes to them, the assistant applies the changes to the Markdown text
- The loop repeats until you say you are done; closing the tab or End review stops the wait
From the pack's SKILL.md files, summarised by AgentGid.
The skill, explained
human-review
Opens a file or local page for you to edit and comment on, then applies your batch of feedback
You give
- An HTML or Markdown file, or a page on localhost
- Your edits and comments in the browser, then Send
You get
- The file updated with every comment and edit, page by page
- The page reloads for the next round
- A note if you left feedback unsent, which you can restore or discard next time
See it in action
The skill defines what its answer looks like. Its own example:
{
"status": "feedback",
"pages": [
{
"file": "/abs/path/to/page.html",
"edits_saved": true,
"comments": [ { "id": "c_1", "kind": "selection", "quote": "the exact text they selected",
"feedback": "what they want changed" } ],
"edits": [ { "label": "Problem body", "kind": "edited",
"before": "the original wording", "after": "their exact new wording" } ]
}
],
"overall_note": "feedback not tied to any one page"
}
From src/SKILL.md.
When to reach for it
| You want | Use |
|---|---|
| Review a plan or report the assistant wrote as Markdown | /human-review plan.md |
| Fix copy on a site running on your computer | /human-review http://localhost:3000/page |
| Check whether feedback is already waiting | npx -y human-review status <file> |
Skills in petergyang/human-review
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
human-review/human-review <file or localhost URL> |
Opens a file or local page for you to edit and comment on, then applies your batch of feedback | Yes | 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… has scriptsnpx skills add petergyang/human-review --skill human-review |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- HTML files are saved as you type in the browser, so closing the tab does not undo your edits. Discard on the next open or Revert all puts the file back.
- Setup writes files for your assistant: with --global into ~/.claude, ~/.codex and ~/.agents skill folders; without it, into the project's .claude folder and a block in AGENTS.md.
- Comments and session data are kept in ~/.human-review on your computer, in a folder only you can read.
- Pasted images are saved in an assets folder next to the reviewed file.
- In Codex, Cursor and other agents the wait only works while the assistant's turn is active; if the turn ended, send it a message to pick up your feedback.
Before you start
Works in
- Claude Code: skills folder
- Codex: skills folder or AGENTS.md
- Any agent with ~/.agents/skills: skills folder
- Cursor and others: skill text, foreground poll
You will need
- Node.js 20 or later: The review server and CLI are Node scripts
- A desktop browser: The review opens in your default browser
Steps only you can do
- Make edits and comments in the browser tab, then click Send (or End review to stop) (The browser tab the tool opens on 127.0.0.1)
Then: The agent receives the batch, applies it and waits for the next round - In Codex, Cursor and other agents, send a message if the agent's turn ended before you clicked Send (The agent chat)
Then: The agent runs status and poll to pick up the waiting batch
Mistakes to avoid
Regenerate an HTML file from the agent's earlier copy after a review
Re-read the file and make targeted changes; the user's edits are already on disk
Plain HTML autosaves as the user types, so the agent's copy is staleStart the poll in the background in Codex or Cursor and end the turn
Run the poll in the foreground inside the active turn; only Claude Code wakes the agent from a background command
Nothing wakes a detached command in other agents, so the feedback is missedRun --ack before copying images pasted on a localhost page
Copy the staged_assets files into the app first, then ack
The ack deletes the staged filesRecreate a localhost route as a separate HTML file to review it
Open the real localhost URL and apply edits to the matching source (MDX, TSX, template)
The tool reviews the running route; writing the rendered response back breaks the app
Which one to pick
| If you need | Pick |
|---|---|
| You want to edit and comment on HTML or Markdown files and localhost pages in the browser and send one batch to the agent | This pack |
| You want to approve or deny agent plans and review code changes and pull requests in the browser | backnotprop/plannotator |
Works well with
- claude-code: The skill tells Claude Code to wait in the background and wake when you press Send
- openai-codex: Setup writes the skill and an AGENTS.md block for Codex
- mermaid: Mermaid diagrams in Markdown files render in the review page
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | Yes | MIT: keep the license notice |
| Passing the files on | Yes | MIT: keep the copyright and permission notice in copies |
| Work for clients | Yes | MIT allows use in work for others |
What leaves your machine
- Request for the Mermaid diagram library (no document content) → cdn.jsdelivr.net, Only when a Markdown page under review has a Mermaid diagram. Opt out: Work offline or avoid Mermaid blocks; the diagram then stays a code block
- Package download → The npm registry, When npx -y human-review runs and the package is not installed. Opt out: Install the package globally once
Install Human Review
Official commands from the repository
Paste this into your assistant: Install the /human-review skill globally from https://github.com/petergyang/human-review
npx -y human-review setup --global
Writes SKILL.md into ~/.claude/skills, ~/.codex/skills and ~/.agents/skills.
Remove: delete the human-review folder from those skills folders
npx -y human-review setup
Writes .claude/skills/human-review/SKILL.md and a marked block in the project's AGENTS.md for Codex.
Remove: delete .claude/skills/human-review and the block between the human-review markers in AGENTS.md
Or with the open-source skills CLI: npx skills add petergyang/human-review. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit f9a5581, Nov 19, 2026
| When | What happens |
|---|---|
| Each review | The assistant runs npx -y human-review, which downloads the package from npm if needed and starts a small local web server on 127.0.0.1 with a per-run token. It opens your default browser. The server stops itself after 45 minutes idle. |
| While you edit an HTML file | Writes your edits into the file on disk; Revert all restores the assistant's version. |
| Pasting an image | Saves it to assets/ next to the reviewed file, or for localhost pages to ~/.human-review/pasted until the assistant copies it. |
| Always | Keeps comments, unsent feedback and the server record in ~/.human-review (HUMAN_REVIEW_STATE_DIR changes it). |
| Localhost review | Fetches the page from your own local server only; other hosts are refused. |
| Markdown with a diagram | Your browser loads the Mermaid library from cdn.jsdelivr.net; offline the diagram stays a code block. |
| setup | Writes SKILL.md into agent skill folders and, for a project, a block in AGENTS.md. |
Settings
HUMAN_REVIEW_STATE_DIR: Folder for comments and session state (default ~/.human-review)HUMAN_REVIEW_PORT: Fixed port for the local server (default: any free port)HUMAN_REVIEW_IDLE_MS: Idle time before the server stops (default 45 minutes)
Quick answers
- Is it free?
- Yes. MIT license, no account or API key.
- Does my document leave my computer?
- The review runs on a local server on your computer. The only outside request in the code is the Mermaid library your browser loads for Markdown diagrams; npx also downloads the package from npm.
- Can I review a live website?
- No. Only files and pages on localhost, 127.0.0.1 or [::1].
- What if I close the tab without sending?
- The assistant stops waiting. Unsent feedback is kept and you can restore or discard it next time.
- Can I undo edits saved into an HTML file?
- Yes: Revert all during the review, or Discard on the next open.
Checked by AgentGid on Nov 19, 2026 against commit f9a5581 of the pack's own files. agent.md for AI agents · Report a mistake
More software engineering skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Gets a set of working habits for building software. It interviews you about a plan before it builds, turns the talk into a spec and small tickets, builds them test-first and reviews the result. |
330K | +32.5K | 39 | ||
| 2 |
Follows one fixed way of working. Before it builds anything, it asks what you really want and writes a short design for you to approve. Then it writes a step-by-step plan, builds it with tests first, has the work checked and asks how you want to finish. |
324K | +18.8K | 15 | ||
| 3 |
Gets four rules: think before coding, keep it simple, change only what you asked for, and set a clear goal it can check. It asks before guessing and writes less extra code. The rules come from the README's reading of a public post by Andrej Karpathy; the files do not say he made or reviewed them. |
235K | +14K | 1 | ||
| 4 |
DietrichGebert/ponytail
Checked
Stops overbuilding. It does what you asked in the simplest way that works, reuses what your project already has, and ends every answer by telling you what it left out. |
197K | +27.3K | 6 | ||
| 5 |
This repo is mostly a big collection of AI apps and tutorials. Its agent_skills folder holds seven separate skills you install one at a time. They help your assistant explain why old code exists, check a change or a package list, or find your abandoned side projects. Others test a draft on simulated readers, untangle a voice ramble, or split a big job across several AI models. |
145K | +3,089 | 10 | ||
| 6 |
Works like a careful senior engineer. It writes down what to build before coding, splits the work into small steps, proves each step with a test and reviews the result before launch. Nine slash commands cover the stages, and 25 skills switch on when a task matches. |
120K | +11K | 26 |
No pack matches.