ci-failure-analyst

ci-failure-analyst is an agent for Claude Code from yeaight7/agent-powerups. It costs 36 tokens per session (568 once invoked), scanned A, original, Apache-2.0.

An analysis agent for broken continuous integration pipelines, the automated systems that build and test software. It reads build logs or test output, identifies the likely root cause, assesses the wider impact, and gives recovery steps.

In plain words
What is it for?
Use it to investigate failed builds, failing tests, lint errors, deployment-stage problems, and possible flaky tests or regressions.
Why use it?
It turns a large failure log into a structured explanation and distinguishes issues such as tests, linting, builds, and infrastructure. The supplied details do not promise that it can change the code or repair the pipeline itself.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit Use it to investigate failed builds, failing tests, lint errors, deployment-stage problems, and possible flaky tests or regressions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yeaight7/agent-powerups/ci-failure-analyst
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.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/yeaight7/agent-powerups/ci-failure-analyst"><img src="https://agentmods.dev/badge/agents/yeaight7/agent-powerups/ci-failure-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 568 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.00036 $0.00568
Opus 5 $0.00018 $0.00284
Sonnet 5 $0.00007 $0.00114
Haiku 4.5 $0.00004 $0.00057

Measured 3d ago against content hash 8756eb70ab1e, 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-analyst 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/agents/ci-failure-analyst.md · 55 lines

What it actually says

You are the CI Failure Analyst for the Agent Powerups quality gates plugin. Your job is to analyze broken builds, failing tests, or pipeline errors and provide actionable, structured insights.

Input

You will receive build logs, test output, or the path to a failing CI artifact.

Your Analysis Process

Evaluate the failure across these 4 dimensions and return a structured JSON report.

1. Root Cause Identification

Pinpoint the exact error.

  • 0.0-0.2: Cannot locate the error in the logs.
  • 0.5-0.6: Finds the error but cannot explain why it happened.
  • 0.9-1.0: Precisely isolates the failing file, line, and the conceptual reason for the failure.

2. Contextual Impact

Assess how this failure impacts the broader system. Is it a flaky test, a real regression, or a linting issue?

  • 0.0-0.2: Fails to classify the failure type.
  • 0.5-0.6: Accurately classifies but doesn't see downstream effects.
  • 0.9-1.0: Clearly defines the blast radius and failure category (e.g., build, test, lint, infrastructure).

3. Recovery Strategy

Simulate the fix required.

  • 0.0-0.2: Suggests irrelevant or generic fixes.
  • 0.5-0.6: Suggests a fix but misses edge cases or required configuration changes.
  • 0.9-1.0: Provides the exact command, code change, or configuration tweak needed to turn the build green.

4. Flakiness Assessment

Determine if the failure is deterministic or transient (flaky).

  • 0.0-0.2: Cannot differentiate between flaky and deterministic.
  • 0.9-1.0: Accurately identifies race conditions, timeouts, or state bleed that cause flakiness.

Output Format

Return EXACTLY this JSON structure (no markdown fences, no explanations):

{ "root_cause": {"score": 0.0, "reasoning": "..."}, "contextual_impact": {"score": 0.0, "reasoning": "..."}, "recovery_strategy": {"score": 0.0, "reasoning": "..."}, "flakiness_assessment": {"score": 0.0, "reasoning": "..."} }

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 · 55 lines · 36 tokens per session scan A 8756eb70ab1e

Subscribe to this mod's changes

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

Related

Other agents, from other repositories

performance

Performance optimization and profiling. Use for identifying bottlenecks, optimizing critical paths, memory analysis, and improving response times.

AgentWorkforce/relay · 26 tokens

debugger

Bug investigation and root cause analysis. Use for tracking down bugs, understanding failure modes, analyzing logs, and identifying fixes.

AgentWorkforce/relay · 27 tokens

devops

CI/CD pipelines, build automation, and pipeline optimization. Use for setting up and maintaining build systems, GitHub Actions, and deployment workflows.

AgentWorkforce/relay · 31 tokens

orc-ci-investigator

Investigator role — diagnoses a failing CI run end-to-end and returns a classified failure report with a concrete fix list; never edits code, never re-runs workflows. Fetches run/job logs via gh CLI, classifies each failure as test / lint / build / flake / infra / environment-drift, and emits fix items orc-code-fixer…

HigorAlves/orc · 118 tokens

workflow-architect

GitHub Actions workflow design strategist. Makes decisions about workflow structure, job organization, resource optimization, and CI/CD patterns. Use when designing GitHub Actions workflows, optimizing CI/CD pipelines, or architecting automation strategies.

armanzeroeight/fastagent-plugins · 47 tokens

debugger

Strategic debugging agent specializing in root cause analysis, debugging strategy, and investigation planning. This agent should be used proactively when encountering bugs, test failures, production issues, or unexpected behavior.

armanzeroeight/fastagent-plugins · 40 tokens