openshift-versions

Retrieve OpenShift version information from Red Hat public and authenticated APIs.

2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/tomazb/agent-skills --skill openshift-versions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openshift-versions
Source: https://github.com/tomazb/agent-skills/tree/main/openshift-versions
Command: npx skills add https://github.com/tomazb/agent-skills --skill openshift-versions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps users discover available OpenShift versions, check for upgrade paths, and verify lifecycle metadata.

Core Features & Use Cases

  • Version Discovery: Automatically discovers active minor versions in OpenShift.
  • Upgrade Path Analysis: Identifies valid one-hop upgrade targets from a given version.
  • Lifecycle Metadata: Checks ROSA/HCP eligibility and lifecycle metadata with authenticated queries.
  • Use Case: If you are working with OpenShift and want to know the available versions, latest patches, or potential upgrade paths, this Skill provides the necessary information.

Quick Start

To discover the available OpenShift versions, run:

python3 scripts/query_versions.py --discover

Frequently Asked Questions about openshift-versions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I discover available OpenShift versions and latest patches?

You can discover available OpenShift versions and latest patches by running a Python script that automates retrieval of version information from Red Hat's public APIs, automatically identifying active minor versions.

What is a valid OpenShift upgrade path from my current version?

A valid OpenShift upgrade path identifies one-hop upgrade targets from a given version by analyzing version metadata retrieved from Red Hat APIs to determine safe direct upgrade targets.

Do I need authenticated API access to check OpenShift ROSA lifecycle metadata?

Yes, checking OpenShift ROSA and HCP eligibility or lifecycle metadata requires authenticated API queries, as public API access only supports basic version discovery.

Can I check OpenShift version upgrade paths without a Python environment?

No, checking OpenShift upgrade paths requires a Python environment to run the scripts that query Red Hat APIs for version information and analyze valid one-hop upgrade targets.

What OpenShift cluster management tasks require version discovery and lifecycle checks?

OpenShift cluster management tasks such as upgrade planning and lifecycle verification require version discovery, involving checks for ROSA/HCP eligibility and identifying valid upgrade paths using Red Hat API metadata.