Claude Code Action

A GitHub Action that runs Claude Code in pull requests and issues: answers mentions, reviews and makes changes

PluginEditors’ pickHigh risk

anthropics/claude-code-action

Install

/install-github-app

Run in Claude Code; the wizard sets up the GitHub App and secrets. Direct Anthropic API only.

This is third-party code. Review the repository files before installing.

What it does

The action runs Claude Code on a GitHub runner in response to repository events. It reacts to an @claude mention, issue assignment or label, and in automation workflows it runs a given prompt. Claude answers code questions, reviews PRs, implements small fixes and tracks progress with checkboxes in a comment. It supports structured JSON outputs, custom MCP servers and Claude Code plugins, with models via the Anthropic API, Bedrock, Vertex AI or Microsoft Foundry.

Who it is for. For GitHub teams that want to hand Claude reviews and small tasks right in PRs and issues.

Good fit when

  • You want automatic review of every PR
  • You want to request changes with an @claude comment
  • You need automated issue triage or docs sync

Not a fit when

  • The repository is not on GitHub
  • You have no access to the Anthropic API or cloud Claude providers

Example request

@claude review this PR and fix the error handling issues

Limitations

It needs an Anthropic API key, a Claude Code OAuth token, or Bedrock, Vertex AI or Foundry setup. GitHub runners are outside Russia, so the workflow itself needs no VPN, but an Anthropic account and billing are not available from Russia. Quick setup via /install-github-app requires repository admin rights.

How to disable. Delete the workflow file from .github/workflows and, if needed, uninstall the Claude GitHub App in repository settings.

Security check

  • Writes to the repository: creates branches, commits and comments
  • Handles API secrets in GitHub Actions

README in short

The README describes the action's features, quick setup via /install-github-app and links to detailed guides. The docs include ready-made recipes: PR review, path-specific review, issue triage, security review. Migration from v0.x, cloud providers and limitations are covered separately. MIT licensed.

FAQ

Where does it run?

On your own GitHub runner; only requests to the chosen model provider leave it.

Can I change the trigger word?

Yes, via the trigger_phrase input; the default is @claude.

Editors’ pick

An MCP server built into the Netdata agent: metrics, logs, alerts and live process, service and container data for an AI assistant

MCP serverMedium risk80.5K
Editors’ pick

GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent

MCP serverHigh risk32.9K
Editors’ pick

An AI assistant for Kubernetes that turns plain-language requests into kubectl operations and doubles as an MCP server

CLIHigh risk7.6K
Editors’ pick

Cloudflare's set of remote MCP servers: docs, Workers, logs, Radar, browser, DNS and other account services

MCP serverHigh risk4.2K