Review every pull request with Claude Code in GitHub Actions
A GitHub Actions workflow runs Claude Code whenever a pull request is opened or updated. Claude leaves inline comments on the problems it finds, and anyone can also call it from a comment with @claude.
The problem
Pull requests wait in the queue for a human reviewer, and small issues slip through. A review that runs on every PR catches problems early and leaves people to judge design and intent.
Steps
- Install the GitHub CLI and run gh auth login. You need admin access to the repository.
- Open claude in the repository and run /install-github-app. It installs the Claude GitHub App and saves ANTHROPIC_API_KEY or CLAUDE_CODE_OAUTH_TOKEN as a repository secret.
- Choose the review workflow when asked, then merge the pull request that setup opens.
- If you set it up by hand, add a workflow that triggers on pull_request events and runs anthropics/claude-code-action@v1 with the code-review plugin.
- Put your review criteria and code style rules in CLAUDE.md at the repository root.
- Set --max-turns in claude_args and a workflow timeout to keep costs down.
From the official docs
plugin_marketplaces: "https://github.com/anthropics/claude-code.git"
plugins: "code-review@claude-code-plugins"
prompt: "/code-review:code-review --comment ${{ github.repository }}/pull/${{ github.event.pull_request.number }}"
claude_args: '--allowedTools "mcp__github_inline_comment__create_inline_comment"'
Results as reported by Anthropic
- Claude leaves an inline comment on each issue it finds, or a single summary comment when it finds nothing.
- It skips draft and closed PRs, trivial or automated ones, and PRs it has already commented on.
- People can mention @claude in issues or PR comments to ask it to implement or fix something.
These figures are as reported by Anthropic in Claude Code docs ↗. Anthropic sells the product used here. AgentGid did not measure or independently verify them.
This suits a small team on GitHub where someone has repo admin rights and an Anthropic API key or Claude plan. Setup is quick, but per-PR cost depends on usage, and the Free plan doesn't include Claude Code, so set --max-turns and a timeout from day one. For a free-to-start option, OpenCode (Free + $10/mo) is open source.
The agent used here
Similar use cases
League halved product cycle times with Claude Code and overnight agent teams
League, which builds member health apps for health plans and providers, rolled Claude out company-wide and moved its engineers to Claude Code. Small pods now ship production code …
Cycle times from idea through pull request cut in half in the four months after the Accelatron, as reported by Anthropic.
How Eon unified multi-cloud incident tooling behind one MCP Gateway on AgentCore
Eon, a cloud data protection vendor, replaced per-tool credentials and local MCP servers with a single authenticated MCP gateway on Amazon Bedrock AgentCore. Developers and an aut…
As reported by AWS (guest post co-written with Eon): developer onboarding dropped from 2 days to 2 minutes.
Doctolib got 47% more pull requests per engineer with Claude Code
Doctolib, the European healthcare booking and practice-software platform, rolled Claude Code out to its whole development team and then built its own remote coding agents on Claud…
The average engineer handled 47% more pull requests between January and September 2026, as reported by Anthropic.
Guides
Claude Code as an SEO Second Brain: CLAUDE.md, Rules, Skills and Memory
An X Article sets up Claude Code as an SEO workspace with CLAUDE.md, path rules, skills, auto memory and a hook. We checked each mechanic against Anthropic's and Google's docs: most holds, a few points are outdated or imprecise.
Opus 5.5 Motion Design: What 'One-Prompt' Videos Really Take
An X Article says viral Opus 5.5 videos hide long briefs, high effort and a critique loop. We checked its technical claims against Claude Code's docs, HyperFrames and the two repos it recommends: mostly right, with three overstatements.
Teardown: A Claude Code Skill That Builds 3D Machine Simulators
A viral X article shows teardown, a free Claude Code skill that builds a machine as a 3D simulator in one offline HTML page and records it to video. We checked the repository: MIT, three working examples, what setup really needs and which claims hold up.
Claude Code Deploys: 6 Repos for a Containment System
A viral post says GitHub Actions, Argo CD, Argo Rollouts, Prometheus, Sentry and OpenTelemetry turn Claude Code deploys into a containment system. We checked each: role, license, what needs Kubernetes, and what Claude Code's own permissions add.