Skip to content
Back to skills

Quickstart

ASecurity

Use this skill when the user wants to log in to, inspect, or deploy applications on Red Hat OpenShift clusters with the oc CLI.

  • 58 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 8, 2026
toolsbashnodedebugginggitapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-ccafe375/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-ccafe375)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oc
description: Use this skill when the user wants to log in to, inspect, or deploy applications on Red Hat OpenShift clusters with the oc CLI.
---

# OpenShift CLI (oc) Plugin

`oc` is the OpenShift command-line client — a superset of kubectl adding OpenShift resources (projects, routes, build configs, image streams, deployment configs) plus developer workflows (`oc new-app`) and cluster-admin tools (`oc adm`).

## Commands

### Auth & projects
- `oc auth login` — `oc login <server> --token=...` or with `--username/--password`
- `oc auth whoami` — Current user (`--show-server`, `--show-token`)
- `oc project list` — List accessible projects
- `oc project switch <name>` — Switch project (`oc new-project <name>` to create)

### Apps & resources
- `oc app new` — Deploy from source, image, or template
- `oc status get` — Project overview
- `oc resource get` — `oc get <type> [name]` for any resource
- `oc _ _` — Passthrough (`oc logs`, `oc exec`, `oc start-build`, `oc rollout`, `oc adm`)

## Usage Examples

- "Log in to the OpenShift cluster with this token"
- "Deploy a new app from this Git repo"
- "Show project status and running pods"
- "Switch to the staging project"

## Installation

```bash
curl -LO https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz
tar xzf openshift-client-linux.tar.gz oc
mv oc ~/.local/bin/
# or: brew install openshift-cli
```

## Examples

```bash
oc login https://api.cluster.example.com:6443 --token=sha256~xxx
oc new-app https://github.com/org/repo --name=myapp
oc get pods,routes -o wide
oc start-build myapp --follow
oc rollout status deployment/myapp
oc adm top nodes
```

## Key Features

- Everything kubectl does (`oc` embeds it), plus OpenShift types
- `new-app`/`new-build` source-to-image workflows
- `oc adm` cluster administration (must-gather, top, cordon, policy)
- `--as`/`--as-group` impersonation for ops debugging

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.