Early version. Expect rough edges, and tell us about them on GitHub.

⚑ guided-review

Claude Code or Codex · GitLab or GitHub · tmux

Keep the human review. Lose the grind.

Agents write code faster than people can review it. Here you open the whole merge request at once, and the agent reads it next to you: it numbers the files in a sensible order, flags the lines where a mistake is expensive and explains the tricky ones. You decide what is wrong; it writes the comments and posts them when you say so.

Install GitHub

  • A reading order by behaviour, not by path
  • ⚑ risks on the lines, with the reasoning one key away
  • Nothing waits for the agent: you read while it reads
gr view · PR #42 Daily transfer limits per account
See it work ↓
01

Say it in your own words

Press Enter on a line and a box opens right under it. Write the comment yourself, add a suggestion with the code already filled in, or press Tab and just say what bothers you: the agent turns it into a review comment with a severity. When the agent needs a decision, it offers answers you pick with one key.

enter on a line · tab ai comment · C-j new line · 1 to answer
02

No rubber stamp

The tree marks every file with changes you have not scrolled past. Every ⚑ risk stays open until you check it off or comment on its line. Press finish with a risk still open, or with files you never read, and the card lists them first; the summary posted to the merge request says so too.

P finish · x check off · a ask · enter comment
03

Round two starts where you left off

After the author pushes, you see only what changed since your last round, plus what you did not read. Your open threads sit on their lines with the author's replies. The agent checks each reply against the new code and suggests resolve or keep open. You decide.

n next thread · enter decide · 4 as the agent suggests
04

Nothing is posted before you see it

At the end the viewer proposes a verdict from your comments, lists what you did not read and which risks you checked, and asks whether to approve. You see every inline comment and the summary exactly as they will be posted; change a severity and the verdict follows. Then publish with one key, GitLab draft notes in one batch or one GitHub review, or hand it to the agent.

P finish · s severity · v verdict · 1 publish

Under the hood

The small things that make reading fast

Install

Install guided-review from https://github.com/pltanton/guided-review, follow its INSTALL.md

Paste into Claude Code or Codex. It checks the prerequisites (Go, git, tmux, jq; glab or gh recommended), installs gr and the skills, and tells you what is left for you.

Update
Update guided-review following its INSTALL.md
Remove
Uninstall guided-review following its INSTALL.md
go install github.com/pltanton/guided-review/cmd/gr@latest
claude plugin marketplace add pltanton/guided-review
claude plugin install guided-review@guided-review
Update
go install github.com/pltanton/guided-review/cmd/gr@latest
claude plugin marketplace update guided-review
claude plugin update guided-review@guided-review
Remove
claude plugin uninstall guided-review@guided-review
claude plugin marketplace remove guided-review
rm -f "$(go env GOPATH)/bin/gr"
go install github.com/pltanton/guided-review/cmd/gr@latest
git clone https://github.com/pltanton/guided-review ~/.local/share/guided-review
mkdir -p ~/.codex/skills
ln -sfn ~/.local/share/guided-review/skills/guided-review ~/.codex/skills/guided-review
ln -sfn ~/.local/share/guided-review/skills/guided-selfreview ~/.codex/skills/guided-selfreview
Update
go install github.com/pltanton/guided-review/cmd/gr@latest
git -C ~/.local/share/guided-review pull
Remove
rm -f ~/.codex/skills/guided-review ~/.codex/skills/guided-selfreview
rm -rf ~/.local/share/guided-review
rm -f "$(go env GOPATH)/bin/gr"
nix profile install github:pltanton/guided-review

Puts gr on PATH without Go; the skills come from the Claude Code plugin or the Codex steps. With home-manager, the module does both:

inputs.guided-review = {
  url = "github:pltanton/guided-review";
  inputs.nixpkgs.follows = "nixpkgs";
};

imports = [ inputs.guided-review.homeModules.default ];
programs.guided-review = {
  enable = true;
  claude.enable = true;   # skills in ~/.claude/skills
  codex.enable = true;    # skills in ~/.codex/skills
};
Update
nix profile upgrade guided-review
# home-manager: nix flake update guided-review, then switch
Remove
nix profile remove guided-review
# home-manager: drop the module and switch
Then, in tmux inside the repository
/guided-review https://gitlab.example.com/group/project/-/merge_requests/123

Removing the tool keeps your review history in .git/guided-review/; INSTALL.md lists what is left and how to clear it.