ci-triage
Skill0 starsChanged 2 months agoMITView on GitHub
Classifies a failed CI run -- regression, flaky, infra, dependency, or config -- from the log alone plus local git history. Use when a CI job goes red and someone must decide whether to block the merge, rerun the job, or fix the pipeline. No model, no API, no telemetry - the log never leaves the machine, and exit 1 means only one thing -- a real regression.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- wannanbigpig/ai-engineering-collaborationtheir own version, first seen Nov 24, 2026
- yannelli/pi-rusttheir own version, first seen Nov 22, 2026
- TanKaizokuO/claude-skillstheir own version, first seen Nov 8, 2026
- me-cedric/agent-compasstheir own version, first seen Nov 1, 2026
- juzorei/ci-autopsytheir own version, first seen Nov 1, 2026
- andymai/brepjstheir own version, first seen Oct 9, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- NewFuture/DDNS★ 4.7ksame name
- nubjs/nub★ 4.5ksame name
- Mentra-Community/MentraOS★ 2.5ksame name
- levy-street/world-of-claudecraft★ 2.3ksame name
- ls1intum/Artemis★ 839same name
- hyperledger-cacti/cacti★ 413same name
- andymai/brepjs★ 151same name
- hyperledger-labs/splice★ 124same name
- fair-acc/gnuradio4★ 118same name
- yannelli/pi-rust★ 32same name
8 more not listed
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.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
exit 0: - not a merge blocker (flaky / pre-existing / infra / dependency / config / unknown): rerun or route elsewhere.
- Distinctive: line 74
Never paste CI logs into a chat/model to classify them - that is this skill's whole reason to exist.
- Very specific: line 76
Never call regression on an infra signature to sound decisive.
- Very specific: line 77
Never mark flaky without the history entry that proves it repeated.
“Common” is measured: kept by at least 6 in 10 of the 14 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
ci-triage
CI is red. The first question is always the same: flaky test, infra blip, or a real regression that should block the merge? Answering by hand means reading hundreds of log lines - and sending them to a model costs minutes and leaks your build output. Every answer here comes from the log, an optional local history, and git. Deterministic, offline, milliseconds.
The one rule
You may not classify a red build by vibes:
python scripts/ci-triage "$LOG" --history .ci/triage.json --base origin/main- exit 1 - regression: your diff broke it, fix before merge.
- exit 0 - not a merge blocker (flaky / pre-existing / infra / dependency / config / unknown): rerun or route elsewhere.
- exit 2 - usage error.
--strict makes any warning block too.
Protocol
- Grab the log - the raw CI job log (file, or pipe to stdin).
- Classify with the three inputs you have:
python scripts/ci-triage job.log --history .ci/triage.json --base origin/main --strict- Act on the class, not the noise:
| Class | Meaning | Action |
regression | code-level failure inside your diff | fix before merge |
pre-existing | failing code untouched by base...HEAD | not your PR; file/fix separately |
flaky | same normalized signature already in history | rerun, then quarantine the test |
infra | timeout / 429 / OOM / runner died | rerun the job |
dependency | resolution failed (pip/npm/cargo) | fix the lockfile, not the code |
config | command not found, permission, missing secret | fix the pipeline |
unknown | nothing matched | a human reads the log |
- Report back - class, signature, the exact command, exit code.
How it decides (three inputs, in order)
- Environment signatures - infra, dependency, and config patterns are
checked first: your code is not guilty of a
429. - History (
--history FILE) - a SHA-256 of the normalized failure excerpt (durations, SHAs, and paths stripped). Seen before ->flaky. The file is a plain local JSON counter; it is the only state, and it never leaves the machine. - Git (
--base REF) - paths extracted from the traceback. None of them inbase...HEAD->pre-existing. Otherwise ->regression.
Order matters: environment beats history beats git beats "it looks like code". The verdict is a pure function of (log, history, file) - same inputs, same answer, no sampling.
Hard bans
- Never paste CI logs into a chat/model to classify them - that is this skill's whole reason to exist.
- Never call
regressionon aninfrasignature to sound decisive. - Never mark
flakywithout the history entry that proves it repeated.
Reporting back
- Class and signature.
- Command and exit code:
$ python scripts/ci-triage job.log --history .ci/triage.json --base origin/main
ci-triage: regression (signature 4f0c2a91b3e7d158, 1 failing, 0 warnings)
[exit 1]- Action taken - fixed, rerouted, or rerun - per the table above.
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.

