GitHub Actions CI Patterns

GitHub Actions CI Patterns is a skill for Claude Code, Codex from AmariahAK/atlarix-skills. It costs 5 tokens per session (373 once invoked), scanned A, original, Apache-2.0.

A set of patterns for GitHub Actions, GitHub's system for running automated workflows such as tests and deployments. It covers workflow structure, permissions, caching, reproducible installs, and failure logs.

In plain words
What is it for?
It helps add or debug GitHub Actions workflows, limit their permissions, reproduce failures locally, and improve their logs.
Why use it?
It helps make CI, or automated checks run on code changes, more repeatable, secure, and easier to troubleshoot.

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

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 CI Patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/amariahak/atlarix-skills/github-actions.svg)](https://agentmods.dev/skills/amariahak/atlarix-skills/github-actions)
Your own site
<a href="https://agentmods.dev/skills/amariahak/atlarix-skills/github-actions"><img src="https://agentmods.dev/badge/skills/amariahak/atlarix-skills/github-actions.svg" alt="Measured on agentmods" height="20"></a>
Per session 5 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 373 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.1 $0.00005 $0.00373
Opus 5 $0.00003 $0.00187
Sonnet 5 $0.00001 $0.00075
Haiku 4.5 $0.00001 $0.00037

Measured 2d ago against content hash 0373cdb52a2d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

GitHub Actions CI Patterns 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 2d 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 · 63 lines

What it actually says

GitHub Actions CI Patterns

When to use this skill

Use this skill when adding or debugging GitHub Actions workflows and you want repeatable CI behavior, minimal permissions, and clear failure logs.

Core patterns

Keep workflows small and composable

Prefer:

  • multiple jobs with clear responsibilities
  • reusable workflows for shared logic

Permissions: least privilege

Set permissions: explicitly:

  • default to read-only
  • elevate only when needed (releases, writing checks)

Caching (only when it helps)

Cache:

  • dependency directories (npm/pip/cargo)

Avoid caching build outputs unless you understand invalidation.

Deterministic installs

  • use lockfiles
  • use pinned tool versions where possible

Fail fast with good logs

  • print tool versions
  • print key environment info
  • surface the failing command output

Local reproduction

When debugging:

  • run the same commands locally
  • match Node/Python versions from CI

Atlarix tool notes

  • Explore: inspect .github/workflows/*.yml and identify triggers and permissions.
  • Build: implement the minimal change; keep steps explicit.
  • Review: check permissions and secrets handling.

Common mistakes to avoid

  • Missing lockfiles leading to non-deterministic installs
  • Overly broad permissions (write-all)
  • Hidden failures due to continue-on-error

Mini-checklist

  • Permissions minimal
  • Steps deterministic
  • Logs useful
  • Workflow names and job names clear
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. 2d ago First seen · 63 lines · 5 tokens per session scan A 0373cdb52a2d

Subscribe to this mod's changes

GitHub Actions CI Patterns is a skill published in the GitHub repository AmariahAK/atlarix-skills (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 5 tokens to every session and 373 once invoked, about $0.0000 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

github-actions

Operational skill for GitHub Actions CI/CD: workflows, jobs, matrices, caching, OIDC cloud auth, secrets, and reusable workflows.

alivirgo/Major-AI-Skills · 31 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

ci-debug

Diagnose a failing CI run against an 11-pattern playbook. Classifies the failure, cites the relevant memory entry, proposes the exact fix command — but NEVER applies without explicit user approval. Use when a specific PR check or GitHub Actions run failed and you want a diagnosis instead of speculation. Don't use for…

yonatangross/orchestkit · 92 tokens

GitHub CI Fix Debugging

Debug and fix failing GitHub PR checks by inspecting GitHub Actions logs, summarizing failure context, drafting fix plans, and implementing fixes after approval.

PramodDutta/qaskills · 37 tokens

github-actions

Use when authoring or fixing GitHub Actions CI/CD — workflows under .github/workflows, triggers, job matrix, caching, token permissions, OIDC cloud deploys, environment gates, reusable workflows. NOT the Dockerfile or image build strategy (that is docker), NOT the branching model (that is git-workflow), NOT release…

ericrisco/rsc-harness · 81 tokens

deployment

Use when taking an app from source to live: choosing the deploy target from requirements (Hetzner+Coolify vs Vercel vs a third), then wiring container → CI → registry → host with build secrets, healthchecks and rollback. NOT one platform's mechanics (that is coolify, vercel, railway, render), NOT the Dockerfile alone…

ericrisco/rsc-harness · 86 tokens