github-actions

github-actions is a skill for Claude Code, Codex from DJRHails/dotfiles. It costs 96 tokens per session (3,227 once invoked), scanned B, original, MIT.

A set of rules for configuring GitHub Actions, GitHub's service for running automated jobs when repository events occur.

In plain words
What is it for?
Writing or editing workflow YAML files, choosing runners, handling public-repository pull requests, and setting up tools when the runner has no administrator access.
Why use it?
It helps keep workflows on the intended self-hosted machines, avoid unnecessary hosted-runner charges, and protect those machines from code in forked pull requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument.

Good fit Writing or editing workflow YAML files, choosing runners, handling public-repository pull requests, and setting up tools when the runner has no administrator access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/djrhails/dotfiles/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 DJRHails/dotfiles --skill github-actions
Clone the repo
git clone --depth 1 https://github.com/DJRHails/dotfiles

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/djrhails/dotfiles/github-actions/github.svg)](https://agentmods.dev/skills/djrhails/dotfiles/github-actions)
Your own site
<a href="https://agentmods.dev/skills/djrhails/dotfiles/github-actions"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/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/djrhails/dotfiles/github-actions"><img src="https://agentmods.dev/badge/skills/djrhails/dotfiles/github-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,227 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00096 $0.03227
Opus 5.5 $0.00038 $0.01291
Sonnet 5.5 $0.00019 $0.00645
Haiku 4.5 $0.00010 $0.00323

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

Security

Grade B, and why

github-actions scanned grade B with 2 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.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

## The runner has no sudo — make tooling hermetic

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`pipx`, `cargo`, `bun` or `actionlint` on PATH. It *does* have git, curl, node,
modules/agents/skills/github-actions/SKILL.md · 256 lines

How it starts

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

GitHub Actions conventions

Default: jobs run on taffy's self-hosted pool. GitHub-hosted runners are billed per minute and are the exception, taken deliberately and with a comment saying why.

This exists because the account drifted to $1.02/day on hosted Linux minutes while nominally "using self-hosted runners" — 61% of it one repo whose ci.yml had never been migrated. Silent drift back to paid runners is the failure mode every rule below is shaped against.

The two runs-on forms

Copy one of these. Do not invent a third.

Private repo:

    runs-on: >-
      ${{ vars.CI_FALLBACK == 'true'
      && 'ubuntu-latest'
      || fromJSON('["self-hosted", "linux", "x64", "taffy"]') }}

Public repo whose workflow has a pull_request trigger — a fork PR runs arbitrary code and must never reach taffy:

    runs-on: >-
      ${{ ((github.event_name == 'pull_request'
      && github.event.pull_request.head.repo.full_name != github.repository)
      || vars.CI_FALLBACK == 'true')
      && 'ubuntu-latest'
      || fromJSON('["self-hosted", "linux", "x64", "taffy"]') }}

A public workflow with no pull_request trigger (release, nightly sync) needs no guard — only people with write access can fire it.

Two traps in that guard, both of which shipped broken once:

  • Compare repo names; never use github.event.pull_request.head.repo.fork. That flag asks "is the head repo a fork of anything", not "did this PR come from elsewhere". DJRHails/agent-browser and pi-interactive-subagents are themselves forks of their upstreams, so the flag is permanently true there and routed every job to the billed runner — a silent, total no-op of the migration that only showed up by reading .labels on a finished job.
  • github.event_name == 'pull_request' && is load-bearing. On push, github.event.pull_request is null, so head.repo.full_name is null, and null != 'DJRHails/repo' is true — without the event check, every push would route to hosted.

Read the full file on GitHub · 256 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. 1mo ago Changed · +10 lines a2e5467cc3b2
  2. 2mo ago Changed · +27 lines 30bfa3b53e2a
  3. 3mo ago First seen · 219 lines · 96 tokens per session scan B c2b671af796f

Subscribe to this mod's changes

github-actions is a skill published in the GitHub repository DJRHails/dotfiles (2 stars, last pushed 2d ago), licensed MIT. It adds 96 tokens to every session and 3,227 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

github-actions compared with skills from other repositories

github-actions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-actionsDJRHails/dotfilesSkill22d agoMITB96Claude Code, Codex
todoist-clijoshukraine/dotfilesSkill4307d agoMITA68Claude Code
autopilot-batchjoshukraine/dotfilesSkill4307d agoMITA75Claude Code
autopilotjoshukraine/dotfilesSkill4307d agoMITA40Claude Code
qa-handoffjoshukraine/dotfilesSkill4307d agoMITA41Claude Code
walkthroughjoshukraine/dotfilesSkill4307d agoMITA33Claude Code
dustoffjoshukraine/dotfilesSkill4307d agoMITA64Claude Code