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

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uses: ./.github/workflows/reusable-test.yml.

Good fit Use it to create or repair files in .github/workflows, run jobs for different environments or versions, cache dependencies, and deploy through GitHub Actions.

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/ericrisco/rsc-harness
agentmods
npx agentmods add skills/ericrisco/rsc-harness/github-actions

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/github.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/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/ericrisco/rsc-harness/github-actions"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/github-actions.svg" alt="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 73
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00081 $0.03413
Opus 5.5 $0.00032 $0.01365
Sonnet 5.5 $0.00016 $0.00683
Haiku 4.5 $0.00008 $0.00341

Measured 1mo ago against content hash 9b5ced270b3c, 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 1mo ago.

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. 1mo ago 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 (237 stars, last pushed yesterday), licensed MIT. It adds 81 tokens to every session and 3,413 once invoked, about $0.0003 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-03.