github-actions

github-actions is a skill for Claude Code, Codex from fmind/dot. It costs 47 tokens per session (1,086 once invoked), scanned A, original, MIT.

A guide for setting up GitHub Actions, GitHub’s automation system, to format, check, test, secure, build, and deploy a project.

In plain words
What is it for?
Use it when adding or repairing continuous integration and delivery workflows, security scans, workflow linting, container publishing, or package releases.
Why use it?
It keeps automated checks aligned with local development and replaces long-lived deployment credentials with short-lived identity-based access.

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

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/fmind/dot/github-actions.svg)](https://agentmods.dev/skills/fmind/dot/github-actions)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/github-actions"><img src="https://agentmods.dev/badge/skills/fmind/dot/github-actions.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,086 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.00047 $0.01086
Opus 5 $0.00023 $0.00543
Sonnet 5 $0.00009 $0.00217
Haiku 4.5 $0.00005 $0.00109

Measured yesterday against content hash 8b99e5988f6f, 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.

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

How it starts

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

GitHub Actions

CI runs the canonical mise all task so it never drifts from the local lefthook hooks; CD builds, signs, and publishes from a version tag with OIDC instead of long-lived credentials.

Workflow

  1. CI: copy ci.yml to .github/workflows/ci.yml; it runs mise run all, asserts an empty porcelain status so drift fails the build, and fetches 100 commits to match the check:leaks bound.

  2. Security: copy security.yml to .github/workflows/security.yml: a scheduled full-history gitleaks and trivy rescan where any finding fails the job.

  3. CD: copy cd.yml to .github/workflows/cd.yml and enable one job: a ko container signed keyless with cosign, a PyPI package via Trusted Publishing, or a Dockerfile image.

  4. Lint the workflows: copy zizmor.yml to .github/zizmor.yml, pin actionlint, shellcheck, and zizmor in mise.toml [tools], and expose check:actions:

    [tasks."check:actions"]
    description = "Lint and audit GitHub Actions workflows (actionlint + zizmor)"
    run = ["actionlint", "zizmor --offline .github/workflows/"]
    
  5. Verify locally: Run the full gate (mise run all); if the tree carries unrelated changes and the gate write-formats, run it in a temporary git worktree or fall back to mise run check and mise run test (see mise).

Principles

  • One gate: CI runs mise run all, the same tasks the hooks call plus the production build; no CI-only steps.
  • Tools from mise.toml: jdx/mise-action installs and caches the pinned toolchain so CI runs the versions pinned locally; commit mise.lock for stable caches.
  • Least privilege: top-level permissions: contents: read; widen (packages: write, id-token: write) only in the job that needs it.
  • Keyless: OIDC for cosign signing and PyPI Trusted Publishing; no long-lived registry or package credentials.
  • Fail fast, cancel stale: concurrency cancels superseded runs on pull requests and branches while main keeps every run.
  • Current majors: keep actions on the current major tag (actions/checkout@v7, jdx/mise-action@v4) so runner runtime deprecations never bite.

Read the full file on GitHub · 51 lines

Files

What ships with it

4 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 · 51 lines · 47 tokens per session scan A 8b99e5988f6f

Subscribe to this mod's changes

github-actions is a skill published in the GitHub repository fmind/dot (4 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,086 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-03.