prow-job-analyze-resource

prow-job-analyze-resource is a skill for Claude Code from openshift-eng/ai-helpers. It costs 33 tokens per session (6,570 once invoked), scanned B, original, Apache-2.0.

A troubleshooting tool for tracing Kubernetes resource changes during Prow CI jobs. It reads audit and pod logs from Google Cloud Storage and creates interactive HTML timelines.

In plain words
What is it for?
Use it to search Prow artifacts for specific resources and investigate their lifecycle across temporary test clusters.
Why use it?
It helps explain what happened to pods, deployments, ConfigMaps, and other resources during a failed test, including when they were created, changed, or deleted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool.

Part of the ci plugin — 37 skills, 21 commands, 2 agents shipped together

Good fit Use it to search Prow artifacts for specific resources and investigate their lifecycle across temporary test clusters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-eng/ai-helpers/prow-job-analyze-resource
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 openshift-eng/ai-helpers --skill prow-job-analyze-resource
Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Made for: Claude Code.

Or install ci, the plugin that ships this one along with the rest of its 37 skills, 21 commands, 2 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 prow-job-analyze-resource

README.md
[![agentmods](https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/prow-job-analyze-resource/github.svg)](https://agentmods.dev/skills/openshift-eng/ai-helpers/prow-job-analyze-resource)
Your own site
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/prow-job-analyze-resource"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/prow-job-analyze-resource/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-resource

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/prow-job-analyze-resource"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/prow-job-analyze-resource.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 6,570 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 105
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 106
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Agent Snooping · line 125
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.06570
Opus 5.5 $0.00013 $0.02628
Sonnet 5.5 $0.00007 $0.01314
Haiku 4.5 $0.00003 $0.00657

Measured 2mo ago against content hash 17b3cc81f8fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

prow-job-analyze-resource scanned grade B 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 2mo ago.

The scan reads SKILL.md. This mod also ships 10 executable files (create_context_html_files.py, create_inline_html_files.py, generate_html_report.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 deletemediumDestructive 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-resource/{build_id}/logs/`

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/ci/skills/prow-job-analyze-resource/SKILL.md · 591 lines

How it starts

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

Prow Job Analyze Resource

This skill analyzes the lifecycle of Kubernetes resources during Prow CI job execution by downloading and parsing artifacts from Google Cloud Storage.

When to Use This Skill

Use this skill when the user wants to:

  • Debug Prow CI test failures by tracking resource state changes
  • Understand when and how a Kubernetes resource was created, modified, or deleted during a test
  • Analyze resource lifecycle across audit logs and pod logs from ephemeral test clusters
  • Generate interactive HTML reports showing resource events over time
  • Search for specific resources (pods, deployments, configmaps, etc.) in Prow job artifacts

Prerequisites

Read SCRIPTS.md for the bundled helper inventory and standalone usage examples.

Before starting, verify these prerequisites:

  1. gcloud CLI Installation

  2. gcloud Authentication (Optional)

    • The test-platform-results-public bucket is publicly accessible
    • No authentication is required for read access
    • Skip authentication checks

Input Format

The user will provide:

  1. Prow job URL - Prow UI (/view/gs/<bucket>/) or gcsweb (/gcs/<bucket>/)

    • Example: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results-public/pr-logs/pull/30393/pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn/1978913325970362368/
    • <bucket> is any non-empty segment after /gs/ or /gcs/
    • Use parse_url.py's bucket and gcs_base_path for artifact reads. Keep the URL bucket as-is, including prow-artifact-archive.
    • URL may or may not have trailing slash
  2. Resource specifications - Comma-delimited list in format [namespace:][kind/]name

    • Supports regex patterns for matching multiple resources
    • Examples:
      • pod/etcd-0 - pod named etcd-0 in any namespace
      • openshift-etcd:pod/etcd-0 - pod in specific namespace
      • etcd-0 - any resource named etcd-0 (no kind filter)
      • pod/etcd-0,configmap/cluster-config - multiple resources
      • resource-name-1|resource-name-2 - multiple resources using regex OR
      • e2e-test-project-api-.* - all resources matching the pattern

Read the full file on GitHub · 591 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. 2mo ago Changed · +4 lines 17b3cc81f8fa
  2. 2mo ago First seen · 587 lines · 33 tokens per session scan B 8912053fe3d2

Subscribe to this mod's changes

prow-job-analyze-resource is a skill published in the GitHub repository openshift-eng/ai-helpers (123 stars, last pushed 4d ago), licensed Apache-2.0. It adds 33 tokens to every session and 6,570 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

prow-job-analyze-resource compared with skills from other repositories

prow-job-analyze-resource next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prow-job-analyze-resourceopenshift-eng/ai-helpersSkill1234d agoApache-2.0B33Claude Code
application-integration-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A105Claude Code, Codex
pathways-workloadgoogle/skillsSkill25ktodayApache-2.0A178Claude Code, Codex
compute-mig-autoscaling-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A150Claude Code, Codex
gke-workload-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A69Claude Code, Codex
gke-workload-scaling-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A170Claude Code, Codex
api-gateway-troubleshootinggoogle/skillsSkill25ktodayApache-2.0A196Claude Code, Codex