fetch-payloads

fetch-payloads is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 11 tokens per session (729 once invoked), scanned B, a copy of fetch-payloads, Apache-2.0.

A command that lists recent OpenShift software-release payloads from the release controller. It shows whether each proposed release was accepted, rejected, or ready, along with timestamps and blocking test jobs.

In plain words
What is it for?
Use it to fetch payloads by architecture, version, or release stream, then filter them by phase or limit the number of results.
Why use it?
It makes it easier to see which releases are blocked and which automated jobs caused a rejection, including links to the relevant Prow jobs.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; positional $N argument.

Good fit Use it to fetch payloads by architecture, version, or release stream, then filter them by phase or limit the number of results.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/fetch-payloads
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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/wangke19/gemini-ai-helpers/fetch-payloads.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/fetch-payloads)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/fetch-payloads"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-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. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00011 $0.00729
Opus 5 $0.00005 $0.00365
Sonnet 5 $0.00002 $0.00146
Haiku 4.5 $0.00001 $0.00073

Measured 7d ago against content hash 401eab0b2275, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 7d 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

This is a copy

100% identical to fetch-payloads — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/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="${GEMINI_EXTENSION_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. 7d ago First seen · 73 lines · 11 tokens per session scan B 401eab0b2275

Subscribe to this mod's changes

fetch-payloads is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), 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). It is 100% identical to fetch-payloads, differing in 2 lines, and is treated as a copy.