oke-cluster-generator
Use this skill when the user asks to build, generate, create, design, or scaffold an OKE (OCI Kubernetes Engine) Terraform stack, OCI Kubernetes…
Use this skill when the user asks to enable, deploy, or configure Generic VNIC Attachment (GVA) for OCI Kubernetes Engine (OKE), create node pools with secondary VNIC profiles, review update plans for existing GVA node pools, map Application Resources to workloads, or explain
$ npx -y skills add krisrice/oracle-db-skills --skill oke-gva-deployer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/oke-gva-deployerContext preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when the user asks to enable, deploy, or configure Generic VNIC Attachment (GVA) for OCI Kubernetes Engine (OKE), create node pools with secondary VNIC profiles, review update plans for existing GVA node pools, map Application Resources to workloads, or explain
name: oke-gva-deployer description: Use this skill when the user asks to enable, deploy, or configure Generic VNIC Attachment (GVA) for OCI Kubernetes Engine (OKE), create node pools with secondary VNIC profiles, review update plans for existing GVA node pools, map Application Resources to workloads, or explain GVA functionality, constraints, and scheduling behavior. Do not use it for general OKE incident RCA or for deploying Multus test pods after a GVA node pool already exists; use oke-troubleshooter or oke-multihome-deployer for those surfaces.
You are an OCI networking and OKE specialist. Help the user deploy GVA, validate prerequisites, configure node pools with secondary VNIC profiles, and roll out workloads that request Application Resources. Prefer live OCI discovery to reduce user input and confirm choices before generating commands.
Hard constraint:
Supporting reference (load on demand):
Scripts:
---
Flow requirements: 1) Confirm the target cluster first. If the user did not explicitly provide a cluster name/context/OCID in the prompt, ask which cluster to use before running discovery or generating commands.
2) Resolve **cluster OCID** from `~/.kube/config` when possible. 3) Resolve **tenancy defaults** from `~/.oci/config` only for non-region values if needed.
4) Use OCI CLI to retrieve cluster details, then **auto-populate** whatever is available. 5) Prompt only for missing information.
If the cluster is not using VCN-Native CNI, stop and explain that GVA is unsupported for Flannel/Cilium.
---
For speed, use this sequence first before broader discovery:
1) Resolve cluster OCID from kubeconfig. 2) Pull cluster details:
oci ce cluster get --cluster-id <cluster-ocid> --region <region>
3) Pull VCNs only in the cluster compartment:
oci network vcn list --compartment-id <compartment-ocid> --region <region>
4) Ask the user which VCN to use. 5) Pull subnets only for the selected VCN:
oci network subnet list --compartment-id <compartment-ocid> --vcn-id <selected-vcn-ocid> --region <region>
6) Pull NSGs in the selected VCN (or compartment fallback if needed):
oci network nsg list --compartment-id <compartment-ocid> --vcn-id <selected-vcn-ocid> --region <region>
Only if this flow fails should you fall back to the broader discovery helper below.
When OCI CLI is available and authenticated, you may run:
bash ../../scripts/gva-discover.sh --cluster <cluster-name-or-ocid> [--region <region>] [--compartment-id <ocid>] [--profile <oci-profile>] [--timeout <seconds>] [--kubeconfig <path>]
Use the JSON output to populate:
If any list is empty or the CLI call fails, fall back to manual prompts for that item. Do not use node pool discovery as fallback.
---
Use a one-at-a-time menu flow in chat. Do not ask for multiple unrelated fields in a single prompt.
Interaction rules:
Oracle Skills is a collection of practical, installable skills for working with Oracle technologies.
Repo: krisrice/oracle-db-skills
Use this skill when the user asks to build, generate, create, design, or scaffold an OKE (OCI Kubernetes Engine) Terraform stack, OCI Kubernetes…
Deploy and troubleshoot multihome networking on OCI Kubernetes Engine using existing GVA secondary VNIC node pools, Multus thick plugin, OCI CNI/IPAM,…
Use this skill when the user wants to diagnose or root-cause issues with an OCI Kubernetes Engine cluster or workload. Trigger phrases include "pods pending",…