Analyze Payload

Analyze Payload is a skill for Claude Code, Codex from wangke19/gemini-ai-helpers. It costs 33 tokens per session (8,670 once invoked), scanned D, original, Apache-2.0.

A workflow for investigating a software delivery payload, meaning a proposed bundle of changes for a specific OpenShift version, when jobs have passed or failed.

In plain words
What is it for?
Use it to analyze rejected, accepted, or in-progress payloads, investigate failed blocking jobs, identify likely causes, and produce an HTML report.
Why use it?
It traces failures across earlier payloads and newly added pull requests, helping distinguish new problems from failures that have persisted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it to analyze rejected, accepted, or in-progress payloads, investigate failed blocking jobs, identify likely causes, and produce an HTML report.

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

Made for: Claude Code, Codex.

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 Analyze Payload

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangke19/gemini-ai-helpers/analyze-payload"><img src="https://agentmods.dev/badge/skills/wangke19/gemini-ai-helpers/analyze-payload.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 8,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 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.00033 $0.08670
Opus 5 $0.00016 $0.04335
Sonnet 5 $0.00007 $0.01734
Haiku 4.5 $0.00003 $0.00867

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

Security

Grade D, and why

Analyze Payload scanned grade D with 2 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Automated revert instructions -->

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

FETCH_PAYLOADS=$(find ~/.claude/plugins -type f -path "*/ci/skills/fetch-payloads/fetch_payloads.py" 2>/dev/null | sort | head -1)
extensions/ci/skills/analyze-payload/SKILL.md · 542 lines

How it starts

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

Analyze Payload

This skill analyzes a payload for a given OCP version, walks back through consecutive rejected payloads to determine when each failure started, correlates failures with newly introduced PRs, investigates each failed job in parallel, and produces a comprehensive HTML report.

It supports Rejected payloads (full analysis of all failed blocking jobs), Ready payloads (early analysis of blocking jobs that have already failed, with a determination of whether the payload is on track for rejection), and Accepted payloads (payloads can be force-accepted despite blocking failures, so any failed blocking jobs are still analyzed).

When to Use This Skill

Use this skill when you need to:

  • Understand why a payload was rejected
  • Investigate failures in a force-accepted payload (Accepted payloads may still have failed blocking jobs)
  • Assess whether an in-progress ("Ready") payload is likely to be rejected based on already-failed blocking jobs
  • Determine whether failures are new or persistent (permafailing)
  • Identify which PRs likely caused new failures
  • Get a comprehensive overview of payload health with actionable root cause analysis

Required Skills

Before starting, you MUST load the following skills (they define output schemas used in Steps 6, 8, and 9):

  1. payload-results-yaml — schema for the payload results YAML file
  2. payload-autodl-json — schema for the autodl JSON data file

Prerequisites

  1. Network Access: Must be able to reach:
    • OpenShift release controller (amd64.ocp.releases.ci.openshift.org)
    • Sippy API (sippy.dptools.openshift.org)
    • Prow (prow.ci.openshift.org)
  2. Python 3: For running fetch scripts
  3. gcloud CLI: For downloading Prow job artifacts

Implementation Steps

Step 1: Parse Arguments

The first argument is a full payload tag (e.g., 4.22.0-0.nightly-2026-02-25-152806). Parse from it:

  • tag: The specific payload tag to analyze
  • version: Extract from the tag (e.g., 4.22 from 4.22.0-0.nightly-...)
  • stream: Extract from the tag (e.g., nightly from 4.22.0-0.nightly-...)
  • architecture: Inferred from the tag. The tag format is <version>-0.<stream>[-<arch>]-<timestamp>. If no architecture is present between the stream and timestamp, it is amd64. Otherwise, the architecture is the segment between the stream and timestamp. Examples:
    • 4.22.0-0.nightly-2026-02-25-152806amd64
    • 4.22.0-0.nightly-arm64-2026-02-25-152806arm64
    • 4.22.0-0.nightly-ppc64le-2026-02-25-152806ppc64le
    • 4.22.0-0.nightly-s390x-2026-02-25-152806s390x
    • 4.22.0-0.nightly-multi-2026-02-25-152806multi
  • lookback: From --lookback N (default: 10)

Read the full file on GitHub · 542 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. 10d ago First seen · 542 lines · 33 tokens per session scan D d2e5cb0480df

Subscribe to this mod's changes

Analyze Payload 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 8,670 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 2 findings (hidden instructions, reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.