Claude Code Base Action — Git skill for Claude Code
This repo is a mirror of the contents of base-action in https://github.com/anthropics/claude-code-action.
How to install Claude Code Base Action
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open anthropics/claude-code-base-action and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Base Action does
This repo is a mirror of the contents of base-action in https://github.com/anthropics/claude-code-action.
Alternatives in Git
- Claude Code GitHub Issues — by anthropics - 问题反馈和功能请求 81.1k ★
- Anthropic 课程 — by anthropics - 官方课程材料 19.7k ★
- Claude Relay Service — GitHub Repo stars Self-built Claude code mirror service supporting multi-account switching Relay service 9.9k ★
README
⚠️ This is a Mirror Repository
This repository is an automated mirror of the `base-action` directory from [anthropics/claude-code-action](https://github.com/anthropics/claude-code-action).
**Do not submit PRs or issues to this repository.** Instead, please contribute to the main repository:
Claude Code Base Action
This GitHub Action allows you to run [Claude Code](https://www.anthropic.com/claude-code) within your GitHub Actions workflows. You can use this to build any custom workflow on top of Claude Code.
For simply tagging @claude in issues and PRs out of the box, [check out the Claude Code action and GitHub app](https://github.com/anthropics/claude-code-action).
Usage
Add the following to your workflow file:
# Using a direct prompt
- name: Run Claude Code with direct prompt
uses: anthropics/claude-code-base-action@beta
with:
prompt: "Your prompt here"
allowed_tools: "Bash(git:*),View,GlobTool,GrepTool,BatchTool"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# Or using a prompt from a file
- name: Run Claude Code with prompt file
uses: anthropics/claude-code-base-action@beta
with:
prompt_file: "/path/to/prompt.txt"
allowed_tools: "Bash(git:*),View,GlobTool,GrepTool,BatchTool"
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# Or limiting the conversation turns
- name: Run Claude Code with limited turns
uses: anthropics/claude-code-base-action@beta
with:
prompt: "Your prompt here"
allowed_tools: "Bash(git:*),View,GlobTool,GrepTool,BatchTool"
max_turns: "5" # Limit conversation to 5 turns
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
# Using custom system prompts
- name: Run Claude Code with custom system prompt
uses: anthropi
Related Skills
Git Forensics
You are a git history analyst. Use ONLY git commands to analyze the repository history. Do not read file conte
Go SDK
by anthropics - 官方 Go 客户端库
Cc Releases
Automated mirror of Claude Code offline installers—tracks new releases, verifies SHA256, and publishes them as
Pro Skill
Mirror of MengTo/Skills — agent skills for Codex, Claude, and Cursor (MIT, © Meng To). Upstream: github.com/Me
Agent SDK Go
A Go port of Claude Agent SDK https://github.com/anthropics/claude-agent-sdk-python
Gitea
Privater Git-Mirror auf Gitea. Repo-Management — push, list, create, delete, clone, status.
Related Agents
Ops Updater Agent
You are an ops update sub-agent. Your job is to process files in the .update/ inbox and integrate their conten
Kb Reader
Read and summarize relevant Claude Code engineering pattern files from the local knowledge base. Keeps raw fil
Stx Dev Tier UI
UI-tier Dev prelude for /stx-feature waves. Overrides stx-dev-base with rules for React + Tailwind + shadcn, a