/ocp-admin:cluster-inventoryfrom ocp-admin
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.
Ships in ocp-admin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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-1
Multiple 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 configured
references/INDEX.md (opens in a new tab)references/backup-restore.md (opens in a new tab)references/certificate-rotation.md (opens in a new tab)references/credentials-management.md (opens in a new tab)references/database-connection-management.md (opens in a new tab)references/day-2-operations.md (opens in a new tab)references/etcd-maintenance.md (opens in a new tab)references/examples.md (opens in a new tab)references/host-requirements.md (opens in a new tab)references/idp.md (opens in a new tab)references/input-validation-guide.md (opens in a new tab)references/multi-cluster-auth.md (opens in a new tab)references/networking.md (opens in a new tab)references/platforms.md (opens in a new tab)references/providers.md (opens in a new tab)references/pvc-capacity-planning.md (opens in a new tab)references/quick-reference.md (opens in a new tab)references/rbac.md (opens in a new tab)references/security-checklist.md (opens in a new tab)references/static-networking-guide.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
inheritnpx claudepluginhub rhecosystemappeng/agentic-catalog --plugin ocp-admin8 skills in this plugin
/cluster-creatorEnd-to-end OpenShift cluster creation using Red Hat Assisted Installer.
Handles Single-Node OpenShift (SNO) and HA multi-node clusters on baremetal, vsphere, oci, nutanix.
Use when:
- "Create a new OpenShift cluster"
- "Install OpenShift on my servers"
- "Set up a single-node cluster for edge deployment"
- "Deploy a production HA cluster"
Complete workflow: cluster definition, ISO generation, host discovery/validation, role assignment,
network configuration (VIPs, static networking), installation monitoring, credential retrieval.
NOT for:
- Listing existing clusters → Use `/cluster-inventory` skill
- Modifying running clusters → Out of scope (Day-2 operations require direct cluster access)
- Cluster upgrades (not yet supported)
/cluster-reportGenerate a consolidated health report across multiple OpenShift clusters.
Verifies each kubeconfig context is a genuine OpenShift cluster before
reporting. Non-OpenShift contexts are skipped by default.
Collects node resources (CPU, memory, GPUs), namespace counts, and pod
status into a single comparison view.
Use when:
- "Show me a report across all clusters"
- "Compare cluster health"
- "Multi-cluster status overview"
- "How are my clusters doing?"
- "Include all clusters including non-OpenShift" (override default filter)
NOT for single-cluster deep-dives or troubleshooting specific pods.
Other plugins' skills for the same job