payload-snapshot

payload-snapshot is a skill for Claude Code from openshift-eng/ai-helpers. It costs 36 tokens per session (6,205 once invoked), scanned A, original, Apache-2.0.

A downloader that saves the release, pull-request, CI, test-result, and regression data for an OpenShift payload into a local folder.

In plain words
What is it for?
Use it to collect data for rejected-payload investigations, compare failures across payloads, or work when network access is limited.
Why use it?
It creates a point-in-time copy that can be inspected offline and used for repeatable analysis without making live requests during the investigation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

Good fit Use it to collect data for rejected-payload investigations, compare failures across payloads, or work when network access is limited.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openshift-eng/ai-helpers/payload-snapshot
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 payload-snapshot
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 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-snapshot

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/openshift-eng/ai-helpers/payload-snapshot"><img src="https://agentmods.dev/badge/skills/openshift-eng/ai-helpers/payload-snapshot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,205 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00036 $0.06205
Opus 5.5 $0.00014 $0.02482
Sonnet 5.5 $0.00007 $0.01241
Haiku 4.5 $0.00004 $0.00620

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

Security

Grade A, and why

payload-snapshot scanned grade A with 0 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 1mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/payload_snapshot.py, scripts/test_collection_completeness.py, scripts/test_gcs_bucket_remap.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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ci/skills/payload-snapshot/SKILL.md · 444 lines

How it starts

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

Payload Snapshot

This skill downloads all data needed to analyze an OpenShift payload into a local directory tree. The resulting snapshot can be navigated entirely via file reads — no live API calls required during analysis.

When to Use This Skill

Use this skill when you need to:

  • Analyze a rejected payload and want all data available locally before starting
  • Create a reproducible snapshot of payload state at a point in time
  • Track test failure regressions across multiple payloads
  • Work offline or reduce API calls during payload analysis

Prerequisites

  1. Python 3 (3.10 or later)

    • Uses only standard library (no external dependencies)
  2. GitHub CLI (gh) — for PR diff, comment, and job data

    • Install: brew install gh (macOS) or see https://cli.github.com
    • Authenticate: gh auth login
    • Without gh, release controller data is still fetched; PR data is skipped
  3. Google Cloud SDK (gcloud) — for JUnit test result download

    • Install: brew install google-cloud-sdk (macOS) or see https://cloud.google.com/sdk
    • Authentication is not required — the CI artifact buckets are public and are read anonymously when no account is configured
    • Without gcloud entirely, JUnit data is skipped and the snapshot is reported as incomplete (see Data completeness)
  4. Container runtime (podman) — for RHCOS RPMDB extraction

    • Install: available in most Linux distributions; brew install podman on macOS
    • Requires access to the release image registry (e.g., registry.ci.openshift.org)
    • Without podman, RPMDB data is skipped; all other data is still collected
  5. rpm CLI — for the RPM changelog diffs between payloads

    • Queries the already-extracted RPMDBs locally; no network, no root
    • Without rpm, changelog diffs are skipped; the RPMDBs themselves are still extracted
  6. Network access to:

    • *.ocp.releases.ci.openshift.org (release controller)
    • sippy.dptools.openshift.org (historical payload fallback)
    • api.github.com (via gh CLI)
    • storage.googleapis.com (via gcloud CLI)

Read the full file on GitHub · 444 lines

Files

What ships with it

6 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. 1mo ago First seen · 444 lines · 36 tokens per session scan A bc6ccfb32c23

Subscribe to this mod's changes

payload-snapshot is a skill published in the GitHub repository openshift-eng/ai-helpers (119 stars, last pushed yesterday), licensed Apache-2.0. It adds 36 tokens to every session and 6,205 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. 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

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

atmos-profiles

Atmos profiles: profile directories, --profile and ATMOSPROFILE activation, profile merge behavior, environment switching, and routing profile-specific auth/toolchain/config overrides.

cloudposse/atmos · 35 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens

deployment-engineer

Expert deployment engineer specializing in modern CI/CD pipelines, GitOps workflows, and advanced deployment automation. Masters GitHub Actions, ArgoCD/Flux, progressive delivery, container security, and platform engineering. Handles zero-downtime deployments, security scanning, and developer experience optimization.…

rmyndharis/antigravity-skills · 77 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens