/github:actions [analyze|diagnose|change] [workflow files] [run id or URL]from github
Use when writing, reviewing, measuring, or debugging GitHub Actions workflows, composite actions, reusable workflows, runners, and caches, covering job graphs, matrices, concurrency, cache scope, tokens, releases, and run-history analysis
Ships in github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Arguments $ARGUMENTS name a mode (analyze by default, diagnose, or change), workflow or action files, and a run in any order, each told by its form, and the request supplies values they lack:
analyze measures and grades, diagnose explains one run, change writes or rebuilds, and a run alone selects diagnose.github/ narrow every step to them and the jobs they reach, every workflow and action when absenthttps://github.com/<owner>/<repo>/actions/runs/<id> URL, an /attempts/<n> URL for one attempt, else the last= run of the top failures: rowWork in one category below sends your next call to Read its reference before any edit or run, its steps joining [STEPS] for that category; Read it again after a compaction: triggers, job graphs, matrices, gates, data between jobs, or concurrency -> references/jobs.md, caches, state stores, runners, disk, or minutes -> references/caching.md, tokens, OIDC, pinning, untrusted events, environments, or publishing -> references/security.md, grading, lint findings, trials, or scripts/runs.py output -> references/review.md.
[REFERENCES]:
[TEMPLATES]:
[SCRIPTS]:
Files and linters read as Claude Code loads this skill, and a Read of this file sends each line as its own parallel call first:
git ls-files -- .github 2>/dev/null || true
command -v jactionlint actionlint zizmor gh 2>/dev/null || true
Workflow runs stack layers, each owning one decision and composing with its neighbors, so a change lands at the layer owning its decision:
| [INDEX] | [LAYER] | [UNIT] | [DECIDES] |
|---|---|---|---|
| [01] | Event | on: trigger and its filters | Runs that exist, token trust, cache scope |
| [02] | Workflow | .github/workflows/<file>.yml | Run-wide permissions, env, cache-mode |
| [03] | Graph | jobs.<id> and needs | Order, parallel width, runner starts |
| [04] | Matrix | strategy.matrix, static or fromJSON | One job shape over many values |
| [05] | Runner | runs-on, container, services | CPU, disk, OS, billed minutes, kept state |
| [06] | Step | run, uses, background, wait | Work order inside one runner |
| [07] | Action | Composite, JavaScript, or Docker action | One reusable step sequence or program |
| [08] | Called workflow | on: workflow_call, jobs.<id>.uses | One reusable job graph with inputs and secrets |
| [09] | State | Actions cache, artifacts, outside stores | What a fresh runner starts with |
| [10] | Trust | GITHUB_TOKEN, OIDC token, environments | What a job writes, which secrets it reads |
Each reusable form takes the layer it repeats:
.github/actions/<name>/action.yml, called as uses: $/.github/actions/<name>ACTIONS_CACHE_MODE -> JavaScript action on node24, which reads that variable where run steps cannot&name, *name) over a whole step or value, as GitHub refuses merge keys (<<:)fromJSON output where a change selects themComposite actions and reusable workflows differ at every boundary:
| [INDEX] | [BOUNDARY] | [COMPOSITE_ACTION] | [REUSABLE_WORKFLOW] |
|---|---|---|---|
| [01] | Runs on | Caller's job and runner, logged as one step | Own jobs and runners, every step logged |
| [02] | Inputs | Strings alone, compared as inputs.<x> == 'true' | Typed boolean, number, string inputs |
| [03] | Secrets | Arrive as inputs, no secrets context | secrets: by name, inherit inside one owner |
| [04] | Step keys | No timeout-minutes, background, or parallel | Every job and step key |
| [05] | Environment | Caller's env and contexts | Values cross as inputs and outputs alone |
| [06] | Outputs | value: from a step output | value: reading jobs.<job>.outputs, last row to complete and set it |
| [07] | Limits | 10 nesting levels | 10 nesting levels, 50 per workflow file |
Calling jobs take with, secrets, strategy, needs, if, concurrency, permissions, and cache-mode alone, runs-on and timeout-minutes sitting in the called workflow, and with: reads no env, so values cross as vars or literals.
Facts every layer obeys:
$/ reads the workflow's repository at the running commit with no checkout and no @ref, failing on any dangling symlinkcase(<predicate>, <value>, ..., <default>) returns the first true predicate's value, where a && b || c returns c on a falsy bif: needs.<job>.outputs.<flag> is true for 'false', compared as == 'true' or read through fromJSONstrategy reads github, needs, vars, and inputs alone, and job-level if reads no matrixconcurrency reads github, inputs, and vars, and job level adds needs, strategy, and matrixhashFiles returns an empty string when no file matches, so a mistyped glob keys one entry across every changeenv: alone, quoted in shell, as ${{ }} inside run: splices them into the scriptshell: bash written out runs bash --noprofile --norc -eo pipefail {0}, the implicit default runs without pipefail, and container jobs default to shGITHUB_TOKEN expires after 24 hours, and a matrix expands to 256 jobs$GITHUB_STEP_SUMMARY holds 1 MiB per step and shows 20 per job, the place for results a reader acts on, linking a job as actions/runs/${{ github.run_id }}/job/${{ job.check_run_id }}::error lines annotate 10 errors, 10 warnings, and 10 notices per step and 50 per job, the rest in logs aloneEvery mode starts with step 1, and step 2 where the target workflow has run history, analyze ends after 2 with the report of step 6, diagnose adds 3, and change adds 4 to 6:
uv run --locked --script scripts/runs.py <owner/repo> [--workflow <file>] [--runs <n>] [--logs <n>] [--branch <ref>] [--event <event>]uv run --locked --script scripts/runs.py <run URL>, then the cause case below, then the fix at that cause's layerjactionlint --profile default (--online with GH_TOKEN) findings judged by references/review.md, the trial route of the trigger, gh run watch <id> --exit-status, then step 3's commandactions <mode> <scope>, label: value facts, rows in scripts/runs.py field order, each change with its delta and runEach step carries one condition:
references/review.md, never one run--runs 1000 for contributor wait and failure load, --runs 20 for a trial baselinegap: no history and set timeouts again after 20 runs<placeholder> commands (<plan> printing matrix JSON, <task>, <install>, <build>, <publish>) the repository fillsreferences/review.md statesDiagnosis cases, matched from the failed step's log and annotation lines:
continue-on-errorSet up job, action download, Collection was modified) -> runner or action preparation, references/jobs.mdreferences/caching.mdmiss -> cold state, references/caching.mdpending above its p50 -> concurrency group, references/jobs.mdResource not accessible by integration, a 403, or an OIDC refusal -> trust layer, references/security.mdLinters read workflow files alone and run before every push, the first one installed taking the role:
| [INDEX] | [LINTER] | [COVERS] | [RUN] |
|---|---|---|---|
| [01] | jactionlint | Checks of actionlint, zizmor audits as rules, step keys | jactionlint --strict-exit |
| [02] | zizmor | Security audits, self-repository, cache-poisoning, lockfile | zizmor --min-severity medium .github |
| [03] | actionlint | Syntax, expressions, shellcheck | actionlint |
jactionlint update --apply moves each pinned action to its newest release SHA with its version comment and relocks actions.lockstrict-labels, so a new label joins it in the same changeactionlint predates background, cache-mode, and $/, so its findings on them are falsescripts/runs.py writes only its store, ~/.cache/github-actions/<owner>/<repo>/<run>.json per completed run, the newest 1000 per repository, so a rerun reads new runs alone:
owner/repo, or none for the working folder's repository, reports history, and a run id or URL reports that run, exiting 2 on any other form--runs runs, and log archives for the newest --logs runs, a cut: logs line counting the restmax cover successful jobs alone, cost every attempt at each label's SKU rate, standard runners free on public repositoriesactions/cache log lines, so stores logging other lines report nonegap: lines count logs expired or refused, runs with no jobs, jobs with no log, and labels with no price, each with its cause<n>+, a floorreferences/caching.md (opens in a new tab)references/jobs.md (opens in a new tab)references/review.md (opens in a new tab)references/security.md (opens in a new tab)scripts/runs.py (opens in a new tab)scripts/runs.py.lock (opens in a new tab)templates/action.yml (opens in a new tab)templates/ci.yml (opens in a new tab)templates/release.yml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bsamiee/rasm --plugin github