From openshift-testing
Provision an ephemeral OpenShift cluster via the OpenShift CI Gangway API. Claims a cluster from a Hive ClusterPool, downloads and decrypts kubeconfig, and validates connectivity. Requires GANGWAY_TOKEN and KUBECONFIG_ENCRYPTION_KEY env vars. Clusters auto-expire after ~4 hours. Use when you need a real OpenShift cluster for blackbox testing or integration work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openshift-testing:cluster-provision [KUBECONFIG_PATH] [OCP_VERSION][KUBECONFIG_PATH] [OCP_VERSION]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Provision an ephemeral OpenShift cluster from a Hive ClusterPool via the OpenShift CI Gangway REST API.
Provision an ephemeral OpenShift cluster from a Hive ClusterPool via the OpenShift CI Gangway REST API.
Parse $ARGUMENTS into at most two values before invoking Bash:
/tmp/k)4.18)Set variables from $ARGUMENTS:
KUBECONFIG_PATH = first arg or /tmp/k
OCP_VERSION = second arg or 4.18
bash .claude/scripts/cluster-provision.sh up "$KUBECONFIG_PATH" "$OCP_VERSION"
The script handles everything: triggering the Gangway API, polling for readiness, downloading the kubeconfig, and validating connectivity. Wait for the === Cluster Ready === output.
oc --kubeconfig="$KUBECONFIG_PATH" whoami
oc --kubeconfig="$KUBECONFIG_PATH" get nodes
Summarize connection status and remind user:
bash .claude/scripts/cluster-provision.sh status
bash .claude/scripts/cluster-provision.sh down
| Error | Fix |
|---|---|
GANGWAY_TOKEN is not set | Run: oc login https://api.ci.l2s4.p1.openshiftapps.com:6443 --web && export GANGWAY_TOKEN=$(oc whoami -t) |
HTTP 401 | Token expired — re-authenticate with oc login |
KUBECONFIG_ENCRYPTION_KEY is not set | Contact the CI team for the decryption passphrase |
| Timeout after 40 min | Pool exhausted or job stuck — check the Prow job URL |
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub quay/ai-helpers --plugin openshift-testing