payload-analysis

payload-analysis is a skill for Claude Code from openshift-eng/ai-helpers. It costs 29 tokens per session (13,621 once invoked), scanned B, original, Apache-2.0.

An analysis workflow for a payload snapshot, a saved view of release and continuous-integration data. It identifies likely causes of blocking job failures and recommends pull requests that may need reverting.

In plain words
What is it for?
It helps investigate rejected, accepted, or in-progress payloads, detect persistent failures, rank likely causes, and produce an HTML report.
Why use it?
It turns a rejected or unhealthy software release into a structured investigation instead of requiring developers to inspect every failure manually.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit It helps investigate rejected, accepted, or in-progress payloads, detect persistent failures, rank likely causes, and produce an HTML report.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add openshift-eng/ai-helpers
Claude Code
/plugin install ci

Made for: Claude Code.

Or install ci, the plugin that ships this one along with the rest of its 35 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 payload-analysis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/payload-analysis"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/payload-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,621 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00029 $0.13621
Opus 5.5 $0.00012 $0.05448
Sonnet 5.5 $0.00006 $0.02724
Haiku 4.5 $0.00003 $0.01362

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

Security

Grade B, and why

payload-analysis scanned grade B 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 16d 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.

Reads agent configuration directoriesmediumAgent snooping

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

SNAPSHOT_SCRIPT=$(find ~/.claude/plugins -type f -path "*/ci/skills/payload-snapshot/scripts/payload_snapshot.py" 2>/dev/null | sort | head -1)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Triage the results using failure context from Steps 3.4 and 3.5.** Extract the key signals from the failure: error messages, failing URLs/domains, exit codes, failing script names, and affected subsystems. Use commit m
plugins/ci/skills/payload-analysis/SKILL.md · 617 lines

How it starts

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

Payload Analysis

This skill analyzes a payload using a local snapshot (produced by payload-snapshot) to identify root causes of blocking job failures and produce a comprehensive HTML report. The snapshot pre-gathers all release controller, GitHub, and CI data so this skill can focus purely on analysis — no live API orchestration required.

It supports Rejected payloads (full analysis of all failed blocking jobs), Ready payloads (early analysis of blocking jobs that have already failed), and Accepted payloads (which may have been force-accepted despite blocking failures).

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
  • Assess whether an in-progress ("Ready") payload is likely to be rejected
  • Determine whether failures are new or persistent
  • Identify which PRs likely caused new failures
  • Get a comprehensive overview of payload health with actionable root cause analysis
  • Re-analyze a historical payload against its original snapshot data

Examples

  1. Analyze an amd64 nightly payload (auto-creates snapshot if needed):

    /ci:payload-analysis 4.22.0-0.nightly-2026-02-25-152806
    
  2. Analyze using an existing snapshot directory:

    /ci:payload-analysis 4.22.0-0.nightly-2026-02-25-152806 --snapshot-dir payload/4.22/nightly
    
  3. Analyze an arm64 payload (architecture inferred from tag):

    /ci:payload-analysis 4.22.0-0.nightly-arm64-2026-02-25-152806
    

Prerequisites

  1. Python 3 (3.10 or later) — for running the snapshot script if needed
  2. gcloud CLI — for subagent artifact download (must-gather, pod logs)
  3. GitHub CLI (gh) — for step-registry change detection (Step 3.6) and checking existing revert PRs (Step 6.3)

Bundled Resources

Load these only at the step that needs them — not up front:

  • references/investigation-subagent.md — the verbatim per-job subagent prompt and ANALYSIS_RESULT format (Step 4)
  • references/report-guide.md — per-section content rules for the HTML report (Step 7)
  • references/completeness-review.md — the completeness-reviewer prompt and response handling (Step 9)
  • assets/report-template.html — the fill-in-the-blanks HTML report template (Step 7)
  • references/ship-status-component-map.md — SHIP Status slug mapping (Step 6.5)

Read the full file on GitHub · 617 lines

Files

What ships with it

5 files 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. 16d ago Changed 61f74d80534c
  2. 1mo ago Changed 5256432ca50e
  3. 1mo ago First seen · 617 lines · 29 tokens per session scan B 057443f072d6

Subscribe to this mod's changes

payload-analysis is a skill published in the GitHub repository openshift-eng/ai-helpers (119 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 13,621 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

deck-retro

Run a fully local agent-deck retrospective over the user's own transcripts, Recall index and logs. Use when a user wants to find recurring failures or take their own finding from investigation through synthetic reproduction, a user-filed issue, a test-first fix and contributor PR handoff. Also use for weekly usage…

asheshgoplani/agent-deck · 86 tokens