ci-failure-triage

ci-failure-triage is a skill for Claude Code from jakesterns/agent-skills. It costs 31 tokens per session (265 once invoked), scanned A, original, MIT.

A guide for finding the cause of failed CI/CD jobs. CI/CD automatically builds, tests, and sometimes deploys code, while logs record what happened during those jobs.

In plain words
What is it for?
Use it to classify failures, connect them to workflow files or recent changes, suggest the smallest fix, and identify ways to prevent repeats.
Why use it?
It separates the first meaningful error from later noise and helps decide whether the failure needs a fix or can reasonably be retried.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ci-failure-triage plugin — 1 skill shipped together

Good fit Use it to classify failures, connect them to workflow files or recent changes, suggest the smallest fix, and identify ways to prevent repeats.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jakesterns/agent-skills/ci-failure-triage
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.

Any agent
npx skills add jakesterns/agent-skills --skill ci-failure-triage
Clone the repo
git clone --depth 1 https://github.com/jakesterns/agent-skills

Made for: Claude Code.

Or install ci-failure-triage, the plugin that ships this one along with the rest of its 1 skill.

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-failure-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/jakesterns/agent-skills/ci-failure-triage/github.svg)](https://agentmods.dev/skills/jakesterns/agent-skills/ci-failure-triage)
Your own site
<a href="https://agentmods.dev/skills/jakesterns/agent-skills/ci-failure-triage"><img src="https://agentmods.dev/badge/skills/jakesterns/agent-skills/ci-failure-triage/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.

agentmods 80×15 button for ci-failure-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakesterns/agent-skills/ci-failure-triage"><img src="https://agentmods.dev/badge/skills/jakesterns/agent-skills/ci-failure-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 265 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.00265
Opus 5 $0.00015 $0.00133
Sonnet 5 $0.00006 $0.00053
Haiku 4.5 $0.00003 $0.00026

Measured 10d ago against content hash 5196c0b600cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ci-failure-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 10d 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.

plugins/ci-failure-triage/skills/ci-failure-triage/SKILL.md · 38 lines

What it actually says

CI Failure Triage

Use this skill when a CI or deployment job fails and the user provides logs, workflow files, or job metadata.

Inputs

  • CI logs, failing job and step names, workflow YAML, recent commits, dependency changes, and environment details

Steps

  1. Locate the first failing step and first meaningful error.
  2. Classify the failure: test regression, build error, dependency resolution, cache issue, credentials/permissions, environment drift, rate limit, flaky test, or deployment failure.
  3. Compare the failing step to workflow configuration and recent changes.
  4. Identify whether retrying is reasonable or whether a code/config fix is required.
  5. Recommend the smallest fix and any workflow hardening that prevents recurrence.
  6. Provide commands or workflow rerun steps when appropriate.

Output

Return:

  • Failure classification
  • Root cause hypothesis with evidence
  • Minimal fix plan
  • Retry guidance
  • Preventive hardening suggestions

Guidelines

  • Do not focus on the last error if earlier setup failed.
  • Be explicit when logs are insufficient.
  • Separate likely root cause from secondary noise.
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. 10d ago First seen · 38 lines · 31 tokens per session scan A 5196c0b600cc

Subscribe to this mod's changes

ci-failure-triage is a skill published in the GitHub repository jakesterns/agent-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 265 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

smoke-test

Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…

garrytan/gbrain · 79 tokens

mcore-create-issue

Investigate a failing GitHub Actions run or job and create a GitHub issue for the failure.

NVIDIA/skills · 26 tokens

debug-task

Diagnose and fix moon tasks that are broken, misconfigured, or behaving unexpectedly. Use this skill when a moon task is failing, not running, skipped, hanging, producing stale or wrong output, cached when it shouldn't be, re-running every time when it should be cached, or when outputs are empty or missing after a…

moonrepo/moon · 231 tokens

operating-github-ci-fixer

Use when the user asks OpenSRE to fix failing GitHub CI, GitHub Actions checks, failing pull request checks, a broken PR branch, or CI on a named branch such as main.

Tracer-Cloud/opensre · 48 tokens

ci-triage

Classify CI failures — distinguish clear regressions from infra flakes and security-test failures. Produces structured failure reports.

cobusgreyling/loop-engineering · 28 tokens

meta-long-running-build-watchdog

Watches a long-running command via tmux, lets sub-agent diagnose failures and propose a fix, and records the diagnosis to memory. Designed for overnight model fine-tunes, CI image builds, or repeated regression suites that may fail intermittently.

opensquilla/opensquilla · 131 tokens