claude-code-base-action
CLAUDE.md1k starsChanged 10 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
More talk lately.thin dataabout the whole repository
Most recently taken up by
- anthropics/claude-code-actionword for word, first seen Sep 30, 2026
- Najeebullah3124/awesome-claude-universeword for word, first seen Apr 24, 2026
Who's talking about anthropics/claude-code-base-action
- anthropics/claude-code-action“feat: Add ANTHROPIC_CUSTOM_HEADERS environment variable support”GitHub · Sep 10, 2025 · 1 reactions
- anthropics/claude-code-action“Support ANTHROPIC_BASE_URL override from env”GitHub · May 28, 2025 · 1 reactions
- Fiestaboard/FiestaBoard“chore(deps): bump anthropics/claude-code-base-action from 298ebba052ef5001fd3417bbc6f2cb23788c1df0 to …”GitHub · Nov 4, 2026
- JetBrains/youtrackdb“Bump anthropics/claude-code-base-action from 9698ea332dcbc603bba3ebca8b676031a5e424ba to …”GitHub · Nov 2, 2026
- criptogus/Samba-Builder“chore(deps): bump anthropics/claude-code-base-action from c301760f1412f3e4caac6476445385252700a500 to …”GitHub · Nov 2, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub (14 times).
On GitHub · 14
- Sep 10, 2025feat: Add ANTHROPIC_CUSTOM_HEADERS environment variable support — anthropics/claude-code-action1 reaction
- May 28, 2025Support ANTHROPIC_BASE_URL override from env — anthropics/claude-code-action1 reaction · 4 comments
- Nov 4, 2026chore(deps): bump anthropics/claude-code-base-action from 298ebba052ef5001fd3417bbc6f2cb23788c1df0 to 1ba86a1578bc4350db6af753284bc09734ca18bf in the github-actions-dependencies group across 1 directory — Fiestaboard/FiestaBoard0 reactions
- Nov 2, 2026Bump anthropics/claude-code-base-action from 9698ea332dcbc603bba3ebca8b676031a5e424ba to 33edbb44fb532939e88135c89311b5c20a0524de — JetBrains/youtrackdb0 reactions · 2 comments
- Nov 2, 2026chore(deps): bump anthropics/claude-code-base-action from c301760f1412f3e4caac6476445385252700a500 to 33edbb44fb532939e88135c89311b5c20a0524de — criptogus/Samba-Builder0 reactions · 2 comments
9 more on GitHub
- Nov 1, 2026ci(deps): bump anthropics/claude-code-base-action from 19324d6ae01311cf3112de059679b41348bdc770 to 33edbb44fb532939e88135c89311b5c20a0524de — uruhayato373/stats470 reactions
- Jul 27, 2026Bump anthropics/claude-code-base-action from 9d49e4e477eb28ac1b7779245b6806dbfca26a18 to e257d767763882223c40b615cbbe0d26ca75a981 — dachengxiaopang/ct-youtrackdb-976ac8d20 reactions
- Jul 26, 2026Bump anthropics/claude-code-base-action from 9d49e4e477eb28ac1b7779245b6806dbfca26a18 to e257d767763882223c40b615cbbe0d26ca75a981 — superdragon/ct-youtrackdb-976ac8d20 reactions
- Jul 20, 2026Bump anthropics/claude-code-base-action from 9d49e4e477eb28ac1b7779245b6806dbfca26a18 to 086052307469c45b7bf14024817374d6445d746e — Binzi-z/ct-youtrackdb-976ac8d20 reactions
- Jan 10, 2026claude-code-base-action tags are not synced, leading to failure due to outdated version of claude code — anthropics/claude-code-action0 reactions
- Oct 31, 2025[Low] Aggiornamento workflow per abilitare ambiente cloud claude — maxvaega/serverless-AIR-coach0 reactions · 2 comments
- Jul 12, 2025It dev — eagurin/mcpis90 reactions · 1 comment
- Jul 6, 2025Better error messages for tools access — anthropics/claude-code0 reactions · 3 comments
- Jun 5, 2025Avoid usage of ${{ github.action_path }} — anthropics/claude-code-action0 reactions · 7 comments
Other versions2 projects use a version of this.
Word for word · 2
- anthropics/claude-code-action★ 9.8k100% 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.
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 26,980 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.

