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.
curl -O https://raw.githubusercontent.com/openshift/windows-machine-config-operator/master/.claude/commands/z-stream-release-check.mdgit clone --depth 1 https://github.com/openshift/windows-machine-config-operatorWrote 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.
[](https://agentmods.dev/commands/openshift/windows-machine-config-operator/z-stream-release-check)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
- Run the check script:
python3 hack/z-stream-release-check.py
-
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).
-
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) |
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.
- 1mo ago First seen · 73 lines · 0 tokens per session scan A d3f2409fbe2d
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.
z-stream-release-check compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| z-stream-release-checkopenshift/windows-machine-config-operator | Command | 52 | yesterday | Apache-2.0 | A | 0 | Claude Code |
| landgmickel/flow-next | Command | 717 | yesterday | MIT | A | 13 | Claude Code |
| qualityDesko77/claude-code-skills-1c | Command | 90 | yesterday | MIT | A | 18 | Claude Code |
| release-notesOpenHands/extensions | Command | 176 | yesterday | MIT | A | 44 | Claude Code |
| release-managerruvnet/agentic-flow | Command | 838 | yesterday | none | A | 0 | Claude Code |
| create-prdsswift/ion | Command | 5 | yesterday | MIT | A | 28 | Claude Code |
| rally-merge-prddgonzal3/rally | Command | 6 | 3d ago | MIT | A | 0 | Claude Code |