setup-github-actions — Claude Code command: setup and features
setup-github-actions generates repository GitHub Actions pipelines wired to the Anthropic runner with least-privilege permissions.
no license ★ 276 updated 2026-10-29
/plugin marketplace add gupsammy/Claudest
/plugin install claude-coding@ClaudestWhat setup-github-actions does
The command inspects existing .github/workflows/ and codebase configuration files like package.json, pyproject.toml, or linter setups. By inspecting project rules and CLAUDE.md first, it builds review prompts adapted to your exact stack instead of generating generic review templates.
Security follows an output-driven permission layout. Each workflow receives only required scopes, such as pull-requests: write for PR feedback or contents: write for push triggers. Similarly, --allowedTools is trimmed down per task, preventing actions like triage bots from executing arbitrary terminal commands.
Workflows use fixed canonical filenames including claude.yml and claude-code-review.yml, modifying matching files directly instead of creating duplicates. Running these workflows in GitHub requires the CLAUDE_CODE_OAUTH_TOKEN secret to be present in repository secrets.
What it helps with
- Create project-specific GitHub Actions pipelines for Claude Code Action
- Restrict workflow permissions and CLI tools strictly to task scope
- Generate stack-aware pull request review prompts based on repository linters
- Automate issue triage and continuous integration failure fixes
Example prompts for the agent
- Run /setup-github-actions to configure CI workflows for this project
- Generate a customized pull request review workflow using /setup-github-actions
- Inspect repository configuration and create claude.yml with /setup-github-actions
How to install setup-github-actions
1Plugin marketplace
/plugin marketplace add gupsammy/Claudest/plugin install claude-coding@Claudest2Manually: put the files in place
.claude/commands/setup-github-actions.mdCall it with /setup-github-actions. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/setup-github-actions.mdCall it with /prompts:setup-github-actions. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/setup-github-actions.prompt.mdManually: put the files in place
.gemini/commands/setup-github-actions.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about setup-github-actions
How to install setup-github-actions in Claude Code?
Run /plugin marketplace add gupsammy/Claudest in your agent session, followed by /plugin install claude-coding@Claudest.
What does setup-github-actions do?
It inspects your repository setup and writes tailor-made GitHub Actions automation files for Claude Code.
Which credentials do the generated workflows expect?
The generated YAML configurations look for CLAUDE_CODE_OAUTH_TOKEN stored in GitHub repository secrets.