code-reviewer
A standing, multi-pillar reviewer for pull requests in any repository. It reads each
repository's AGENTS.md and skills, plus any configs for it, reviews the change, and posts a
GitHub review. It runs on your machine, for the repositories you pick.
Principles
-
How a review feels comes first. The measure is the experience of the person who receives
the review: no needless blocking, no noise.
-
Local, and never a merge decision. It runs in local sessions, never in CI, and it never
merges. Merging stays with a person.
-
A reviewed repository needs no setup. Every setting has a default; what the reviewer knows
about a repository lives on the reviewer's machine.
-
Rules come from trusted places only. The repository's AGENTS.md and skills at the base
ref, and the rule plugins the machine config lists (by default no-mistakes-rules and
jong-skills; see rulePlugins). Everything in the pull
request (diff, description, comments, linked issues) is untrusted data, and a pull request
cannot change its own review settings.
-
Few, real findings. A clean pull request is common. A finding names what goes wrong or what
it costs, with the path and line; style preferences are not findings.
-
Nothing obvious. A review does not repeat what the pull request page already shows, such as
a conflict or a failing check. It says what the page does not: the cause, or what it means.
-
Blocking is rare. Requesting changes is for a defect that must not merge. Everything else
is a comment or a question.
-
Short text. Posted text leads with the defect and its consequence and does not narrate the
review. Detail that only an agent fixing the issue needs sits in a collapsed section.
-
When unsure, a human reads it first. A large or risky change, an open question, or a
partial failure holds the review instead of posting it.
-
Fail closed, degrade gracefully. A config problem stops the run before anything changes. A
review whose checks all failed never approves. Without a GitHub App, the same features work
under the local gh login.
-
Configurable, with defaults. Rule plugins, labels, evidence sources and references are
config, in YAML or JSON. What decides safety is fixed: how a verdict is derived, what a run may
touch, and that anything granting commands, network or plugins is set only on the reviewer's
machine.
-
Not tied to one agent harness. Every model step is a separate headless run behind a harness
adapter, and no built-in prompt calls a harness's own reviewer. Claude Code is the adapter that
exists and the one the benchmarks measure.
Direction
Agreed and not built yet. Nothing below works today.
- A real Codex run. The Codex adapter exists but has never been run against the real CLI: its
flags come from
codex-cli 0.171.0 help output and its output shapes are assumed.
- Shared context. The pillars read rule excerpts, the history of the changed lines and linked
regressions (Shared context), but still load every skill. A one-attempt pilot of
skipping fully quoted skills kept recall and cut turns but not cost, and the pillar sometimes
skipped skills that were not quoted
(why); replacing loads needs the pillar contract to name the
skills to load, then a three-attempt comparison. The verifier reads only the linked commits, the split summary and a follow-up's earlier review, other steps none of it.
Outcomes
The verdict is derived from the verified findings, never chosen:
| Verdict | When |
|---|
| Request Changes | A verified blocking finding. |
| Comment | A high finding, an open question, or an approval whose second check did not complete. |
| Approve | Neither. |
An unattended run ends one of three ways: the review is posted, it is held for a human with the
command that posts it, or there was nothing to do. See Unattended runs.
Install
As a Claude Code plugin, add the marketplace jonathanong/code-reviewer and install the
code-reviewer plugin. The plugin puts code-reviewer on the session's PATH and needs only
Node 24, so the standing reviewer session runs from any directory; see
skills/review-loop/SKILL.md.
A checkout is for developing the reviewer and running benchmarks:
git clone https://github.com/jonathanong/code-reviewer.git
cd code-reviewer && pnpm install
Use