ci-failure-readout

ci-failure-readout is a skill for Claude Code from yeaight7/agent-powerups. It costs 28 tokens per session (588 once invoked), scanned A, original, Apache-2.0.

A process for finding the real cause of a failed CI pipeline, which is the automated system that builds and tests code. It filters noisy logs, extracts the specific error, and checks whether the same command fails locally.

In plain words
What is it for?
Use it when a CI job fails, to locate the failing step, capture the relevant compiler or test message, reproduce it, and write a concise failure report.
Why use it?
CI logs can contain thousands of lines of setup and cleanup output that hide the useful error. Reproducing the failure locally gives a clearer basis for fixing it.

Skill for Claude Code

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

Part of the quality-gates plugin — 8 skills, 4 commands, 7 agents shipped together

Good fit Use it when a CI job fails, to locate the failing step, capture the relevant compiler or test message, reproduce it, and write a concise failure report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeaight7/agent-powerups/ci-failure-readout
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 yeaight7/agent-powerups --skill ci-failure-readout
Clone the repo
git clone --depth 1 https://github.com/yeaight7/agent-powerups

Made for: Claude Code.

Or install quality-gates, the plugin that ships this one along with the rest of its 8 skills, 4 commands, 7 agents.

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-readout

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeaight7/agent-powerups/ci-failure-readout"><img src="https://agentmods.dev/badge/skills/yeaight7/agent-powerups/ci-failure-readout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 588 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.00028 $0.00588
Opus 5 $0.00014 $0.00294
Sonnet 5 $0.00006 $0.00118
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

ci-failure-readout 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 3d 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/quality-gates/skills/ci-failure-readout/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

CI logs are notoriously noisy. Extract the one true error, prove it locally, and write a readout — do not dump the entire log into the context window.

When to Use

  • A CI pipeline failed and the error is buried in long logs
  • A readout is needed before deciding what (or who) fixes the failure
  • A CI failure must be reproduced locally before fixing

Inputs

  • Access to the CI run (e.g., gh for GitHub Actions) or a downloaded log file
  • The repo, to rerun the failing command locally

Workflow

  1. Locate the true error. Find the exact step that failed; ignore setup/teardown noise:

    gh run list --limit 10               # find the failing run
    gh run view <run-id>                 # failing job and step
    gh run view <run-id> --log-failed    # logs from failing steps only
    # or, with a downloaded log:
    grep -n -iE "error|failed|exit code" ci.log | head -20
    
  2. Extract the trace. Copy only the stack trace or the specific compiler/linter error message — not the surrounding noise.

  3. Reproduce locally. The first rule of fixing a CI failure is proving it fails locally. Run the exact command the CI runner used (read it from the workflow/step definition), e.g.:

    npm run test:e2e    # whatever the failing step actually ran
    
  4. Draft the readout. Before fixing it, write a 2-sentence summary: "CI failed during the build step because src/types.ts is missing an export." This forces you to understand the problem instead of blindly guessing.

Output

  • The failing step, the extracted error (trace or message only), local repro status, and the 2-sentence readout

Verification

  • Failing step identified by name, not "somewhere in CI"
  • Only the relevant trace/error extracted — no full-log dumps in context
  • Failure reproduced locally with the CI's exact command (or the gap explained)
  • 2-sentence readout written before any fix

Failure Modes

  • Log flooding — pasting thousands of lines into context instead of the failing step's error.
  • Fixing without local repro — pushing speculative fixes and using CI as the test loop.
  • First-red-line fallacy — the earliest red text may be a symptom; the failing step defines where to look.

Read the full file on GitHub · 59 lines

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. 3d ago First seen · 59 lines · 28 tokens per session scan A d3af9ab557bf

Subscribe to this mod's changes

ci-failure-readout is a skill published in the GitHub repository yeaight7/agent-powerups (6 stars, last pushed 3d ago), licensed Apache-2.0. It adds 28 tokens to every session and 588 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-09-14.