oc-cli

Manage OpenShift resources on Azure Red Hat OpenShift clusters using the oc CLI.

1|2|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/paulanunes85/three-horizons-accelerator-v4 --skill oc-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: oc-cli
Source: https://github.com/paulanunes85/three-horizons-accelerator-v4/tree/main/.github/skills/oc-cli
Command: npx skills add https://github.com/paulanunes85/three-horizons-accelerator-v4 --skill oc-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

OpenShift/ARO cluster management via the oc CLI can be repetitive and error-prone; this Skill standardizes common operations to speed up workflows.

Core Features & Use Cases

  • Authentication and context management with the oc CLI for OpenShift clusters
  • Project/namespace operations, including listing and switching contexts
  • View and manage Operators and CSV status within openshift-operators
  • Expose routes and manage OpenShift resources for application access

Quick Start

Login to the ARO cluster with the oc CLI and verify your current context

Frequently Asked Questions about oc-cli

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

FAQPage Schema
How do I manage OpenShift projects and namespaces on an ARO cluster?

Manage OpenShift projects on an ARO cluster by using the oc CLI to list, switch, and operate on namespaces. This standardizes project operations and speeds up repetitive context management workflows.

How do I check Operator lifecycle and CSV status in OpenShift?

Check Operator lifecycle and CSV status in OpenShift by viewing and managing operators within the openshift-operators namespace using the oc CLI. This allows you to verify installed operators and their current lifecycle state.

How do I expose routes for application access on an Azure Red Hat OpenShift cluster?

Expose routes for application access on an Azure Red Hat OpenShift cluster by managing OpenShift resources with the oc CLI. This configures external access to your deployed applications through standard OpenShift routing.

Do I need specific RBAC permissions to perform oc CLI operations on an ARO cluster?

Yes, you need appropriate RBAC permissions to manage OpenShift resources on an ARO cluster using the oc CLI. You also need the oc client installed and must be authenticated to the cluster before performing any operations.

What's the best way to authenticate and manage context with the oc CLI for OpenShift?

Authenticate and manage context with the oc CLI for OpenShift by logging into the ARO cluster and verifying your current context. This standardizes common authentication operations to speed up your workflows.