claude-code-action / base-action
CLAUDE.md9.4k starsChanged 2 months agoMITView on GitHub
This is a GitHub Action that allows running Claude Code within GitHub workflows. The action consists of:
- Reads credentials
2 other projects use a version of this.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- Najeebullah3124/awesome-claude-universeword for word, first seen Apr 24, 2026
- anthropics/claude-code-base-actionword for word, first seen Jan 21, 2026
Who's talking about anthropics/claude-code-action
- anthropics/claude-code“Feature request: Connect Claude code to Claude projects ”GitHub · Jun 24, 2025 · 650 reactions
- grll/claude-code-action“Is this allowed by Anthropic?”GitHub · May 30, 2025 · 33 reactions
- unclecode/crawl4ai“Add Claude Code GitHub Workflow”GitHub · Oct 4, 2025 · 13 reactions
- anthropics/claude-code“[BUG] /install-github-app generates claude-code-review.yml using a terminal CLI plugin in CI, causing …”GitHub · Feb 17, 2026 · 8 reactions
- alchimie-di-circe/Inngest-RESEARCH---Next-15“Add Claude Code GitHub Workflow”GitHub · Jan 25, 2026 · 5 reactions
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub, Bluesky and Hacker News (36 times).
On GitHub · 26
- Jun 24, 2025Feature request: Connect Claude code to Claude projects — anthropics/claude-code650 reactions · 52 comments
- May 30, 2025Is this allowed by Anthropic? — grll/claude-code-action33 reactions · 4 comments
- Oct 4, 2025Add Claude Code GitHub Workflow — unclecode/crawl4ai13 reactions · 1 comment
- Feb 17, 2026[BUG] /install-github-app generates claude-code-review.yml using a terminal CLI plugin in CI, causing silent failures — anthropics/claude-code8 reactions · 10 comments
- Jan 25, 2026Add Claude Code GitHub Workflow — alchimie-di-circe/Inngest-RESEARCH---Next-155 reactions · 5 comments
21 more on GitHub
- Aug 12, 2026ci: add @claude workflow for issue and PR mentions — JMAN730/opendroid4 reactions · 12 comments
- May 5, 2026chore(deps): bump anthropics/claude-code-action from 1.0.111 to 1.0.112 in the github-actions-safe group — danielgonzagat/Kloel3 reactions · 9 comments
- Mar 6, 2026Add Claude Code GitHub Workflow — manaflow-ai/cmux3 reactions · 3 comments
- Nov 27, 2025Add Claude Code GitHub Workflow — cline/cline3 reactions · 3 comments
- Sep 28, 2026Bump anthropics/claude-code-action from 1.0.193 to 1.0.235 — jcarterwil/Sailing2 reactions · 3 comments
- Sep 26, 2026fix(ci): validate Claude reviews from successful final output — thomhurst/ModularPipelines2 reactions · 10 comments
- Sep 21, 2026Bump anthropics/claude-code-action from 1.0.193 to 1.0.230 — jcarterwil/Sailing2 reactions · 3 comments
- Sep 21, 2026chore(deps): bump anthropics/claude-code-action from 1.0.179 to 1.0.224 — latitude-dev/latitude-llm2 reactions · 1 comment
- Sep 18, 2026chore(deps): bump the github-actions group with 2 updates — ComposioHQ/composio2 reactions · 3 comments
- Sep 11, 2026docs: reference claude_args instead of removed allowed_tools — mangeshraut712/claude-code-action2 reactions · 4 comments
- Sep 7, 2026Bump anthropics/claude-code-action from 1.0.193 to 1.0.216 — jcarterwil/Sailing2 reactions · 3 comments
- Aug 31, 2026Bump anthropics/claude-code-action from 1.0.193 to 1.0.210 — jcarterwil/Sailing2 reactions · 3 comments
- Aug 24, 2026Bump anthropics/claude-code-action from 1.0.193 to 1.0.199 — jcarterwil/Sailing2 reactions · 3 comments
- Aug 24, 2026ci: bump anthropics/claude-code-action from 1.0.193 to 1.0.199 — rmems/spikenaut-telemetry-etl2 reactions · 4 comments
- Aug 17, 2026Bump anthropics/claude-code-action from 1.0.183 to 1.0.193 — jcarterwil/Sailing2 reactions · 2 comments
- Aug 16, 2026Add Claude Code GitHub Workflow — rmems/spikenaut-telemetry-etl2 reactions · 6 comments
- Aug 4, 2026deps(actions): bump anthropics/claude-code-action from 1 to 1.0.183 — SkyyRoseCo/DevSkyy2 reactions · 3 comments
- Jul 22, 2026ci: bump the actions group across 1 directory with 5 updates — dabiggestpoppa/fbo-content-engine2 reactions · 2 comments
- Jun 24, 2026ci: bump the actions group across 1 directory with 3 updates — dabiggestpoppa/fbo-content-engine2 reactions · 3 comments
- Jun 10, 2026ci: bump anthropics/claude-code-action from 1.0.140 to 1.0.150 in the actions group across 1 directory — dabiggestpoppa/fbo-content-engine2 reactions · 3 comments
- May 25, 2026chore(deps): bump anthropics/claude-code-action from 1.0.112 to 1.0.133 in the github-actions-safe group — danielgonzagat/Kloel2 reactions · 5 comments
On Bluesky · 9
- Sep 27, 2026📦 anthropics / claude-code-action ⭐ 9,087 (+31) 🗒 TypeScript — @github-trending-js.bsky.social2 likes and reposts
- Jun 3, 2025Write up issue, tag claude and ask it to give it a go. Theres a command in Claude code to help you set it up. Custom tools or things would… — @jeremymorrell.dev2 likes and reposts
- Sep 26, 2026📦 anthropics / claude-code-action ⭐ 8,971 (+15) 🗒 TypeScript — @github-trending.bsky.social1 likes and repost
- Jan 6, 2026📦 anthropics / claude-code-action ⭐ 4,643 (+32) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost
- Jan 6, 2026📦 anthropics / claude-code-action ⭐ 4,643 (+32) 🗒 TypeScript — @github-trending.bsky.social1 likes and repost
4 more on Bluesky
- Nov 23, 2025github.com/anthropics/... #github #ai #claudecode #automation — @pierrehenry.dev1 likes and repost
- Sep 16, 2025📦 anthropics / claude-code-action ⭐ 3,207 (+49) 🗒 TypeScript — @github-trending-js.bsky.social1 likes and repost
- May 26, 2025今日はこれを deepwiki で読んで参考にしていた。 github.com/anthropics/c... 重要なコードはここで github.com/anthropics/c... 発火イベントによってプロンプトを動的に生成しているということがわかった。 — @tomoyuki-mikami.bsky.social1 likes and repost · 1 reply
- Sep 29, 2026With more efficient Claude Opus 5.5, maybe Claude Code Github Actions are now viable github.com/anthropics/c... — @georgesl.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- May 19, 2025claude-code-action: Claude Code GitHub Action1 point
Other versions2 projects use a version of this.
Word for word · 2
- anthropics/claude-code-base-action★ 995100% same
- Najeebullah3124/awesome-claude-universe★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
Test action locally: ./test-local.sh
- Very specific: line 16
Test specific file: bun test test/prepare-prompt.test.ts
- Very specific: line 44
Use act tool to run GitHub Actions workflows locally
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Common Commands
Development Commands
- Build/Type check:
bun run typecheck - Format code:
bun run format - Check formatting:
bun run format:check - Run tests:
bun test - Install dependencies:
bun install
Action Testing
- Test action locally:
./test-local.sh - Test specific file:
bun test test/prepare-prompt.test.ts
Architecture Overview
This is a GitHub Action that allows running Claude Code within GitHub workflows. The action consists of:
Core Components
- Action Definition (
action.yml): Defines inputs, outputs, and the composite action steps - Prompt Preparation (
src/index.ts): Runs Claude Code with specified arguments
Key Design Patterns
- Uses Bun runtime for development and execution
- JSON streaming output format for execution logs
- Composite action pattern to orchestrate multiple steps
- Provider-agnostic design supporting Anthropic API, AWS Bedrock, and Google Vertex AI
Provider Authentication
- Anthropic API (default): Requires API key via
anthropic_api_keyinput - AWS Bedrock: Uses OIDC authentication when
use_bedrock: true - Google Vertex AI: Uses OIDC authentication when
use_vertex: true
Testing Strategy
Local Testing
- Use
acttool to run GitHub Actions workflows locally test-local.shscript automates local testing setup- Requires
ANTHROPIC_API_KEYenvironment variable
Test Structure
- Unit tests for configuration logic
- Integration tests for prompt preparation
- Full workflow tests in
.github/workflows/test-base-action.yml
Important Technical Details
- Outputs execution logs as JSON to
/tmp/claude-execution-output.json - Timeout enforcement via
timeoutcommand wrapper - Strict TypeScript configuration with Bun-specific settings
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

