gavel
A guided code review tool where your coding agent presents local Git changes in the browser for you to question and approve or reject.
At a Glance
gavel is free and MIT-licensed; requires Node.js 22.20+ and works with Claude Code or Codex.
Engagement
Available On
Listed Nov 2026
About gavel
gavel is a free, MIT-licensed tool sponsored by PhotoStructure that turns review of local Git changes into a guided session with a coding agent. It works with Claude Code and Codex, opening the diff in your browser alongside an agent-written brief and explanations. It installs through npm and requires Node.js 22.20 or newer.
What It Is
gavel is a browser-based code review interface for changes made by coding agents. A gavel skill instructs the agent to prepare a brief explaining why it made the change, then attach linked comments through the diff that walk the reviewer through it in a chosen reading order. It began as a fork of the difit diff viewer, extended with agent integration and a guided review workflow.
How a Review Works
The agent groups large changes by purpose into separate reviews, each with its own tab, brief, proposed commit message, and verdict. A Change summary panel explains the reasoning and links to a Start here tour stop, and each stop links to the next. The full diff remains available to inspect.
You can leave a Change request, Question, or Comment on specific lines. The agent replies in the same thread, for example by adding a requested test and linking to it. Threads can be resolved, and a Conversation view collects inline threads across a review.
Verdicts and Agent Feedback
Approve permits the agent to commit after it addresses comments and passes required checks and reviews. Reject stops the agent, which asks what to do instead and whether to revert. Verdicts can be changed or cleared until the agent acts on them. Feedback reaches the agent through the Claude session socket or codex queue, with a copy-resume-prompt fallback if delivery fails.
Setup and Remote Review
Install the npm package globally, then add the skill for Claude Code through npx skills or for Codex through its skill installer. Start a review with /gavel in Claude Code or $gavel in Codex. Reviews can also be opened from a phone using a link that includes an access token; the docs recommend HTTPS for remote access.
Community Discussions
Be the first to start a conversation about gavel
Share your experience with gavel, ask questions, or help others learn from your insights.
Pricing
Free
gavel is free and MIT-licensed; requires Node.js 22.20+ and works with Claude Code or Codex.
- MIT-licensed
- Guided code review of local Git changes in your browser
- Works with Claude Code or Codex
- Requires Node.js 22.20+
- Install via npm install -g @photostructure/gavel
Capabilities
Key Features
- Agent-written review briefs and proposed commit messages
- Guided tour of the diff with linked comments
- Large changes split into separately reviewed parts
- Threaded questions, comments, and change requests
- Per-part approve and reject verdicts
- Remote and phone review with access token
- Claude Code and Codex skills
- Keyboard shortcuts
