Set up Code Review changedcode-review-setup
Nearest release: v2.1.334, published 7 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 02:55 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 03:07 UTC.
Upstream edited
Recorded here
Lines+14added
Lines−15removed
From line
13
where the diff opens
First seen
15 Oct 2026
this site's first read of the page
Recorded edits12to this page, all time
The whole hunk
from line 13, old and new numbered
/
from line 13
1313| Access | Needed for |
1414| :- | :- |
1515| [Owner role](https://code.claude.com/docs/en/server-managed-settings.md#access-control) in your Claude organization | Every step on the admin page |
16| Owner of the GitHub organization | Installing the Claude GitHub App and [linking it to your Claude organization](https://code.claude.com/docs/en/admin-setup.md#connected-github-accounts). If you aren't an owner, have one install and link the app before you start |
16| Owner of the GitHub organization | Installing the Claude GitHub App and [linking it to your Claude organization](https://code.claude.com/docs/en/admin-setup.md#connected-github-accounts). If that's someone else, have them install and link the app before you start |
1717| Write access to each repository you add, from the GitHub account you connect to Claude | Adding the repository |
1818
1919## Turn on Code Review
from line 32
3232
3333**3. Install the Claude GitHub App**
3434
35If the repositories you want are listed in the **Add a repository** dialog, or you find them by searching there, go on to the next step. The dialog lists a repository only if the Claude GitHub App can access it, so if they aren't there, install the app:
35If the repositories you want are listed in the **Add a repository** dialog, or you find them by searching there, go on to the next step. Otherwise, install the Claude GitHub App, because the dialog lists only repositories the app can access:
3636
3737* Click **Install GitHub App**. When no repositories are listed, it's a button in the dialog. Otherwise, it's at the bottom of the dialog's GitHub organization filter menu. GitHub's install page opens in a new tab.
3838* Pick the GitHub organization that owns the repositories.
from line 43
4343
4444**4. Choose repositories**
4545
46Select the repositories you want reviewed, then click the button that adds them, which reads **Add 2 repositories** when you've selected two. Adding a repository needs write access to it from the GitHub account you connected. You can [add more repositories](#add-more-repositories) later.
46Select the repositories you want reviewed, then click the button that adds them, which reads **Add 2 repositories** when you've selected two. You need write access to each repository from the GitHub account you connected. You can [add more repositories](#add-more-repositories) later.
4747
4848**5. Click Turn on**
4949
5050In the **Choose what Claude does on these repositories** dialog, leave **Code review** selected. If **Steward** is selected and you can change it, clear it unless you also want [PR Steward](https://code.claude.com/docs/en/pr-steward.md) on these repositories. Then click **Turn on**, which is the click that turns Code Review on.
5151
52If you close the dialog any other way, your repositories stay added and nothing is turned on. To turn Code Review on then, use the switch under **Review** again.
52If you close the dialog any other way, your repositories stay added. To turn Code Review on then, use the switch under **Review** again.
5353
5454Each repository starts set to review after every push, which runs the most reviews. To run fewer, [set when reviews run](#set-when-reviews-run).
5555
5656**6. Verify with a test pull request**
5757
58Open a test pull request in one of the repositories you added, and don't mark it as a draft. A check run named **Claude Code Review** appears within a few minutes. If you already set the repository to **Manual (@claude review)**, comment `@claude review` on the pull request to start the first review.
58Open a test pull request that's ready for review in one of the repositories you added. A check run named **Claude Code Review** appears within a few minutes. If you already set the repository to **Manual (@claude review)**, comment `@claude review` on the pull request to start the first review.
5959
6060If no check run appears, see [No check run appears on the test pull request](https://code.claude.com/docs/en/code-review-troubleshooting.md#no-check-run-appears-on-the-test-pull-request).
6161
from line 76
7676| Deep | The most thorough pass. Takes the longest and costs the most |
7777
7878* **Organization default**: select a level under **Review level** and confirm with **Change level**. Every repository uses it unless you give that repository its own.
79* **One repository**: click **Edit** on the repository's row, then select a **Review level** there. The first option, **Default**, follows the organization. The level saves as soon as you select it.
79* **One repository**: click **Edit** on the repository's row, then select a **Review level** there. To follow the organization's level, select the first option, **Default**. The level saves as soon as you select it.
8080
8181A new level applies to reviews that start after the change. For what else drives the cost of each review, see [Code Review costs and usage](https://code.claude.com/docs/en/code-review-costs.md).
8282
8383### Set when reviews run
8484
85Each repository has its own **Review runs** setting, which decides when its pull requests get reviewed.
85Use each repository's **Review runs** setting to choose when its pull requests get reviewed.
8686
8787* **Once after PR creation**: a review runs when a pull request is opened, reopened, or marked ready for review
8888* **After every push**: a review runs on pushes to the pull request branch, catching new issues as the pull request evolves and auto-resolving threads when you fix flagged issues
89* **Manual (@claude review)**: opening or pushing to a pull request doesn't start a review. Comment [`@claude review`](https://code.claude.com/docs/en/code-review-pull-requests#comment-commands) to request one, or `@claude review always` to also subscribe the pull request to reviews on subsequent pushes.
89* **Manual (@claude review)**: a review runs on request. Comment [`@claude review`](https://code.claude.com/docs/en/code-review-pull-requests#comment-commands) to request one, or `@claude review always` to also subscribe the pull request to reviews on subsequent pushes.
9090
9191Manual is useful for high-traffic repositories where you want to opt specific pull requests into review, or to start reviewing pull requests only once they're ready. To compare what each option does to spend, see [How often reviews run](https://code.claude.com/docs/en/code-review-costs.md#how-often-reviews-run).
9292
from line 106
106106
107107* **The repository is set to Manual**: how to request a review with a comment
108108* **The pull request comes from a fork**: that a maintainer can request the review
109* **A bot, or someone without write access who isn't the pull request's author, comments `@claude review`**: that no review was started, and who can request one
109* **A bot comments `@claude review`, or someone without write access comments it on someone else's pull request**: who can request a review
110110* **The GitHub organization isn't linked to your Claude organization**: that reviews are paused, and how to link it
111111
112112Turn the setting off to stop these comments.
from line 123
123123
124124## Manage repositories
125125
126You can add repositories one at a time or cover a whole GitHub organization at once, and stop reviews wherever you don't want them.
126You can [add repositories](#add-more-repositories), [cover a whole GitHub organization](#cover-a-whole-github-organization), or [turn off Code Review or remove a repository](#turn-off-code-review-or-remove-a-repository).
127127
128128### Add more repositories
129129
from line 131
131131
132132* **A Connect GitHub dialog opens first**: follow the step [Connect your GitHub account](#turn-on-code-review), which ends with **Add a repository** open
133133* **A repository isn't listed**: see [A repository isn't listed in Add a repository](https://code.claude.com/docs/en/code-review-troubleshooting.md#a-repository-isn’t-listed-in-add-a-repository).
134* **You want every repository in a GitHub organization**: [cover the organization](#cover-a-whole-github-organization) instead of selecting repositories one at a time
134* **You want every repository in a GitHub organization**: [cover the organization](#cover-a-whole-github-organization)
135135* **These are your organization's first repositories**: the **Choose what Claude does on these repositories** dialog follows. Set its checkboxes as in the step [Click Turn on](#turn-on-code-review), then click its button, which reads **Turn on** or **Done**. Either way, Code Review is on afterward.
136136
137137### Cover a whole GitHub organization
138138
139To turn on Code Review for every repository in a GitHub organization, set **Review runs** on the organization's row in the **Repositories** table. That covers every repository there that the Claude GitHub App can access, including repositories added later. This can raise spend significantly. It requires all of these:
139To turn on Code Review for every repository in a GitHub organization, set **Review runs** on the organization's row in the **Repositories** table. Code Review then covers the repositories there that the Claude GitHub App can access, including repositories added later. This can raise spend significantly. You need all of these:
140140
141141* The GitHub account you connected to Claude is an owner of that GitHub organization.
142* The organization is on github.com. GitHub Enterprise Server instances and personal GitHub accounts aren't eligible.
142* The organization is on github.com. Personal GitHub accounts aren't eligible.
143143* A [monthly spend limit](https://code.claude.com/docs/en/code-review-costs.md#limit-your-spend) is set, for your Claude organization or for Code Review.
144144
145145To cover the organization, click **Edit** on its row, select a **Review runs** option, and confirm. The options are the three from [Set when reviews run](#set-when-reviews-run) plus **Off**.
from line 147
147147After you confirm, these changes take effect:
148148
149149* **Selected repositories**: if the Claude GitHub App was installed on selected repositories rather than all of them, Claude reviews those repositories; change the app's repository access on GitHub to cover the rest.
150* **Existing settings**: every repository in that GitHub organization takes the option you select, including repositories you had set individually. Setting the row again does the same. Repositories you turned off on their own rows stay off.
150* **Existing settings**: each time you set the row, every repository in that GitHub organization takes the option you select, including repositories you had set individually. Repositories you turned off on their own rows stay off.
151151* **Individual changes afterward**: a repository you later set differently from its organization is marked **Custom** in the table.
152* **Review level**: an organization row has no review level of its own.
153152
154153### Turn off Code Review or remove a repository
155154
No line in this hunk matches that.