ci-triage

ci-triage is a skill for Claude Code, Codex from fall-out-bug/sdp. It costs 23 tokens per session (408 once invoked), scanned A, original, MIT.

A workflow for investigating failed GitHub Actions checks, the automated jobs that test and build code on GitHub.

In plain words
What is it for?
Use it to inspect failed runs, classify the problem, suggest a safe fix, and record the follow-up in Beads, a task tracker.
Why use it?
It turns scattered CI logs into a likely root cause and a follow-up task when the branch is still failing.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/fall-out-bug/sdp/ci-triage
Any agent
npx skills add fall-out-bug/sdp --skill ci-triage
Clone the repo
git clone --depth 1 https://github.com/fall-out-bug/sdp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for ci-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/fall-out-bug/sdp/ci-triage.svg)](https://agentmods.dev/skills/fall-out-bug/sdp/ci-triage)
Your own site
<a href="https://agentmods.dev/skills/fall-out-bug/sdp/ci-triage"><img src="https://agentmods.dev/badge/skills/fall-out-bug/sdp/ci-triage.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 408 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00408
Opus 5 $0.00012 $0.00204
Sonnet 5 $0.00005 $0.00082
Haiku 4.5 $0.00002 $0.00041

Measured 4d ago against content hash 3955c4775dca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ci-triage 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.

prompts/skills/ci-triage/SKILL.md · 77 lines

What it actually says

CI Triage

Use this skill when a branch or PR has failing CI and you need fast root-cause with actionable follow-up.

Inputs

  • PR number or URL (preferred)
  • Or branch name (e.g. feature/<feature-id>)

Workflow

1) Collect CI signal

gh pr checks <pr-number>
gh run list --branch <branch> --limit 20

2) Identify failing runs and jobs

gh run view <run-id>
gh run view <run-id> --log-failed

If logs are missing, query run metadata and check-suite details:

gh api repos/<owner>/<repo>/actions/runs/<run-id>
gh api repos/<owner>/<repo>/actions/runs/<run-id>/jobs

3) Classify root cause

Pick one primary class:

  • Workflow config issue
  • Test/regression failure
  • Environment/dependency drift
  • Permissions/secrets issue
  • Flaky/infra transient

4) Propose smallest safe fix

  • Point to exact workflow/job/step
  • Provide command-level repro if possible
  • Suggest one patch path and one fallback

5) Track in Beads

Create a follow-up item when CI is not green:

bd create --title="CI: <short root cause>" --type=bug --priority=1
bd dep add <new-id> <parent-feature-id>
bd sync

Output Template

## CI Triage Result

- Branch/PR: ...
- Failing workflow(s): ...
- Root cause: ...
- Evidence: run/job/step links
- Proposed fix: ...
- Beads follow-up: <id>
Changes

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.

  1. 4d ago First seen · 77 lines · 23 tokens per session scan A 3955c4775dca

Subscribe to this mod's changes

ci-triage is a skill published in the GitHub repository fall-out-bug/sdp (19 stars, last pushed 2mo ago), licensed MIT. It adds 23 tokens to every session and 408 once invoked, about $0.0001 per session on Opus 5. 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-08-30.