github-actions

github-actions is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 31 tokens per session (846 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.

Part of the major-ai-skills plugin — 147 skills, 7 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 with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/github-actions
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.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill github-actions
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 7 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 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 846 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.00031 $0.00846
Opus 5 $0.00015 $0.00423
Sonnet 5 $0.00006 $0.00169
Haiku 4.5 $0.00003 $0.00085

Measured 3d ago against content hash abcedde0032c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 3d 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 · 117 lines

How it starts

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

GitHub Actions CI/CD AI Skill Guide

Overview & Engine Architecture

GitHub Actions runs workflows defined under .github/workflows/ in response to events (push, pull_request, schedule, workflow_dispatch). Jobs run on runners; steps call actions or shell commands. Agents design fast, least-privilege pipelines, pin risky actions, and prefer OIDC federation over long-lived cloud keys.

GitHub event
    -> workflow YAML
        -> jobs (matrix / needs)
            -> steps (actions/* or run:)
                -> artifacts / caches / OIDC tokens

When to use this skill

  • Adding CI for lint/test/build on pull requests
  • Publishing images or packages from tags
  • Wiring cloud deploys with OIDC (AWS/GCP/Azure)
  • Speeding pipelines with dependency caches

Operational directives

  1. Set permissions: explicitly; default to read-only and elevate per job.
  2. Prefer actions/checkout and setup actions at major versions you trust; pin to commit SHA for high-assurance repos.
  3. Never echo secrets; mask outputs; rotate compromised tokens immediately.
  4. Fail PR checks fast; keep release workflows separate from PR workflows when possible.
  5. Cache keys must include lockfile hashes (package-lock.json, pnpm-lock.yaml, etc.).

Minimal CI workflow

name: ci
on:
  push:
    branches: [master, main]
  pull_request:

permissions:
  contents: read

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: "20"
          cache: npm
      - run: npm ci
      - run: npm test
      - run: npm run build

OIDC to AWS (sketch)

permissions:
  id-token: write
  contents: read

steps:
  - uses: aws-actions/configure-aws-credentials@v4
    with:
      role-to-assume: arn:aws:iam::123456789012:role/gha-deploy
      aws-region: us-east-1

Trust the role with GitHub's OIDC provider and limit sub to your repo/environment.

Debugging

# Locally where act is available (optional):
# act -l
# In GitHub UI: re-run failed jobs; download logs

Read the full file on GitHub · 117 lines

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. 3d 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 (1 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 846 once invoked, about $0.0002 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-09-05.

Related

Other skills, from other repositories