github-actions-ci
Skill20 starsChanged 44 days agoMITView on GitHub
Monitor, wait for, diagnose, rerun, and cancel a repository's GitHub Actions checks and runs. Use the bundled helper for check status and the GitHub App wrapper for rerun and cancel. Use after pushing or opening/updating a PR, when asked to watch CI or verify a named job such as Playwright, or when a GitHub Actions check fails.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- AndrewBrown-USDA/aigb-skills-usdatheir own version, first seen Oct 31, 2026
- WST2002/claude-code-skillstheir own version, first seen Oct 17, 2026
- wsoule/dispatchtheir own version, first seen Oct 13, 2026
- cvsz/zomegatheir own version, first seen Sep 2, 2026
- techdeveloper-org/mcp-jenkins-citheir own version, first seen Aug 12, 2026
- THEROCKSSS/hermes-skills-portfoliotheir own version, first seen Aug 3, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- AndrewBrown-USDA/aigb-skills-usda★ 7same name
- WST2002/claude-code-skills★ 4same name
- wsoule/dispatch★ 2same name
- cvsz/zomega★ 1same name
- MaheshAwasare/claude-skills-pro★ 1same name
- minagayid/Agents★ 1same name
- THEROCKSSS/hermes-skills-portfolio★ 1same name
- techdeveloper-org/mcp-jenkins-ci★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- breakdownSkill
- bug-investigationSkill
- code-review-adversarialSkill
- code-review-multiSkill
- code-review-with-followupSkill
- document-changesSkill
- grillingSkill
- type-test-codeSkill
- explain-changesSkill
- github-appSkill
- github-ticketsSkill
- implementation-planSkill
- implement-simpleSkill
- implementSkill
- implement-ttcSkill
- orchestrationSkill
- pull-requestSkill
- review-and-wrap-upSkill
- verusSkill
- specSkill
- ticketsSkill
- update-working-copySkill
- verifySkill
- wrap-upSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use the bundled helper as the single interface for check-run status.
- Distinctive: line 15
Run one of these stable command shapes from the repository root:
- Very specific: line 59
After confirming a failure is transient or unrelated to the change, rerun the failed jobs for the workflow run with the GitHub App wrapper, …
- Very specific: line 73
Use the workflow run ID from the failed job URL.
- Very specific: line 86
Add --force when a normal cancel is not taking effect:
- Distinctive: line 123
Always relay the job URL printed by the helper.
- Very specific: line 127
When the helper's stderr reports that no GitHub Actions checks apply (exit 0 with no job listing on stdout), tell the user the PR/commit …
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Actions CI
Use the bundled helper as the single interface for check-run status. It selects the host-compatible curl binary, resolves the repository and commit, and uses GitHub App authentication when local App credentials are available.
Monitor checks
Run one of these stable command shapes from the repository root:
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.sh
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.sh --wait
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.sh --job JOB --wait
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.sh --job JOB --wait COMMITThe stable approval prefix is:
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.shSeveral check runs share a name
One commit can carry more than one check run per workflow. A repository that
triggers CI on both push and pull_request runs each workflow twice, so the
same commit has two build-and-test check runs from two workflow runs, and
GitHub's own PR rollup fails the commit when either fails
(mergeStateStatus: UNSTABLE).
The helper reports every one of them and judges every one; when a name repeats, it prints the workflow run id so the two triggers stay distinguishable:
build-and-test: completed (success) [run 41197892063]
https://github.com/o/r/actions/runs/41197892063/job/…
build-and-test: completed (failure) [run 41197885241]
https://github.com/o/r/actions/runs/41197885241/job/…It never collapses a repeated name to the newest run. Doing that once reported a
green PR while the push run for the same commit had failed — the two runs were
six seconds apart, so "latest" was the passing one.
For a PR, gh pr view <number> --json statusCheckRollup lists the same check
runs and is the second opinion to read before acting: a difference between it
and the helper means a check run is attached to the commit but not selected by
the PR, or the reverse. Read the run ids before rerunning anything.
Rerun failed jobs
After confirming a failure is transient or unrelated to the change, rerun the
failed jobs for the workflow run with the GitHub App wrapper, which runs gh as
the App:
${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh run rerun RUN_ID --failedThe stable approval prefix is:
${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.shUse the workflow run ID from the failed job URL. This reruns only failed jobs;
it does not create a new workflow run or rerun successful jobs. Monitor the
replacement checks with
${CLAUDE_SKILL_DIR}/scripts/check-ci-runs.sh --wait COMMIT.
Cancel runs
Cancel a workflow run by its run ID with the GitHub App wrapper:
${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh run cancel RUN_IDAdd --force when a normal cancel is not taking effect:
${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh run cancel RUN_ID --forceBoth share the rerun command's stable approval prefix. Get the run ID from the failed job URL. Cancellation is destructive: only cancel a run when the user has asked, and confirm the run ID first.
GitHub requires network access. In a restricted Codex sandbox, request network
escalation on the first call using that narrow prefix. Do not probe with raw
curl or first run the helper without network access when DNS failure is
expected. A persisted prefix approval can then match later invocations without
another prompt.
With --wait, keep the process running and poll its existing execution session
at intervals no longer than 30 seconds so the user continues to receive timely
updates. Do not start duplicate monitors. Authenticated polling defaults to ten
seconds; the helper backs off to sixty seconds when App credentials are absent
to respect GitHub's anonymous rate limit. When no check runs are found yet, the
helper waits up to CI_ABSENT_GRACE_SECONDS (default 120s) before concluding
that no GitHub Actions checks apply to the commit.
Exit status means:
0: every selected check completed successfully, or the helper determined that no GitHub Actions checks apply to this commit at all. Read the stderr line to tell which — a "no GitHub Actions workflows configured" or "no GitHub Actions checks apply to<sha>" message means the latter.1: at least one selected check completed unsuccessfully.2: selected checks are pending or undetermined when not using--wait.
A repeated name counts as several selected checks: --job build-and-test
judges both triggers' runs, so one failing is exit 1 even when the other
passed.
Always relay the job URL printed by the helper.
No CI configured
When the helper's stderr reports that no GitHub Actions checks apply (exit
0 with no job listing on stdout), tell the user the PR/commit has no
GitHub Actions CI rather than saying "CI passed" — there is nothing to point
a job URL at. Stop there: do not rerun the helper, start --wait again, or
otherwise keep monitoring a commit that has nothing to report.
Handle results
On success, run the unfiltered helper once to report the complete final CI
state when the repository workflow requires all jobs to pass. "Complete" means
every check run the helper lists, repeated names included — do not report a
commit green from a --job run alone, and on a PR cross-check
gh pr view <number> --json statusCheckRollup before calling it green.
On failure:
- Open the printed job URL, or read the job log with
${CLAUDE_SKILL_DIR}/../github-app/scripts/gh-app.sh run view --job JOB_ID --log. - Identify the first substantive failing step; ignore teardown noise caused by the failure.
- Reproduce with the repository's documented local command when the host supports it.
- Make only in-scope changes, run the relevant local checks, push, and wait for the replacement CI run.
For CI architecture, artifacts, and project specific troubleshooting, create and update project specific documentation rather than duplicating it here.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

