check-ci
Skill127 starsChanged 11 days agoMITView on GitHub
Use when checking GitHub Actions results for a PR, investigating a failing job, or waiting on a run - covers compact status commands, log filtering, and how to wait without burning context
2 other projects use a version of this.
Adopted by
Most recently taken up by
- kaeawc/auto-mobiletheir own version, first seen Oct 8, 2026
- alexnodeland/principledtheir own version, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- kaeawc/auto-mobile★ 56same name
- alexnodeland/principled★ 4same 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 repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- .github/workflows/AGENTS.mdAGENTS.md
- nix/AGENTS.mdAGENTS.md
- proto/AGENTS.mdAGENTS.md
- sdks/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/workflows/CLAUDE.mdCLAUDE.md
- nix/CLAUDE.mdCLAUDE.md
- proto/CLAUDE.mdCLAUDE.md
- sdks/CLAUDE.mdCLAUDE.md
- authoring-specsSkill
- checking-spec-complianceSkill
- reviewing-specsSkill
- smoke-checkSkill
- working-with-nixSkill
- working-with-worktreesSkill
- writing-agent-docsSkill
- writing-rustSkill
- writing-rust-testsSkill
- writing-typescriptSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
If the job records annotations, they are cheaper still and include file and line:
- Distinctive: line 73
If you must loop, back off: 60s, then 120s, then 300s.
- Very specific: line 77
Never run gh api .../logs without a filter.
- Very specific: line 79
Never open a browser for CI.
- Very specific: line 81
Check the plan's ## Findings section before investigating a failure.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Checking CI in libxmtp
Raw CI output is the most expensive thing an agent can read. A single unfiltered job log is 10-12k tokens, and every token stays in context for the rest of the session. Use these recipes instead.
Status of a PR
dev/nix-shell 'just ci-status 4096'Failures first with job URLs, then one summary line:
FAILED:
test-node-sdk / Test (node-sdk) shard 2 https://github.com/.../job/103436317046
RUNNING: 1 job(s)
SUMMARY: 38 ok, 3 failed, 6 skipped, 1 runningDuplicates are collapsed to the latest attempt per job, so a re-run does not show up twice.
Why a job failed
Take the job id from the ci-status URL:
dev/nix-shell 'just ci-failures 103436317046'Returns only failure markers - test names, assertions, panics, rustc errors,
the failing recipe. Works for Rust and JS jobs. Typically 5-10 lines.
If the job records annotations, they are cheaper still and include file and line:
dev/nix-shell 'just ci-annotations 103435038571'Run timing and specific log lines
dev/ci/metrics measures runs: wall time, runner minutes by runner class, the
slowest steps, and the change class. For a merge run it also says whether the
PR's last run tested the same tree and whether the test outputs were fetched.
dev/nix-shell 'python3.11 -B dev/ci/metrics runs --branch main --event push --limit 5'
dev/nix-shell "python3.11 -B dev/ci/metrics marker 115531426546 'will be fetched'"marker prints only the log lines that match the pattern.
Waiting
Block. Do not poll.
gh run watch <run-id> --exit-statusA sleep-and-recheck loop costs one full-context model call per tick. In the
2026-09-10 session, 286 such polls consumed roughly 37M input tokens, and 40-65%
of what they returned was unchanged "queued" or "in progress" text.
If you must loop, back off: 60s, then 120s, then 300s.
Rules
- Never run
gh api .../logswithout a filter. That is the 10-12k token read these recipes exist to replace. - Never open a browser for CI. Everything is in
gh; the Blacksmith UI shows nothingjust ci-annotationsdoes not. - Check the plan's
## Findingssection before investigating a failure. This test is flaky here and has been re-diagnosed several times by different agents:testCanStreamGroupMessages. - Record the verdict in
## Findingswhen you finish, so the next agent does not repeat the work. - "Re-run failed jobs" tests the same old merge commit again. When the fix landed on the base branch after that commit, rebase the PR branch and push. Do not re-run.
- Under gh stack, each PR's checks run on a merge commit that contains the
trunk and every PR below it.
github.base_refis the trunk, andGITHUB_BASE_REFis empty inside a reusable workflow. A script that must compare a PR with its own base uses the merge commit's first parent (HEAD^1). Test it onrefs/pull/<n>/mergebefore you push.
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.

