fetch-payloads
БесплатноЗапускает вложенные скриптыНе проверенFetch recent release payloads from the OpenShift release controller
от openshift-eng★ 123 звезды на GitHubОб этом скилле
Fetch Payloads
This skill fetches recent release payloads from the OpenShift release controller, showing their tag name, acceptance phase, timestamp, blocking job results, and a link to the release details page.
When to Use This Skill
Use this skill when you need to:
- Find the latest accepted (or rejected) nightly or CI payloads for a given OCP version
- Check the current state of release payloads for any architecture
- See which blocking jobs failed for rejected payloads
- Get a link to the release controller page for a specific payload
Implementation Steps
Step 1: Determine defaults
If the user did not specify an architecture or stream, default to amd64 and nightly. If no version is specified, the script automatically fetches the latest from the Sippy API.
Step 2: Fetch payloads
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]
Examples:
# Latest amd64 nightly payloads (all defaults, last 5)
python3 "$FETCH_PAYLOADS"
# arm64 4.18 nightly
python3 "$FETCH_PAYLOADS" arm64 4.18 nightly
# Only accepted payloads
python3 "$FETCH_PAYLOADS" amd64 4.18 nightly --phase Accepted
# Show more results
python3 "$FETCH_PAYLOADS" amd64 4.18 nightly --limit 20
Step 3: Present results
The script outputs one block per payload to stdout with job details. Present to the user as-is or summarize.
Output Format
The script outputs a JSON object to stdout:
{
"hours_since_last_accepted": 23.5,
"last_accepted_tag": "4.22.0-0.nightly-2026-02-24-030944",
"payloads": [ ... ]
}
hours_since_last_accepted: Hours since the most recent Accepted payload in the stream (from the full unfiltered history), ornullif none found.last_accepted_tag: Tag name of the most recent Accepted payload, ornullif none found.payloads: Array of payload objects, each containing tag, phase, release controller URL, and job results (blocking and async jobs with Prow URLs and retry details).
Error Handling
- Unknown architecture: Exits with error listing valid architectures
- CI stream on non-amd64: Exits with error (CI stream is amd64-only)
- Network error: Prints connection failure to stderr, exits 1
- No payloads found: Prints message to stderr, exits 1
Установить fetch-payloads в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fetch-payloads?
Fetch recent release payloads from the OpenShift release controller
Как установить скилл fetch-payloads?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fetch-payloads запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub