Prow Job Analyze Test Failure

Prow Job Analyze Test Failure is a skill for Claude Code from wangke19/gemini-ai-helpers. It costs 33 tokens per session (14,292 once invoked), scanned C, original, Apache-2.0.

A guide for investigating failed Prow CI jobs. Prow is a system that runs automated tests for software projects; the guide examines logs, test code, downloaded job files, and optional cluster diagnostics.

In plain words
What is it for?
Use it with a Prow job URL to inspect all failed steps or focus on one named test, including its logs and stack trace.
Why use it?
It gathers the evidence needed to find why a CI test failed instead of relying only on a short failure message.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 extensions/ci/skills/prow-job-extract-must-gather/extract_archives.py \.

Good fit Use it with a Prow job URL to inspect all failed steps or focus on one named test, including its logs and stack trace.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers
agentmods
npx agentmods add skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure

Made for: Claude Code.

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 Prow Job Analyze Test Failure

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure/github.svg)](https://agentmods.dev/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure)
Your own site
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure/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 Prow Job Analyze Test Failure

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,292 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00033 $0.14292
Opus 5 $0.00016 $0.07146
Sonnet 5 $0.00007 $0.02858
Haiku 4.5 $0.00003 $0.01429

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

Security

Grade C, and why

Prow Job Analyze Test Failure scanned grade C with 1 finding 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 12d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Remove all existing content: `rm -rf .work/prow-job-analyze-test-failure/{build_id}/logs/`
extensions/ci/skills/prow-job-analyze-test-failure/SKILL.md · 1,276 lines

How it starts

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

Prow Job Analyze Test Failure

This skill analyzes test failures by downloading Prow CI artifacts, checking test logs, inspecting resources and events, analyzing test source code, and optionally integrating cluster diagnostics from must-gather data.

Prerequisites

Identical with "Prow Job Analyze Resource" skill.

Input Format

The user will provide:

  1. Prow job URL - gcsweb URL containing test-platform-results/

    • Example: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_hypershift/6731/pull-ci-openshift-hypershift-main-e2e-aws/1962527613477982208
    • URL may or may not have trailing slash
  2. Test name (optional) - specific test name that failed

    • When provided, focus the analysis on that test's stack trace and logs
    • When omitted, analyze all failed CI steps by inspecting the JUnit XML, build logs, and step artifacts to identify the root cause — this is the common case for multi-step CI workflows (e.g. HyperShift, bare-metal OADP jobs) where the failure is in a step rather than a named unit test
    • Examples:
      • TestKarpenter/EnsureHostedCluster/ValidateMetricsAreExposed
      • TestCreateClusterCustomConfig
      • The openshift-console downloads pods [apigroup:console.openshift.io] should be scheduled on different nodes
  3. Optional flags (optional):

    • --fast - Skip must-gather extraction and analysis; continue with log/JUnit/step-artifact analysis only (scope is preserved: test-level when test-name is provided, step-level across all failed CI steps when omitted)

Implementation Steps

Step 1: Parse and Validate URL

Use the "Parse and Validate URL" steps from "Prow Job Analyze Resource" skill

Step 2: Create Working Directory

  1. Check for existing artifacts first

    • Check if .work/prow-job-analyze-test-failure/{build_id}/logs/ directory exists and has content
    • If it exists with content:
      • Use AskUserQuestion tool to ask:
        • Question: "Artifacts already exist for build {build_id}. Would you like to use the existing download or re-download?"
        • Options:
          • "Use existing" - Skip to step Analyze Test Failure
          • "Re-download" - Continue to clean and re-download
      • If user chooses "Re-download":
        • Remove all existing content: rm -rf .work/prow-job-analyze-test-failure/{build_id}/logs/
        • Also remove tmp directory: rm -rf .work/prow-job-analyze-test-failure/{build_id}/tmp/
        • This ensures clean state before downloading new content
      • If user chooses "Use existing":
        • Skip directly to Step 4 (Analyze Test Failure)
        • Still need to download prowjob.json if it doesn't exist

Read the full file on GitHub · 1,276 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 1,276 lines · 33 tokens per session scan C 7b3715c510b4

Subscribe to this mod's changes

Prow Job Analyze Test Failure is a skill published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 14,292 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.