windows-machine-config-operator: Command for Claude Code

.claude/commands/z-stream-release-check.md

z-stream-release-check is a command for Claude Code from openshift/windows-machine-config-operator. It costs 0 tokens per session (790 once invoked), scanned A, original, Apache-2.0.

A check for WMCO release branches, where branches are separate lines of maintained software versions, to see which ones need a z-stream release, a small maintenance update. It summarizes branch status, image freshness, open release tickets, and merged changes.

In plain words
What is it for?
It is for reviewing release readiness, image health, unreleased pull requests, and branch-by-branch sprint recommendations.
Why use it?
It helps teams spot release work before sprint planning and distinguish active branches from end-of-life ones.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is openshift/windows-machine-config-operator's own configuration. It tells Claude Code how to work on windows-machine-config-operator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything windows-machine-config-operator configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 hack/z-stream-release-check.py.

Reuse

Borrowing it

Nothing to install: this file belongs to openshift/windows-machine-config-operator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openshift/windows-machine-config-operator/master/.claude/commands/z-stream-release-check.md
Clone the repo
git clone --depth 1 https://github.com/openshift/windows-machine-config-operator

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 z-stream-release-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/openshift/windows-machine-config-operator/z-stream-release-check/github.svg)](https://agentmods.dev/commands/openshift/windows-machine-config-operator/z-stream-release-check)
Your own site
<a href="https://agentmods.dev/commands/openshift/windows-machine-config-operator/z-stream-release-check"><img src="https://agentmods.dev/badge/commands/openshift/windows-machine-config-operator/z-stream-release-check/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 z-stream-release-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/openshift/windows-machine-config-operator/z-stream-release-check"><img src="https://agentmods.dev/badge/commands/openshift/windows-machine-config-operator/z-stream-release-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 790 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.
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.00000 $0.00790
Opus 5.5 $0.00000 $0.00316
Sonnet 5.5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

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

Security

Grade A, and why

z-stream-release-check 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.

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.

.claude/commands/z-stream-release-check.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.

Run the WMCO z-stream release check to determine which release branches need a z-stream release before sprint planning.

Steps

  1. Run the check script:
python3 hack/z-stream-release-check.py
  1. Interpret and present the output to the user with a clear summary covering:

    • Release branches: Which OCP versions are active vs. EOL, and which is pre-release. If Jira is configured, open release tickets are shown under each branch.
    • Image health: Flag any branch whose catalog freshness grade is below B (action needed). The "Threshold Date" column shows the deadline (for healthy images) or when the image first crossed the threshold (for degraded images; may show a D/F date if the image skipped grade C entirely). CVE counts are informational only — the freshness grade already encodes CVE timeliness.
    • Unreleased PRs: For each active branch, how many team PRs have merged since the last release tag. Bot bump PRs (Konflux, Renovate, mintmaker, dependabot) are filtered out. Version-bump PRs from pre-release.sh are shown as [INFO] — they indicate release prep has started but do not themselves require a release.
    • Sprint recommendation: Grouped by branch — each branch that needs attention shows all reasons together (unreleased PRs with Jira keys, image grade, CVE counts, open Jira tickets).
  2. If the user requests more detail on a specific branch, re-run with:

python3 hack/z-stream-release-check.py --branch <branch-name>

Useful options

Flag Purpose
--all Include EOL branches (default: in-support only)
--branch release-4.X Check a single branch
--json Machine-readable output for scripting
--pre-release-prs Fetch unreleased PRs for pre-release branches (skipped by default)
--connectivity Test API connectivity only
--cutoff-months N Ignored (reserved for compatibility; EOM dates come from OCP lifecycle API)

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. 1mo ago First seen · 73 lines · 0 tokens per session scan A d3f2409fbe2d

Subscribe to this mod's changes

z-stream-release-check is a command published in the GitHub repository openshift/windows-machine-config-operator (52 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 790 tokens. 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-10-02.

Related

z-stream-release-check compared with commands from other repositories

z-stream-release-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
z-stream-release-checkopenshift/windows-machine-config-operatorCommand52yesterdayApache-2.0A0Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
qualityDesko77/claude-code-skills-1cCommand90yesterdayMITA18Claude Code
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
release-managerruvnet/agentic-flowCommand838yesterdaynoneA0Claude Code
create-prdsswift/ionCommand5yesterdayMITA28Claude Code
rally-merge-prddgonzal3/rallyCommand63d agoMITA0Claude Code