← Back to Leaderboard
Canthropics

anthropics/claude-code-action

A GitHub Actions integration for Claude-powered PR reviews and issue automation

View on GitHub ↗
Engineering Health (Methodology)
A+ · 90/100
Maintenance Activity
● Updated yesterday
Latest Release
v1
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption24/25
Release Cadence11/20
License Clarity20/20
Self-HostedAPI
Total Stars
★ 10,190
24h Growth
+16
7d Growth
+97
Forks
2,323

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

anthropics/claude-code-action Star History (2025-05-18 - 2026-12-03) ALL-TIME STAR HISTORY (2025-05 – 2026-12) +10.2k in 564d · avg +18/day 10.8k 5.4k 0 2025-05-18: ★ 12025-06-28: ★ 1,3092025-08-02: ★ 2,2502025-09-06: ★ 2,9222025-10-11: ★ 3,5342025-11-15: ★ 3,9642025-12-20: ★ 4,2822026-01-24: ★ 5,1792026-02-28: ★ 5,7902026-04-04: ★ 6,7402026-05-09: ★ 7,3782026-06-13: ★ 7,8922026-07-18: ★ 8,3102026-08-22: ★ 8,6362026-09-26: ★ 9,0942026-10-31: ★ 9,7182026-12-03: ★ 10,190 ★ 10.2k 2025-05 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Claude Code Action is a TypeScript GitHub Actions integration, not a standalone MCP server or model host. Its entry point is action.yml; the source tree includes src/, base-action/, and agent-approval-check/. GitHub workflow events determine when the job starts. Once invoked, the action uses context such as an @claude mention, an issue assignment, or an explicit prompt to select its execution mode.

The package depends on @anthropic-ai/claude-agent-sdk for the agent integration and includes @actions/core, @actions/github, and Octokit REST and GraphQL clients for the GitHub side. The action and its tools run on the GitHub runner, while inference goes to the configured provider. MCP is an extension point for adding tools; @modelcontextprotocol/sdk is a declared dependency, and MCP servers and tool permissions can be configured.

Key Capabilities & Differentiators

The action can answer questions about repository code in PRs and issues, review changes, and make edits such as fixes or refactors when its permissions allow. Interactive sessions can show progress through checkbox updates. For non-interactive automation, prompt and claude_args provide task and agent configuration. Validated JSON results can be exposed as GitHub Actions outputs, letting downstream steps consume a structured result instead of parsing comments.

Provider options include the direct Anthropic API, Amazon Bedrock, Google Vertex AI, and Microsoft Foundry. Direct Anthropic access supports an API key or workload identity federation. These are provider integration options, not a guarantee that every model or authentication method is interchangeable across providers. Representative workflows include path-specific PR reviews, issue triage, and documentation synchronization.

Trade-offs & Limitations

Compared with a fixed linter or a scripted CI check, the action can interpret repository context and handle open-ended requests, but its findings and edits are not deterministic. Compared with calling a model API from a custom script, it saves work on GitHub interactions, mode selection, and structured outputs. The trade-off is handing more of the execution flow to the action and agent. Keep deterministic CI checks as merge gates and require human review for agent-generated changes.

Permissions matter more as automation moves from commenting to editing. Treat PR text, issue comments, and repository content as untrusted input; scope GitHub tokens and enabled tools to each job, and keep privileged write workflows separate from untrusted contributions. Hosting the runner gives you control over the execution environment, not over remote inference. Budget for runner usage, provider charges and limits, and the data-handling requirements of both.

Hardware & Deployment Guide

Deploy it inside a GitHub Actions workflow on a runner with access to GitHub and the selected model provider, then configure events, credentials, and job permissions. For direct Anthropic API users, Claude Code's /install-github-app offers a guided setup and requires repository-admin access to install the app and add secrets. The other providers have separate setup paths. Sizing is driven by the repository, enabled tools, and concurrent jobs rather than local model inference; a self-hosted runner is not an offline deployment.

The v1 milestone introduced the simplified configuration centered on prompt and claude_args; use the migration guide when moving an existing v0.x workflow. Among the listed patch releases, v1.0.289 changed text logging to plain text and moved buffered comment posting into the run step. v1.0.290 restored GITHUB_OUTPUT at session end, a detail relevant to jobs that consume action outputs.

Workflow routing: Selects interactive or automation behavior from mentions, issue assignments, and explicit prompts.
Execution stack: TypeScript action with an action.yml entry point and an @anthropic-ai/claude-agent-sdk dependency.
GitHub integration: Supports PR and issue interactions and incremental progress reporting with checkboxes.
Tool configuration: Provides GitHub API and file access, with configurable additional tools and MCP servers.
Automation contract: Validated JSON results become GitHub Actions outputs for downstream steps.
Provider options: Direct Anthropic API with an API key or workload identity federation, plus Bedrock, Vertex AI, and Microsoft Foundry.
Best For

GitHub teams that want conversational PR review, issue triage, or bounded code edits within existing workflows, and can scope agent permissions and review its changes.

Skip If

You need offline inference, cannot send repository context to a model provider, or only need deterministic checks to enforce merge rules.

Reviewed on 2026-11-29 · Grounded in GitHub README, root file tree & releasesMethodology

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
claude-code-action ★10.2k+97TypeScriptMITA GitHub Actions integration for Claude-powered PR reviews and issue automation
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.
spec-kit153.7k+1.3kPythonMITA Python CLI for spec-driven coding-agent workflows and reviewable handoffs

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/anthropics/claude-code-action.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

anthropics/claude-code-action Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about claude-code-action

How does the action fit into an existing GitHub workflow?

Define the GitHub events that start the workflow, then configure the action for interactive requests or automation. It selects its mode from context such as an @claude mention, an issue assignment, or an explicit prompt. For downstream jobs that need machine-readable results, use validated JSON action outputs rather than parsing comments.

Do we need a GPU, and how should we size the runner?

The documented deployment sends model requests to an external provider, so the runner does not need a GPU or local model VRAM. Size it for the repository checkout, agent process, and any tools you enable. If the agent runs builds or tests, use those workloads and expected job concurrency to size CPU, memory, and disk; no fixed runner minimum is specified.

What does the MIT license cover, and is a self-hosted runner enough for compliance?

The action code is MIT-licensed and can run on a self-hosted GitHub runner. That license does not cover access to the model service or determine its data-handling terms. Review provider terms and retention policies, and verify which repository context can leave the runner before enabling it on sensitive code.

When should we choose this over a linter or a custom model API script?

Use deterministic linters and test jobs to enforce rules that should always produce the same result. Choose this action when the job requires interpreting a PR in context, answering questions in a thread, or proposing an edit. Compared with writing a custom script around the model API, it supplies GitHub event handling, PR and issue interactions, and structured outputs, but gives you less direct control over the execution flow.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining anthropics/claude-code-action? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature anthropics/claude-code-action on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare