github-actions

github-actions is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 41 tokens per session (1,753 once invoked), scanned A, original, MIT.

A guide for GitHub Actions, GitHub's system for running automated jobs when code changes or other events occur.

In plain words
What is it for?
Use it to create continuous integration and delivery pipelines for testing, building, publishing packages or images, and deploying to cloud services.
Why use it?
It helps teams run checks and deployments safely while controlling permissions, secrets, caching, and cloud authentication.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is - run: ./scripts/deploy.sh.

Part of the major-ai-skills plugin — 147 skills, 8 plugins shipped together

Good fit Use it to create continuous integration and delivery pipelines for testing, building, publishing packages or images, and deploying to cloud services.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills
agentmods
npx agentmods add skills/alivirgo/major-ai-skills/github-actions

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 8 plugins.

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-actions

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/github-actions/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/github-actions)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/github-actions"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/github-actions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-actions

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/github-actions"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/github-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,753 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.01753
Opus 5.5 $0.00016 $0.00701
Sonnet 5.5 $0.00008 $0.00351
Haiku 4.5 $0.00004 $0.00175

Measured 18d ago against content hash d8f02c909a2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-actions 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 18d 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-actions/SKILL.md · 187 lines

How it starts

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

GitHub Actions CI/CD AI Skill Guide (Claude)

Overview & Engine Architecture

GitHub Actions runs workflows (YAML under .github/workflows/) on events (push, pull_request, workflow_dispatch, …). Jobs execute on runners; steps use run: or actions from the marketplace. Security is the product: explicit permissions, OIDC federation instead of long-lived cloud keys, pinned action SHAs for high assurance, and fork PR rules that block secrets and OIDC by design.

┌─────────────────────────────────────────────────────────────┐
│                 GitHub Actions trust model                  │
│                                                             │
│  Event → workflow → job(s) → steps                          │
│  ├── GITHUB_TOKEN (scoped by permissions: block)            │
│  ├── Repository / environment secrets                       │
│  └── OIDC JWT (id-token: write) → cloud IAM role            │
│                                                             │
│  Reusable workflow: caller permissions CAP callee           │
│  Fork pull_request: read-only token; NO OIDC injection      │
└─────────────────────────────────────────────────────────────┘

When to use / when not to

Use when

  • Adding CI (lint/test/build) on PRs and release/deploy on protected branches.
  • Wiring AWS/GCP/Azure login via OIDC; caching dependencies; matrix builds.
  • Debugging failed checks, cache misses, permission errors, or reusable workflow auth.

Do not use when

  • pull_request_target is suggested to “fix” fork OIDC while checking out untrusted PR code—refuse; use maintainer-triggered workflows or skip cloud steps on forks.
  • Long-lived cloud access keys in repo secrets when OIDC is available.
  • Running unreviewed third-party actions with write permissions.

Operational Capabilities & Agent Directives

  1. Set permissions: explicitly at workflow or job level; listing scopes replaces repo defaults—include everything needed (contents: read, pull-requests: write, etc.).
  2. OIDC jobs require id-token: write on the caller when using reusable workflows; callee cannot exceed caller caps.
  3. Fork PRs: assume no secrets, no OIDC; gate cloud deploy steps with if: github.event.pull_request.head.repo.full_name == github.repository or manual workflow_dispatch.
  4. Pin actions to full commit SHA for deploy workflows; at minimum pin major tags you trust for inner loops.
  5. Never echo secrets; use mask patterns; rotate if leaked in logs.
  6. Cache keys must hash lockfiles (package-lock.json, poetry.lock, go.sum).
  7. Separate PR CI from production deploy workflows; use environments with required reviewers for prod.
  8. Supply chain: audit what marketplace actions execute; prefer composite actions you own.

Read the full file on GitHub · 187 lines

Files

What ships with it

2 files 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. 18d ago Changed · +70 lines · +12 tokens per session d8f02c909a2b
  2. 1mo ago Changed · -2 tokens per session 6d4309158a2b
  3. 1mo ago First seen · 117 lines · 31 tokens per session scan A abcedde0032c

Subscribe to this mod's changes

github-actions is a skill published in the GitHub repository alivirgo/Major-AI-Skills (2 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 1,753 once invoked, about $0.0002 per session on Opus 5.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-09-05.

Related

Other skills, from other repositories

GitHub Actions Workflow Security Review

Reviews GitHub Actions workflow diffs for script injection of untrusted input, pullrequesttarget with untrusted checkout, over-broad GITHUBTOKEN permissions, and unpinned third-party actions.

s977043/river-review · 46 tokens

devops-cicd

CI/CD pipelines, infrastructure as code, and deployment strategies.

miles990/claude-software-skills · 17 tokens

securing-github-actions-workflows

This skill covers hardening GitHub Actions workflows against supply chain attacks, credential theft, and privilege escalation. It addresses pinning actions to SHA digests, minimizing GITHUBTOKEN permissions, protecting secrets from exfiltration, preventing script injection in workflow expressions, and implementing…

xalgorix/xalgorix · 68 tokens

github-actions

Use when authoring or fixing GitHub Actions CI/CD — workflows under .github/workflows, triggers, job matrix, caching, token permissions, OIDC cloud deploys, environment gates, reusable workflows. NOT the Dockerfile or image build strategy (that is docker), NOT the branching model (that is git-workflow), NOT release…

ericrisco/rsc-harness · 81 tokens

GitHub CI Fix Debugging

Debug and fix failing GitHub PR checks by inspecting GitHub Actions logs, summarizing failure context, drafting fix plans, and implementing fixes after approval.

PramodDutta/qaskills · 37 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens