oc-cli
Skill2 starsChanged 10 months agoMITView on GitHub
OpenShift CLI operations for ARO cluster management
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ai-foundry-operationsSkill
- argocd-cliSkill
- aro-deploymentSkill
- azure-cliSkill
- azure-infrastructureSkill
- database-managementSkill
- deploy-orchestrationSkill
- github-cliSkill
- helm-cliSkill
- kubectl-cliSkill
- mcp-cliSkill
- observability-stackSkill
- openshift-operationsSkill
- prerequisitesSkill
- rhdh-portalSkill
- terraform-cliSkill
- validation-scriptsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 65
Use projects for namespace isolation
- Distinctive: line 66
Prefer oc to kubectl for OpenShift-specific features
- Distinctive: line 67
Use Operators for complex application management
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When to Use
- Azure Red Hat OpenShift (ARO) operations
- OpenShift-specific resource management
- Operator lifecycle management
- Route and build configurations
Prerequisites
- OpenShift CLI (oc) installed
- Authenticated to ARO cluster
- Appropriate RBAC permissions
Commands
Authentication
# Login with token
oc login --token=<token> --server=<api-server>
# Login with kubeadmin
oc login -u kubeadmin -p <password> --server=<api-server>
# Current context
oc whoami --show-serverProject Operations
# List projects
oc projects
# Switch project
oc project <project-name>
# Create project
oc new-project <project-name>Operator Management
# List installed operators
oc get csv -n openshift-operators
# View operator status
oc describe csv <operator-name> -n openshift-operatorsRoute Management
# List routes
oc get routes -A
# Create route
oc expose service <service-name>
# Get route URL
oc get route <route-name> -o jsonpath='{.spec.host}'Best Practices
- Use projects for namespace isolation
- Prefer oc to kubectl for OpenShift-specific features
- Use Operators for complex application management
- Enable NetworkPolicies for pod isolation
Output Format
- Command executed
- Operation result
- Relevant status information
- Next steps
Integration with Agents
Used by: @platform, @devops
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

