Human Review
github.com/petergyang/human-review- Category
- Developer Tools
- Rank
- No. 1088Tools index
Previous survey · No. 1079 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Productivity & Collaboration
- Interfaces
- Agent Skill / Plugin
- Builder
- petergyang
- GitHub
- 1.5k stars
- Latest release
- v0.8.2
- Date
About
A visual review tool for HTML and Markdown files that lets you edit text directly and leave comments the way you would in a Google Doc, then send all the feedback to your AI agent in one batch. It targets the friction of describing edits in chat — where you must spell out each change and then verify the agent understood every instruction — and runs inside your existing AI harness.
What it does
A command-line tool and agent skill that opens a page your coding agent wrote, or a page from your local dev server, in a browser editor. You type fixes straight into the text, drag blocks around, resize images and pin notes to selected phrases. Pressing Send hands the agent one structured package listing every edit (old wording, new wording, formatting) and every note with its surrounding text. The agent waits on a command that returns when you send, applies the changes, and the page reloads for another pass. A small local server and one JSON state file do all of it, with no account or cloud service.
Why it's ranked here
It turns the vague chat loop of correcting agent output into a precise handoff: the agent receives your exact replacement wording rather than your description of it. The engineering behind that promise is real. MIT licensed, a single runtime dependency (a Markdown renderer), a local server that refuses API calls lacking a per-run secret and rejects foreign host headers, and autosaves that are refused when they are based on a stale copy of the file. Tests cover those security and feedback-loss cases directly. The ceiling is reach: outside Claude Code the waiting step only works while the agent's turn stays open.
What's good
Feedback is hard to lose. Sent batches are written to disk and survive a server restart, unsent notes are kept for the next session, and a later acknowledgement cannot wipe a batch the agent never received. The local server guards itself: every API call needs a random token generated per run, a forged host header gets a 403, and reviewed files load in a sandboxed frame with an opaque origin so they cannot read neighbouring files. Setup writes the skill for Claude Code, Codex and a shared agents folder in one command, and refreshes its own marked block in project agent instructions instead of piling up stale copies.
Tradeoffs
The wait is the weak joint. Claude Code can park it in the background and be woken on Send; Codex, Cursor and others must keep a foreground command running inside an active turn, and a turn that already ended is not woken at all, so the user has to message the agent. Localhost and Markdown reviews never write to disk: the agent must find the matching source template and apply edits itself, which depends on its judgement. Limits are fixed constants: edit text is cut at 200,000 characters, localhost pages over 24MB or slower than 30 seconds are refused, and an open wait gives up after 12 hours.
How to use it well
Reach for it when an agent has produced something a person will read: a plan, a landing page, a route in a running web app, and the corrections are about wording and layout rather than logic. Install globally with the setup command so every project sees the skill. In Claude Code let the wait run in the background; elsewhere keep the agent's turn open and pass a timeout just under your shell's limit. Name your sections in the HTML so the edit list uses your labels. It is not a code reviewer or a collaboration tool: everything stays on one machine for one reviewer, and it does nothing for diffs.
Technical notes+
package.json declares an ES module CLI (bin human-review mapped to src/cli.js), node >=20, a single dependency on marked and jsdom as a dev dependency, with tests run by node --test. src/cli.js spawns a detached server, gates reuse on a SERVER_PROTOCOL match, and long-polls /api/poll with reconnects; an open-ended wait is capped by MAX_OPEN_WAIT_MS at 12 hours and output is flushed before exit so agents reading a pipe get the full batch. src/server.js generates a 16-byte token required on /api routes, plus a separate view token for the iframe route, sets MAX_BODY and MAX_LOCAL_PAGE_BYTES at 24MB, LOCAL_FETCH_TIMEOUT_MS at 30s, MAX_LOCAL_REDIRECTS at 5, EDIT_TEXT_CAP at 200000 and a 45-minute idle shutdown. src/state.js keeps one JSON store merged with what is on disk at save, pristine copies in separate files, a 30-day prune, and atomicWrite via an exclusive temp file with retries on EPERM/EACCES/EBUSY. src/frame-policy.js grants allow-same-origin only to localhost pages. src/editing.js normalizeHref drops any scheme other than http, https, mailto and tel. src/setup.js writes SKILL.md to .claude, .codex and .agents skill folders and merges a marker-delimited block into the project agents file. test/security.test.js asserts the 401 without token, 403 on a rebound host header and 0600 mode on the saved server record; test/feedback-safety.test.js covers stranded batches, stale saves returning 409 and malformed timeout flags. The cli, server, sdk and state files were read truncated.
Observed
- License
- MIT
- Language
- JavaScript (ES modules), Node.js 20 or newer
- Install surface
- npm package with a CLI binary; setup command installs an agent skill
- Interfaces
- CLI commands to open, poll, check status and set up; browser editor served by a local server
- Runtime dependencies
- One (marked)
- Supported agents named
- Claude Code and Codex skill folders, plus a shared agents folder and project agent instructions
- Network posture
- Server binds to the loopback address; API calls require a per-run token
- Tests
- Node built-in test runner; security and feedback-safety test files in the repository
Read from README.md, package.json, LICENSE, src/cli.js, src/server.js, src/SKILL.md, src/sdk.js, src/state.js, src/editing.js, src/frame-policy.js, src/chrome-session.js, src/setup.js, test/security.test.js, test/feedback-safety.test.js.
Intel on Human Review
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.