List and inspect OpenShift clusters across self-managed (OCP, SNO) and managed service (ROSA, ARO, OSD) deployments. Returns cluster name, ID, version, status, platform, and creation date. Use when: - "List all clusters" - "Show cluster status" - "What clusters are available?" - "Get details of cluster [name]" - "Show cluster events for diagnostics" Read-only operations. Does NOT modify clusters.
70
88%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
MCP-First Approach: This skill uses MCP tools from openshift-self-managed and openshift-ocm-managed servers. MCP tools have absolute priority.
CLI Tools Policy:
oc, kubectl) may be attempted if no MCP alternative existsList and inspect OpenShift clusters across all types (OCP, SNO, ROSA, ARO, OSD).
Required MCP Servers: openshift-self-managed, openshift-ocm-managed
Required MCP Tools:
list_clusters (from both servers) - Lists clusters (auto-routes to correct API)cluster_info (from both servers) - Gets cluster detailscluster_events (from openshift-self-managed only) - Gets events for self-managed clusterscluster_logs_download_url (from openshift-self-managed only) - Gets log download URL for diagnosticsEnvironment Variables: OFFLINE_TOKEN - Red Hat authentication token
Verification Steps:
mcps.jsonOFFLINE_TOKEN is set: test -n "$OFFLINE_TOKEN" && echo "✓" || echo "✗"Prerequisite Failure Handling: If prerequisites fail, report the missing requirement and stop execution.
Security: Never display credential values.
Use when:
Cluster Types: OCP, SNO, ROSA, ARO, OSD (all supported)
Do NOT use when:
/cluster-creator skillOptional Filters (apply when user requests):
cluster_type: Filter by type - "all" (default), "self-managed", "managed", "rosa", "aro", "osd", "ocp", "sno"status_filter: Filter by status - "all" (default), "ready", "installed", "installing", "error", "pending-for-input"name_search: Partial match on cluster name (case-insensitive)Examples:
Query Strategy: ALWAYS query BOTH MCP servers by default unless user explicitly filters by cluster type.
Performance Guidance:
Summary Header (always first):
📊 Found X cluster(s): Y installed ✅, Z installing ⏳, ...Single cluster (1): Detailed bullet list with all fields:
**Cluster: cluster-name**
- ID: full-uuid
- Status: ✅ ready
- Type: ROSA
- Version: 4.21.5
- Provider: AWS
- Region: us-east-1Multiple clusters (≥2): Table format with full cluster IDs:
| Name | ID | Status | Type | Version | Provider | Region |
|------|----|-----------------------|------|---------|----------|--------|
| name | full-uuid | ✅ ready | ROSA | 4.21.5 | AWS | us-east-1 |Status Icons: ✅ ready/installed, ⏳ installing, ⚠️ pending-for-input, ❌ error
Cluster Type Detection:
cloud_provider.id → aws=ROSA, azure=ARO, gcp=OSDplatform → none+single_node=SNO, else=OCPSorting: Sort by type (OCP→ROSA→ARO→OSD→SNO), then by creation date (newest first)
MCP Tools: Call BOTH in parallel (unless user explicitly filters by type)
list_clusters (from openshift-self-managed) → Gets OCP, SNO clusterslist_clusters (from openshift-ocm-managed) → Gets ROSA, ARO, OSD clustersParameters: None (MCP tools have no parameters)
Apply Filters (post-processing after fetching results):
cluster_type: Filter results to matching typesstatus_filter: Filter results to matching statusesname_search: Filter results containing search string (case-insensitive)Expected Output: Combined list with name, ID, version, status, platform, creation date
Merge & Display:
Error Handling:
Execute when user requests details for specific cluster.
MCP Tool: cluster_info (from correct server based on cluster source)
Parameters: cluster_id - UUID from list_clusters
Server Selection: Use cluster's source field from Step 1:
source: "ocm" → Call via openshift-ocm-managedsource: "assisted-installer" → Call via openshift-self-managedExpected Output: Cluster details (ID, version, status, network config, hosts/nodes)
Error Handling:
NOTE: Only for OCP/SNO clusters. ROSA/ARO/OSD use cloud provider consoles for events and logs.
Execute when user requests events, troubleshoots errors, or needs installation logs.
MCP Tool: cluster_events (from openshift-self-managed)
Parameters: cluster_id - UUID of self-managed cluster
Expected Output: Chronological events with timestamps, severity, messages
When to use:
Error Handling:
MCP Tool: cluster_logs_download_url (from openshift-self-managed)
Parameters: cluster_id - UUID of self-managed cluster
Expected Output: Presigned download URL for logs bundle (installation, validation, host discovery, diagnostics)
When to use:
Error Handling:
openshift-self-managed - Assisted Installer service for OCP/SNOopenshift-ocm-managed - OCM service for ROSA/ARO/OSDlist_clusters (from both servers) - Lists clusters (auto-routes to correct API)cluster_info (from both servers) - Gets cluster details (auto-routes to correct API)cluster_events (from openshift-self-managed only) - Gets events for self-managed clusterscluster_logs_download_url (from openshift-self-managed only) - Gets log download URL/cluster-creator - Create new clustersUser: "List all my OpenShift clusters"
Output:
📊 Found 5 cluster(s): 3 ready ✅, 1 installing ⏳, 1 pending ⚠️
| Name | ID | Status | Type | Version | Provider | Region |
|------|----|--------|------|---------|----------|--------|
| prod-ocp | 762df996-acba-4a42-9fe9-edb0a8ec8bee | ⏳ installing | OCP | 4.21.0 | Baremetal | - |
| dev-ocp | a1b2c3d4-e5f6-4789-a0b1-c2d3e4f5a6b7 | ✅ ready | OCP | 4.20.5 | vSphere | - |
| rosa-prod | 2o2gevtk4bohdu41ff4jps0dl8rrshb6 | ✅ ready | ROSA | 4.21.0 | AWS | us-east-1 |
| aro-dev | 20ekbvg1jkaqssc47mmc0irlvhf59c0p | ✅ ready | ARO | 4.20.0 | Azure | - |
| edge-01 | 8e5d3e45-77c6-440b-9cfa-9f88187535c6 | ⚠️ pending-for-input | SNO | 4.21.0 | Self-managed | - |User: "Show me my edge cluster"
Output:
📊 Found 1 cluster
**Cluster: edge-01**
- ID: 8e5d3e45-77c6-440b-9cfa-9f88187535c6
- Status: ⚠️ pending-for-input
- Type: SNO
- Version: 4.21.0
- Provider: Self-managed
- Region: -User: "List only ROSA clusters"
Output:
📊 Found 2 ROSA cluster(s): 2 ready ✅
| Name | ID | Status | Type | Version | Provider | Region |
|------|----|--------|------|---------|----------|--------|
| rosa-prod | 2o2gevtk4bohdu41ff4jps0dl8rrshb6 | ✅ ready | ROSA | 4.21.0 | AWS | us-east-1 |
| rosa-dev | 2nm4er0dk4a8lcs23foq6ug50v4onsvs | ✅ ready | ROSA | 4.20.8 | AWS | us-west-2 |User: "Show me details for prod-ocp"
Output:
**Cluster Details: prod-ocp**
- ID: 762df996-acba-4a42-9fe9-edb0a8ec8bee
- Version: 4.21.0
- Status: Installing (45% complete)
- Platform: Baremetal
- Hosts: 3/3 ready
- Network: API VIP configured, Ingress VIP configurede46c4fa
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.