CreateWithAIHub

AI agent Anthropic

Claude Code GitHub Actions

Anthropic's GitHub Action that runs Claude Code in your workflows to answer @claude mentions, review PRs and turn issues into PRs.

Cloud coding agentPaidOpen source
Visit website ↗
Save

What it is

Claude Code GitHub Actions (the anthropics/claude-code-action action) runs Claude Code on your GitHub Actions runners. In interactive mode Claude responds when someone mentions @claude in an issue or pull request and can analyse code, push commits and open PRs; with a prompt input it runs automatically on any GitHub event, including schedules and skill invocations. Setup installs the Claude GitHub App and stores an API key or subscription token as a repository secret. It is for teams who want Claude working inside their GitHub repositories.

What it's useful for

Commenting '@claude fix the TypeError in the dashboard component' on an issue and getting a pull request with the fix.

Key features

  • Interactive mode for @claude mentions and automation mode driven by a prompt on any GitHub event
  • Quick setup with /install-github-app in Claude Code, or manual setup with the Claude GitHub App and a workflow file
  • Authenticates with a Claude API key, a Claude subscription token (claude setup-token) or workload identity federation
  • Runs skills and plugins, passes Claude Code CLI arguments via claude_args, and exposes structured JSON outputs
  • Can route inference through Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry
  • Executes on your own GitHub runner; MIT-licensed action

How to use it

Before you start

  • Admin access to a GitHub repository
  • A Claude API key or a Pro, Max, Ultra, Team or Enterprise subscription (or Bedrock, Agent Platform or Foundry access)
Quick setup (inside Claude Code)
/install-github-app
Workflow step
- uses: anthropics/claude-code-action@v1
  with:
    anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Each run consumes GitHub Actions minutes plus Claude API tokens or your Claude subscription usage
  • Requires repository admin access to install the app and add secrets; quick setup works only for github.com repositories
  • The Claude GitHub App requests a broad permission set shared with other Claude features; a custom app is needed for a narrower set
  • Only users with write access trigger runs by default, and bots are rejected unless listed in allowed_bots

Website tech stack

Hosting & CDN
Cloudflare, Vercel
Docs platform
Mintlify

Detected on code.claude.com on 25 Nov 2026. This describes the public website only; the product itself may use different technology.

Alternatives

Coding agent that runs each thread in a cloud sandbox, with a CLI, web, desktop and mobile apps.

Free plan + paid

Cognition's autonomous software engineering agent that works in a cloud VM and opens pull requests.

Free plan + paid

Factory's Droid coding agent for the terminal, desktop app, IDEs and Slack, with BYOK on a free plan.

Free plan + paid

See all 15 Claude Code GitHub Actions alternatives →

MCP servers for this

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.

Free plan + paidOpen source

GitHub's official MCP server that lets AI agents work with repositories, issues, pull requests and Actions.

Free plan + paidOpen source

Skills for this

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Anthropic skill that has Claude test local web apps by writing Python Playwright scripts, with screenshots and browser logs.

FreeOpen source

Collection of 93 plugins with 199 subagents, 185 skills and 103 commands, written once and adapted to seven coding tools.

FreeOpen source

Related resources

GitLab's built-in MCP server that lets AI agents work with projects, merge requests, work items, repositories and CI/CD pipelines.

Free plan + paidOpen source

Microsoft's open-source framework for end-to-end testing and browser automation across Chromium, Firefox and WebKit.

FreeOpen source

Observability platform for AI agents with session replays, execution graphs and LLM cost tracking.

Free plan + paid

Microsoft's open-source MCP server that puts tools for many Azure services, from Storage to Cosmos DB and Monitor, in one server.

FreeOpen source

Articles that mention Claude Code GitHub Actions

Type to search. Use ↑ ↓ and Enter.