# setup-github-actions

setup-github-actions generates repository GitHub Actions pipelines wired to the Anthropic runner with least-privilege permissions.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 276 repo stars
- Author: Samarth Gupta
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/gupsammy/Claudest/tree/HEAD/plugins/claude-coding/commands/setup-github-actions.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/setup-github-actions

## What it 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.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add gupsammy/Claudest
```
In the agent chat (not a shell):
```text
/plugin install claude-coding@Claudest
```

2. **Manually: put the files in place**
- File: `.claude/commands/setup-github-actions.md` — Call it with /setup-github-actions. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/setup-github-actions.md` — Call it with /prompts:setup-github-actions. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/setup-github-actions.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/setup-github-actions.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/gupsammy/Claudest/tree/HEAD/plugins/claude-coding/commands/setup-github-actions.md

## When to use it
- 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
- 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

## Similar
- [github-actions-hardening](https://affpapa.org/en/nevibecode/skills/github-actions-hardening.md) — skill · 2200 installs
- [github-actions](https://affpapa.org/en/nevibecode/skills/github-actions.md) — skill · 12400 installs
- [github-actions-efficiency](https://affpapa.org/en/nevibecode/skills/github-actions-efficiency.md) — skill · 2000 installs
- [crontap-replace-github-actions-cron](https://affpapa.org/en/nevibecode/skills/crontap-replace-github-actions-cron.md) — skill · 1300 installs
- [github-actions-validator](https://affpapa.org/en/nevibecode/skills/github-actions-validator.md) — skill · 722 installs
- [github-actions-generator](https://affpapa.org/en/nevibecode/skills/github-actions-generator.md) — skill · 714 installs

From the same set: [gupsammy/claudest](https://affpapa.org/en/nevibecode/by/gupsammy/claudest.md) — 47 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
