SubagentInstalls cleanly
Reviewers for code changes
PR Review Toolkit (Anthropic)
Anthropic's plugin with six reviewer agents for a code change: comments, tests, silent failures, types, general quality and simplification.
- Works with
- Claude Code
- Good for
- Web developers, Security testing, Build an app
What it does
PR Review Toolkit is one of Anthropic's own plugins in the official Claude Code marketplace. A PR (pull request) is a set of code changes that you ask to merge into the main code. The plugin adds six subagents. A subagent is a helper with its own instructions and its own context window. Each one looks at your changes from one angle:
comment-analyzerchecks that code comments still match the code.pr-test-analyzerchecks that tests cover the real behaviour and rates gaps from 1 to 10.silent-failure-hunterfinds errors that the code catches and then ignores.type-design-analyzerrates how well data types protect their rules, on four 1-to-10 scales.code-reviewerchecks project rules (such as yourCLAUDE.mdfile), style and bugs, and scores each issue from 0 to 100.code-simplifiermakes working code clearer without changing what it does.
The plugin also adds one command, /pr-review-toolkit:review-pr. It looks at your changed files with git diff and checks for an open GitHub pull request with gh pr view. Then it runs the reviewers that apply. You can name aspects: comments, tests, errors, types, code, simplify or all. Add parallel to run them at the same time.
You do not have to use the command. Plain requests work too, such as "check if the tests cover this" or "review the error handling". Claude picks the matching reviewer from its description.
The command itself can only read files, search and run shell commands. The six agents have no tool limits, so they can also edit files. The code-simplifier's job is to change code. Claude may also start it on its own after a coding task, because its description asks for that.
Who it is for
Anyone who changes code with Claude Code and wants a careful second look before a merge or a release: missing tests, hidden errors, stale comments or code that is harder to read than it needs to be.
Example prompts
/pr-review-toolkit:review-pr/pr-review-toolkit:review-pr tests errors- "Check if the tests cover the new checkout code."
- "Review the error handling in the API client and look for silent failures."
- "Simplify this function without changing what it does."
- "Check the comments in this file. Are any of them out of date or misleading?"
How to install
/plugin install pr-review-toolkit@claude-plugins-officialHow to use it
After you change code, ask for a review in plain words, for example "check whether the tests for this change are good" or "hunt for silent failures". The matching agent runs and reports.
Other assistants
Codex CLI is not supported. This is a Claude Code plugin with Claude Code subagents.
Gemini CLI is not supported either.
Check it works
- Run
/plugin install pr-review-toolkit@claude-plugins-official. In a session, this opens the plugin panel, where you review the plugin and choose a scope. - Type
/pr-review-toolkit:and check thatreview-prappears. - Run
/agents. The six reviewers should be in the list. - Make a small change and run
/pr-review-toolkit:review-pr code.
Common problems
- No reviewer ran — Claude answers itself instead of starting an agent — be more specific. Name the reviewer, or name the concern, for example "test coverage". This is the README's advice.
- It cannot read your GitHub pull request — the
gh pr viewstep fails — install the GitHub CLI and rungh auth login. Without it, the command still reviews your local changes fromgit diff. - The review looks at the wrong files — it reviews too much — name the files, the branch or the PR number, or say "recent changes".
- The review is long and noisy — many findings at once — ask for one aspect, for example
/pr-review-toolkit:review-pr errors, and fix the critical findings first. - Code changed when you only wanted a report — files differ after a review — the
code-simplifieredits code. Say "report only, do not edit" in your request, and check changes withgit diffbefore you commit.
What to watch out for
- The agents read your code and git changes. Some can suggest or make edits. Review changes before you accept them.
- The reviews are advice. They can miss bugs or flag good code.
- The six agents have no tool limits, so they can edit files. The code-simplifier rewrites code by design.
- The code-simplifier's description tells Claude to run it on its own after a coding task, so it may run without you asking.
- The code-reviewer agent is set to the Opus model. Full reviews start several subagents and use more of your plan.
Licence and author
- Licence
- Apache-2.0
- Author
- Anthropic
How we tested it
We installed it on an empty test computer on 12 Oct 2026. Installed and started in a clean test system. Not yet used in a real AI session.
We did not run any agent on a real pull request.
Technical details of the test
- Date
- 12 Oct 2026
- Method
- Added the official Anthropic marketplace and installed pr-review-toolkit with the Claude Code command line in a clean container with no account. The plugin showed as enabled and the folder held 6 agent files. All 6 have a name and a description.
Checked again on 15 Oct 2026
Alternatives
- Built-in
/code-reviewand/security-review: ship with Claude Code. They check the current diff for bugs and security problems, but have no comment, test or type-design reviewers. - VoltAgent quality and security subagents: 18 community agents for testing, accessibility and security, with less focus on pull requests.
FAQ
What does it cost?
The plugin is open source under the Apache-2.0 licence. The reviewers run on your normal Claude Code plan or API key. Each subagent sends its own requests, so a full review uses more of your plan. The code-reviewer agent is set to the Opus model.
Does it change my code?
It can. The six agents can edit files, and the code-simplifier's job is to rewrite code. Nothing in the plugin commits or pushes. Read every change before you accept it.
Do I need GitHub?
No. Without a pull request, it reviews your local changes from git diff.
Which reviewer should I start with?
The README suggests code-reviewer before each commit and silent-failure-hunter when you change error handling. Before you open a pull request, add pr-test-analyzer.
When should I run it? The README suggests running it before you commit and again before you open the pull request. Problems are easier to fix while the change is still small.
Sources
- github.com/anthropics/claude-plugins-official/tree/main/plugins/pr-review-toolkit
- raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/pr-review-toolkit/README.md
- github.com/anthropics/claude-plugins-official/blob/main/plugins/pr-review-toolkit/LICENSE
- raw.githubusercontent.com/anthropics/claude-plugins-official/main/.claude-plugin/marketplace.json
- code.claude.com/docs/en/discover-plugins
- code.claude.com/docs/en/sub-agents
- code.claude.com/docs/en/commands