github-workflow-automation

github-workflow-automation is a skill for Claude Code, Codex from bcastelino/agent-skills-kit. It costs 57 tokens per session (1,496 once invoked), scanned A, original, MIT.

Patterns for using AI to automate GitHub work, including pull-request reviews, issue triage, CI/CD, and Git operations. They include example workflows that connect GitHub Actions to a language model.

In plain words
What is it for?
Use it to automate AI-assisted pull-request reviews, issue classification, CI/CD tasks, rebases, cherry-picks, and other GitHub operations.
Why use it?
They show how to turn repeated repository tasks into event-driven workflows. This can reduce manual work such as reviewing changed files, categorizing issues, and posting review feedback.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Gemini CLI.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/bcastelino/agent-skills-kit/github-workflow-automation
Any agent
npx skills add bcastelino/agent-skills-kit --skill github-workflow-automation
Clone the repo
git clone --depth 1 https://github.com/bcastelino/agent-skills-kit

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin github-workflow-automation/plugin install github-workflow-automation after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-workflow-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/bcastelino/agent-skills-kit/github-workflow-automation.svg)](https://agentmods.dev/skills/bcastelino/agent-skills-kit/github-workflow-automation)
Your own site
<a href="https://agentmods.dev/skills/bcastelino/agent-skills-kit/github-workflow-automation"><img src="https://agentmods.dev/badge/skills/bcastelino/agent-skills-kit/github-workflow-automation.svg" alt="Measured on agentmods" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.01496
Opus 5 $0.00028 $0.00748
Sonnet 5 $0.00011 $0.00299
Haiku 4.5 $0.00006 $0.00150

Measured 5d ago against content hash 01b51d645bad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

github-workflow-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/github-workflow-automation/SKILL.md · 183 lines

How it starts

The opening of the file, as written. The whole thing — 183 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Workflow Automation

Patterns for automating GitHub workflows with AI assistance, inspired by Gemini CLI and modern DevOps practices.

When to Use This Skill

  • Automating PR reviews with AI
  • Setting up issue triage automation
  • Creating GitHub Actions workflows
  • Integrating AI into CI/CD pipelines
  • Automating Git operations (rebases, cherry-picks)

Full YAML workflow files are in references/workflow_examples.md.


1. Automated PR Review

Create .github/workflows/ai-review.yml triggered on pull_request: [opened, synchronize].

Flow: checkout with fetch-depth: 0 → collect changed files and diff via git diff → send to an LLM (e.g., Claude) → post the response as a PR review comment.

Key elements:

  • Permissions: pull-requests: write, contents: read
  • Use actions/github-script@v7 to call the AI API and pulls.createReview
  • Store the API key in secrets.ANTHROPIC_API_KEY

Review output should follow this structure: Summary → What looks good → Potential Issues → Suggestions → Security Notes.

For focused reviews, filter changed files with grep -E '\.(ts|tsx|js|jsx|py|go)$' before sending to the model.


2. Issue Triage Automation

Auto-label on Open

Create .github/workflows/issue-triage.yml triggered on issues: [opened].

Flow: read issue title & body → call AI with a classification prompt → apply labels (bug, enhancement, question, area labels) → if bug with no repro steps, post a comment asking for details.

Triage prompt returns JSON:

{
  "type": "bug | feature | question | docs | other",
  "severity": "low | medium | high | critical",
  "area": "frontend | backend | api | docs | ci | other",
  "summary": "one-line summary",
  "hasReproSteps": true,
  "suggestedLabels": [],
  "suggestedAssignees": []
}

Stale Issue Management

Use actions/stale@v9 on a daily cron. Mark issues stale after 60 days, close after 14 more. Exempt labels: pinned, security, in-progress.

Read the full file on GitHub · 183 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 183 lines · 57 tokens per session scan A 01b51d645bad

Subscribe to this mod's changes

github-workflow-automation is a skill published in the GitHub repository bcastelino/agent-skills-kit (2 stars, last pushed 1mo ago), licensed MIT. It adds 57 tokens to every session and 1,496 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

addyosmani/agent-skills · 45 tokens

agentic-actions-auditor

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches. AI agents running in CI/CD pipelines.

sickn33/agentic-awesome-skills · 63 tokens

godot-export

Export and build a Godot 4.7 project for distribution: install export templates, define export presets (Windows/macOS/Linux/Web/Android), run headless command-line exports for CI, and handle web (HTML5) COOP/COEP and dedicated-server/headless builds. Use when exporting a Godot game, configuring exportpresets.cfg…

gamedev-skills/awesome-gamedev-agent-skills · 92 tokens

deployment-pipeline-design

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.

rmyndharis/antigravity-skills · 41 tokens

bash-defensive-patterns

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

rmyndharis/antigravity-skills · 36 tokens

tdd-configure-ci

Configures CI/CD pipelines to mechanically enforce CONSTRAINTS.md quality bars and Floor-Guard anti-cheat rules. (Optional Utility).

GulajavaMinistudio/awesome-copilot-id · 33 tokens