review-ui
Skill2 starsChanged 5 months agoMITView on GitHub
Open a review in the browser and stay attached to it — the user comments on a diff, files or a transcript, asks about any of it while they read, and sends rounds you answer without the review ending
2 other projects use a version of this.
Adopted by
Most recently taken up by
- aminemanai2003/personal-agent-skillstheir own version, first seen Aug 15, 2026
- aaddrick/claude-pipelinetheir own version, first seen Feb 25, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- aaddrick/claude-pipeline★ 129same name
- aminemanai2003/personal-agent-skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 55
No argument, or diff → claude-review diff
- Distinctive: line 66
Start it in the background.
- Very specific: line 80
If the port is taken the command says so.
- Very specific: line 119
Start it in the background and read what it prints.
- Very specific: line 179
Leave --message out and you are speaking first, which is worth as much as answering:
- Distinctive: line 219
After making the changes a round asked for, put the work line out and show them:
- Distinctive: line 238
Use it for what a paragraph in the panel would bury — where you did something other than what was asked, and why.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Open the claude-review viewer so the user can read a change and mark it up.
It is a conversation, not a form. Every thread can be asked about while they are still reading, the panel on the right takes what no single line covers, and a round sends what they have written without ending the review — you answer, make the changes, take the diff again, and they carry on from where they were. None of that works unless something is there to answer, so the review runs in the background and you stay in its loop.
Waiting on it in the foreground is the other shape, and it is right only when there is nothing to talk about — it is at the end of this file. Do not start there: a review nobody is attached to shows the user an "Ask now" button on every thread and a panel that says, when they finally click, that nobody is listening.
Usage:
/review-ui— review current git changes/review-ui last 3 commits— review changes from the last 3 commits/review-ui since v0.5.0— review changes since a tag/review-ui plan— review the current plan file/review-ui transcript— review the current conversation as a transcript
Three rules while a review is open
Answer questions as they arrive. A thread that goes quiet for ten minutes reads as a hang, and the reader is sitting in front of it.
Leave the changes for the round. Work through what the review asks when a round arrives, not the moment a question hints at it.
Say what you are doing while you do it (step 8). Everything you do to their code, the reader should be able to watch happening. A silent agent and a hung one look the same from a browser, and the difference matters to somebody who is waiting.
Steps
- Install or upgrade
claude-reviewto the latest version:uv tool install --upgrade claude-review Work out what is being reviewed:
plan→claude-review files <plan-file-path>(the path is in the "Plan File Info" section of your system prompt).transcript→claude-review transcript <path-to-jsonl>(the JSONL is at~/.claude/projects/<project-dir-hash>/<session-id>.jsonl).- Anything else is a diff review. Translate the argument into a
--base:- No argument, or
diff→claude-review diff last 3 commits→claude-review diff --base HEAD~3two last commits→claude-review diff --base HEAD~2since v0.5.0→claude-review diff --base v0.5.0- Any natural language describing a commit range → work out the git ref
and pass it as
--base
- No argument, or
The base is a starting point, not a commitment: the header lets the reader read the same working tree against a branch, a tag or an earlier round of this review.
Start it in the background. It opens in their browser by itself:
setsid nohup claude-review --port 8765 diff > /tmp/review.log 2>&1 &Detached, rather than a bare
&: started in the shell's own session, the review dies with that shell, and the next command you run takes the review down with it.setsidis the one that holds; where there is none — macOS ships nosetsid—nohup … &on its own is the fallback.The address is printed to that log whether or not a window opened. Read it and give it to them anyway: over ssh or in a container there is nothing to open, and a tab closed by accident needs the way back. Pass
--no-openonly when you know a window would be wrong.If the port is taken the command says so; pick another. (Without
--portthe review picks one from the repository and the base ref, so reopening the same review comes back to the same address — and to the draft left in it.)The reader is in the review from the moment it opens, and until your first
waitthe panel tells them the agent has not joined yet. So start the loop from step 5 in your very next call, before reading the log or catching up:waithands over only what happens after it, and nothing that step 4 prints goes away while you listen.- Catch up, if this review was already under way when you arrived:
claude-review context --port 8765waithands over what happens next, never what already happened — so an agent that restarted mid-review knows nothing until somebody says something. This prints the round, a line per thread and the panel in short. It is an index on purpose:claude-review context --thread comment-4gets that one thread in full, with its lines and every turn.--jsonis the same thing for a program to read rather than a person — worth it when you mean to count or filter rather than to catch up. - Stay in the loop until the review is over:
It prints one JSON object and exits. One call per turn leaves the review unattended between them — the silence the first rule is about — and a bare backgroundedclaude-review wait --port 8765 --seconds 25waitcomes back on the first timeout twenty-five seconds later. What holds is a detached loop that swallows timeouts and prints every real event:
Start it in the background and read what it prints. If what wakes you is a background command finishing rather than printing, putwhile :; do out=$(claude-review wait --port 8765 --seconds 25) || break case "$out" in *'"type":"timeout"'*) continue ;; esac printf '%s\n' "$out" donebreakafter theprintfand start the loop again after each event.{"type": "question", "question": {...}}— answer it (step 6), then wait again. The question carriesthread_idandquestion_id, the file, the line range,quote— the lines it is about — andhistory, everything already said in that thread, starting with the comment that opened it. The question and every turn of the history may carryimages, absolute paths to screenshots the reader pasted; the question text may be empty when a screenshot is all there is.{"type": "message", "message": {"message_id": "panel-1", "text": "...", "threads": [...], "images": [...]}}— the user has said something in the agent panel, which is about the review rather than about one line: the plan, the tests, a file nobody commented on. Answer it withsay(step 7). Any threads it points at come with it, in the same shape as a question.imagesare absolute paths to screenshots they attached, and the text may be empty when an image is the whole question: open each with your file reader before answering. They outlive the review in the system's temporary directory, so the last round's are still there.{"type": "round", "round": {"number": 1, "markdown": "..."}}— the user has sent a round. The markdown is the review itself; address it as you would a finished one, then take the diff again (step 9) and keep waiting. AnImage: /pathline under a comment or a turn is a screenshot pasted there: open it before answering what it came with.{"type": "cancel", "cancel": {"message_id": "panel-1"}}— the user has taken a message back. Drop what you were doing for it if you still can, and say nothing about it unless it is already half done.{"type": "timeout"}— nothing was asked; wait again.{"type": "closed"}— the review is over. Stop looping. The last round reached you as its own event just before this one; the background process also writes it to its log on the way out, which is where to look if you were not waiting at the time.
- Answer in the thread it belongs to, naming the question:
A thread can have more than one question waiting at once, which is why the answer names one: without it the answer is filed under whatever was asked last. Answer from what you know about this change — why you wrote it that way, what you considered and rejected. That context is the reason to route the question to you rather than to a fresh session.claude-review reply --port 8765 --thread <thread_id> --question <question_id> "..." Answer a panel message, naming the message:
claude-review say --port 8765 --message <message_id> "..."The panel is one conversation, so the answer lands under the message it names — and naming it is also what closes it: a message answered without its id goes on showing as worked on, with a Stop button, however much you have written about it elsewhere.
Optionally, say what only you can know about yourself — the panel shows it beside the review's own weight, with the time it was said:
claude-review status --port 8765 --model opus-5 --context "53% of 1M"Report it when it changes, not on every turn. Say nothing and the panel shows nothing, which is better than a number that is a guess.
Leave
--messageout and you are speaking first, which is worth as much as answering:claude-review say --port 8765 "Both are green now — the second one needed the base read from the round rather than from the diff."Work that finished while the reader was reading is news they would otherwise have to come and ask for. It arrives with a dot on the header chip and a count in the tab title, so it reaches them in another tab.
Say what you are doing, while you are doing it:
claude-review progress --port 8765 --message <message_id> \ --file src/a.py --file src/b.py "rewriting the answer handler"Waiting says only that something is happening; this says what. Send it again to change it — it replaces what was showing rather than adding to it.
--didand--stepare drawn as branches of the work, so three subagents read as three branches rather than as a sentence about three subagents; the files become chips the reader can jump by.It goes away when you answer the message it names, so a line started without
--messagehas nothing to clear it — send--donethe moment the work finishes. A spinner left running is the hang the third rule is about, with your name on it.--messageis optional here too: work you started for a round, or on your own, is worth showing under the same line. Send one whenever what you are doing changes — this is the third rule, and it is the only thing that makes a long silence readable as work.Two more, for what a paragraph cannot do:
claude-review say --port 8765 --file src/a.py "Renamed it here." claude-review show --port 8765 --file src/a.pysay --fileoffers a jump the reader takes when they want it.showtakes them there and marks the file for a moment — it moves somebody else's screen, so send it only when they asked to be shown something.- After making the changes a round asked for, put the work line out and
show them:
claude-review progress --port 8765 --done claude-review round --port 8765--donefirst, or the new diff lands under a spinner still saying what you were doing to the old one. The open review reloads the diff and moves its threads onto it: one whose lines survived follows them, one whose lines are gone is marked outdated and keeps a copy of what it was written against. What comes back names the files that changed since the round began — read those again rather than the whole diff, and the reader can put that same list on screen alone. Point at a line, when what you have to say belongs on the code:
claude-review point --port 8765 --file src/x.py --lines 118-130 \ --severity question "I kept the old name here: renaming it broke two callers."Use it for what a paragraph in the panel would bury — where you did something other than what was asked, and why. It becomes an ordinary thread the reader answers, settles or removes, drawn as yours rather than as one of their marks, and it does not count as their unsent work.
--side oldhangs it on a line the change removed, which is the one place the reader cannot always write themselves: under a narrower base the left of the diff belongs to that base, so their gutters are shut there. Yours is anchored in the review's own diff and is not.
While you work, the review says when the working tree has moved on and offers the user a "Retake" of its own. It never swaps the diff by itself, so nothing you change under a half-written comment throws it away.
The server says nothing on its own: claude-review --verbose <command> puts
its diagnostic log on stderr, which is the way to see what it is doing when
a review behaves oddly. Leave it off otherwise — the quiet is deliberate.
When there is nothing to talk about
A review you will not be attached to is one command, and it blocks until the user sends it:
claude-review diffThe review is printed to stdout when they send it; read it and address each comment. Everything above still exists on their screen — the "Ask now" button, the panel, the offer of a round — but nothing answers, and the panel says so when they look. So choose this only for a review you know will be one-way: a quick look at a small change, or a machine with no way to keep a process alive.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

