Borrowing it
Nothing to install: this file belongs to frostyard/snosi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/frostyard/snosi/main/.github/prompts/triage-ci-failure.mdgit clone --depth 1 https://github.com/frostyard/snosiWrote 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.
[](https://agentmods.dev/commands/frostyard/snosi/triage-ci-failure)<a href="https://agentmods.dev/commands/frostyard/snosi/triage-ci-failure"><img src="https://agentmods.dev/badge/commands/frostyard/snosi/triage-ci-failure/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/frostyard/snosi/triage-ci-failure"><img src="https://agentmods.dev/badge/commands/frostyard/snosi/triage-ci-failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00297 |
| Opus 5 | $0.00000 | $0.00148 |
| Sonnet 5 | $0.00000 | $0.00059 |
| Haiku 4.5 | $0.00000 | $0.00030 |
Grade A, and why
triage-ci-failure 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 4d 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.
What it actually says
Prompt: triage a CI failure
Goal: find the root cause of the failure in <workflow / run URL>.
Steps:
- List recent runs of the workflow and identify the failing run and job.
- Fetch the failing job's logs and quote the first genuine error, not the final summary line — later failures in this repository's workflows are usually cascades of an earlier one.
- Map the job back to the script it calls. The workflows are thin callers:
validate.ymlruns shellcheck,check-runtime-etc-guard.sh,check-native-publication-guard.sh, and the fixture tests intest/;build-native-images.ymlcallsshared/native-ab/publish/*.shandshared/native-ab/ci/*.sh;build-images.ymlcallsshared/outformat/image/buildah-package.sh. - Reproduce locally with the smallest command that exercises the same code
path — usually a single script from
test/— before changing anything. - Fix the root cause in the script or configuration. Do not weaken, skip, or delete an assertion to make a job green; if an assertion is genuinely wrong, say so explicitly and explain why in the pull request.
Report back with: the failing job, the first real error, the root cause, the fix, and the command that now passes locally.
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.
- 4d ago First seen · 25 lines · 0 tokens per session scan A a57320322d94
triage-ci-failure is a command published in the GitHub repository frostyard/snosi (24 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 297 tokens. 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-06.
Other commands, from other repositories
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…
metrics
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
proxy-logs
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
traces
Apply the CLI runtime and safety contract before executing a command. Runtime --help is authoritative.
add-debug-wait
Add a wait step to a CI workflow for debugging test failures.
pr-quality-gate-reliability
You are reviewing a pull request for production survivability: how the change behaves when its dependencies misbehave, time out, or fail.