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.
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpersnpx agentmods add skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failureWrote 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.
[](https://agentmods.dev/skills/wangke19/gemini-ai-helpers/prow-job-analyze-test-failure)<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.
<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>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.
| Model | Per session | Once 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 |
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/` 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:
-
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
- Example:
-
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/ValidateMetricsAreExposedTestCreateClusterCustomConfigThe openshift-console downloads pods [apigroup:console.openshift.io] should be scheduled on different nodes
-
Optional flags (optional):
--fast- Skip must-gather extraction and analysis; continue with log/JUnit/step-artifact analysis only (scope is preserved: test-level whentest-nameis 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
-
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
- Remove all existing 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
- Use AskUserQuestion tool to ask:
- Check if
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.
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.
- 12d ago First seen · 1,276 lines · 33 tokens per session scan C 7b3715c510b4
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.
Other skills, from other repositories
gcloud-usage
This skill should be used when user asks about "GCloud logs", "Cloud Logging queries", "Google Cloud metrics", "GCP observability", "trace analysis", or "debugging production issues on GCP".
spk-admin-setup-doctor
Install, verify, and repair Spec Kitty commands, skills, agent paths, runtime prerequisites, and common setup failures.
lov-fix-deepseek-tool-call-error
A recovery and investigation tool for a Codex conversation using DeepSeek, an AI service, when a failed tool request returns “No tool output found for tool call.” It examines local session records and reports how to resume the work.
lov-fix-by-add-log
A debugging assistant that adds a small amount of targeted diagnostic logging and uses the resulting output to investigate a hard-to-reproduce problem.
lov-fix-general
A software troubleshooting workflow for finding the cause of an error, applying a focused fix, and checking the original failing path again.
lov-fix-until-no-error
A verification-focused debugging workflow that repeatedly runs specified checks, fixes the highest-priority failure, and stops when the checks pass or a genuine external blockage remains.