# ci failure triage

> Cluster and rank CI test failures by root cause to find the one bug breaking your entire build.

ci failure triage is a paid AI agent skill on Agensi by Johnny Gu, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Johnny Gu](https://www.agensi.io/creators/johnny-gu)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-08-11
- Security: scan passed (2026-08-11); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/ci-failure-triage
- Tags: testing-qa, pytest, jest, typescript, ci-cd, python

## About this skill

### The problem

CI logs with dozens of failing tests are overwhelming. Finding the actual root cause in a wall of stack traces is slow, manual work that delays developers from starting the fix.

### What it does

- Groups identical failures by normalizing messages to remove noise like timestamps, memory addresses, and UUIDs.
- Ranks failure clusters by frequency to show which bug accounts for the most noise.
- Identifies the specific line in your project code where the error originated, skipping internal library frames.
- Supports major runners including pytest, Jest, Vitest, Go test, mypy, tsc, and eslint.
- Provides a clear recommendation on which specific failure to fix first to clear the build.

### Frameworks & tools

Python 3.8+, pytest, Jest, Vitest, Go, Mypy, TypeScript, and ESLint.

### Why this beats prompting it yourself

Raw LLMs struggle to maintain focus when processing thousands of lines of log data and often fail to correctly normalize variable data like hex addresses. This skill uses a deterministic clustering logic that ensures every single failure is accounted for without hallucinating connections or missing edge cases in large files.

### Use cases

- Triaging a red build with 50+ failures after a major refactor.
- Distinguishing between a flakey test and a genuine environment-wide outage.
- Quickly identifying which ESLint or TypeScript rule is causing the most friction across a codebase.
- Gating pipeline steps using the standard exit code logic.

### Known limitations

Normalisation might occasionally group two unrelated bugs if they produce identical assertion messages. It requires a text-based log file or piped stdin to function.

## Requires

- Python

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the ci failure triage skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill help when my CI build has dozens of failing tests?

This skill automates the triage process by normalizing logs to strip out noise (like timestamps and memory addresses), clustering similar failures together, and ranking them so you can identify the single bug causing a cascade of failures.

### Which testing frameworks and languages is this tool compatible with?

It supports a wide range of popular runners and linters, including pytest, Jest, Vitest, Go test, mypy, tsc, and ESLint, making it versatile for both frontend and backend workflows.

### Why should I use this skill instead of just pasting my logs into a standard LLM?

Unlike raw prompts that may struggle with large log files or hallucinate connections, this skill uses deterministic clustering logic to ensure every failure is accounted for accurately without missing data.

### Can I integrate this skill directly into my automated CI/CD pipeline?

Yes, the skill is designed to accept piped stdin or standard text-based log files, allowing you to easily integrate it into your existing pipeline scripts or local terminal workflow.

### Does it provide specific code locations for the errors, or just high-level summaries?

The skill identifies the specific line in your project code where an error originated by intelligently filtering out internal library frames, so you don't have to hunt through deep stack traces.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
