fetch-payloads

fetch-payloads is a command for coding agents from openshift-eng/ai-helpers. It costs 11 tokens per session (729 once invoked), scanned B, original, Apache-2.0.

A command that retrieves recent OpenShift release payloads from the release controller. OpenShift is a platform for running containerized applications, and a release payload is a candidate build with its validation results.

In plain words
What is it for?
It fetches payloads by architecture, version, and release stream, with optional phase and result limits. If no version is supplied, it looks up the latest version through the Sippy API.
Why use it?
It gathers release status in one place, including whether a payload was accepted, rejected, or ready. For rejected releases, it identifies failed blocking jobs and their Prow links.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

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.

agentmods
npx agentmods add commands/openshift-eng/ai-helpers/fetch-payloads
Clone the repo
git clone --depth 1 https://github.com/openshift-eng/ai-helpers

Or install ci, the plugin that ships this one along with the rest of its 34 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 fetch-payloads

README.md
[![agentmods](https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/fetch-payloads.svg)](https://agentmods.dev/commands/openshift-eng/ai-helpers/fetch-payloads)
Your own site
<a href="https://agentmods.dev/commands/openshift-eng/ai-helpers/fetch-payloads"><img src="https://agentmods.dev/badge/commands/openshift-eng/ai-helpers/fetch-payloads.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 729 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
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 $0.00011 $0.00729
Opus 5 $0.00005 $0.00365
Sonnet 5 $0.00002 $0.00146
Haiku 4.5 $0.00001 $0.00073

Measured 5d ago against content hash 8e1391d2dd6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

fetch-payloads 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 5d 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.

FETCH_PAYLOADS=$(find ~/.claude/plugins -type f -path "*/ci/skills/fetch-payloads/fetch_payloads.py" 2>/dev/null | sort | head -1)
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/ci/commands/fetch-payloads.md · 73 lines

How it starts

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

Name

ci:fetch-payloads

Synopsis

/ci:fetch-payloads [architecture] [version] [stream]

Description

The ci:fetch-payloads command fetches recent release payloads from the OpenShift release controller. It shows each payload's tag name, phase (Accepted/Rejected/Ready), timestamp, and blocking job results. For rejected payloads, it reports which blocking jobs failed with Prow links.

Implementation

  1. Determine parameters: Default to amd64 architecture and nightly stream if the user hasn't specified them. If no version is provided, the script fetches the latest from the Sippy API.

  2. Fetch payloads: Use the fetch-payloads skill:

    FETCH_PAYLOADS="${CLAUDE_PLUGIN_ROOT}/skills/fetch-payloads/fetch_payloads.py"
    if [ ! -f "$FETCH_PAYLOADS" ]; then
      FETCH_PAYLOADS=$(find ~/.claude/plugins -type f -path "*/ci/skills/fetch-payloads/fetch_payloads.py" 2>/dev/null | sort | head -1)
    fi
    if [ -z "$FETCH_PAYLOADS" ] || [ ! -f "$FETCH_PAYLOADS" ]; then echo "ERROR: fetch_payloads.py not found" >&2; exit 2; fi
    python3 "$FETCH_PAYLOADS" [architecture] [version] [stream]
    

    Optional flags:

    • --phase Accepted|Rejected|Ready to filter by phase
    • --limit N to control how many results to show (default 5)
  3. Present the results: Show the user the payload list. For rejected payloads, highlight the failed blocking jobs and their Prow links.

Return Value

  • Format: One block per payload with tag, phase, timestamp, URL, and job details
  • Rejected payloads: Each failed blocking job is listed with retry count and Prow link
  • Ready payloads: Summary of succeeded/pending/failed blocking job counts
  • Accepted payloads: Confirmation that all blocking jobs succeeded

Examples

  1. Latest nightly payloads (defaults to amd64, latest version, last 5):

    /ci:fetch-payloads
    
  2. Specific version and architecture:

    /ci:fetch-payloads arm64 4.18 nightly
    
  3. Only accepted payloads:

    /ci:fetch-payloads amd64 4.23 nightly --phase Accepted
    

Read the full file on GitHub · 73 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. 5d ago First seen · 73 lines · 11 tokens per session scan B 8e1391d2dd6a

Subscribe to this mod's changes

fetch-payloads is a command published in the GitHub repository openshift-eng/ai-helpers (114 stars, last pushed yesterday), licensed Apache-2.0. It adds 11 tokens to every session and 729 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.