github-actions

github-actions is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 81 tokens per session (3,413 once invoked), scanned A, original, MIT.

A guide to configuring GitHub Actions, GitHub's built-in automation system for code repositories. It covers workflows, triggers, jobs, test and build steps, caching, permissions, credentials, and deployment approvals.

In plain words
What is it for?
Use it to create or repair files in .github/workflows, run jobs for different environments or versions, cache dependencies, and deploy through GitHub Actions.
Why use it?
It helps automate checks and deployments without accidentally exposing secrets or granting workflows more access than they need. It also separates workflow configuration from Docker image design and release decisions.

Skill for Claude CodeCodex

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/ericrisco/rsc-harness/github-actions
Any agent
npx skills add ericrisco/rsc-harness --skill github-actions
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

Made for: Claude Code, Codex.

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/ericrisco/rsc-harness/github-actions.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/github-actions)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/github-actions"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/github-actions.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,413 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 $0.00081 $0.03413
Opus 5 $0.00041 $0.01707
Sonnet 5 $0.00016 $0.00683
Haiku 4.5 $0.00008 $0.00341

Measured yesterday against content hash 9b5ced270b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 · 245 lines

How it starts

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

GitHub Actions CI/CD

A workflow is config that runs on an event. Before you write a single step, decide three things: which events fire the workflow, what permissions the token needs, and where credentials come from. Get those wrong and you have a fast pipeline that leaks secrets or a secure one nobody can trigger. Everything after that — checkout, install, test, build — is just steps.

This skill owns the workflow layer — the .github/workflows/*.yml files, their triggers, jobs, matrix, caching, secret/OIDC handling, environments and deploy gates. Route the rest out:

Not this skill Goes to Because
The Dockerfile, image build strategy ../docker/SKILL.md The workflow may call docker build; designing the image is not this skill.
Branching model, PR hygiene, merge vs rebase, commit conventions ../git-workflow/SKILL.md That is the source-control model, not the CI config layer.
Release readiness checklist, changelog, the shipping decision ../ship/SKILL.md Whether to release is a decision; this skill only automates the mechanics.
Blue/green, canary, rollback theory ../deployment/SKILL.md Actions triggers the deploy; the strategy is deployment's.
Choosing the host and its deploy primitives ../vercel/SKILL.md, ../aws-essentials/SKILL.md Actions triggers the deploy; the host owns the target.
Triaging SAST/CVE findings, threat modeling ../secure-coding/SKILL.md This skill runs a scanner as a job; it does not interpret the report.

Decide the trigger first

Pick the event(s) for each job class before writing YAML — the trigger decides what context and secrets the run gets.

Event Use it for Why
pull_request lint, test, build-check Runs on the merge ref; from forks it gets no secrets (safe).
push (to main) deploy, publish artifacts, build the release The trusted ref with full secrets/OIDC.
workflow_dispatch manual ops, one-off backfills, manual deploys Human-triggered with inputs; auditable.
schedule (cron) nightly builds, dependency audits, cache warmers Cron in UTC; no human in the loop.
release / push tags publish to a registry, cut a GitHub Release Fires on the tag, not every commit.
workflow_call reusable workflow invoked by others Library of jobs; never runs on its own.
pull_request_target label/comment bots that need write on forks Runs trusted with secrets — never check out PR head here.

Read the full file on GitHub · 245 lines

Files

What ships with it

5 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. yesterday First seen · 245 lines · 81 tokens per session scan A 9b5ced270b3c

Subscribe to this mod's changes

github-actions is a skill published in the GitHub repository ericrisco/rsc-harness (64 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 3,413 once invoked, about $0.0004 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-03.

Related

Other skills, from other repositories

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…

adriannoes/awesome-agentic-ai · 68 tokens

ci-cd

Create and debug GitHub Actions CI/CD pipelines: workflow authoring, matrix builds, caching, secrets, deployment steps.

JansenAnalytics/claudex · 28 tokens

ci-triage

Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.

cobusgreyling/loop-engineering · 28 tokens

hns-workflow-ci-loop

Unified CI watch + auto-fix loop skill. Polls gh pr checks after /moai sync PR creation, classifies required vs auxiliary failures, attempts safe automated patches (max 3 iterations), and escalates semantic failures to the user. Use for CI loop workflow — NOT for general loop iteration patterns (see…

modu-ai/moai-adk · 76 tokens

moai-ref-secops

DevSecOps, container, and API operational defensive security reference: CI/CD pipeline hardening, secret scanning, IaC misconfiguration detection, SAST/DAST integration, container image scanning, Kubernetes RBAC hardening, container-escape defense, runtime threat detection, OWASP API Top 10 operational defense, WAF…

modu-ai/moai-adk · 201 tokens

workflow-setup

Configures GitHub Actions CI/CD workflows for testing, linting, and deployment. Use when setting up automation for a Python, Rust, or TypeScript project.

athola/claude-night-market · 37 tokens