gke-compute-classes
Skill by google
Configures, optimizes, and troubleshoots GKE ComputeClasses. It is for engineers setting up Spot VMs with on-demand fallback, GPU or TPU targeting, and machine family selection on GKE.
Install gke-compute-classes
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/gke-compute-classes ~/.claude/skills/gke-compute-classesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/gke-compute-classes ~/.gemini/antigravity-cli/skills/gke-compute-classesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gke-compute-classes in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gke-compute-classes skill gives guidance on configuring, optimizing, and troubleshooting GKE ComputeClasses. It covers Spot VMs with on-demand fallback, targeting specific accelerators such as GPUs and TPUs, and selecting machine families such as c3, c4, n4, and Arm64 n4a and c4a. It also covers zone targeting, restricting ComputeClass access, and debugging pending pods related to node pool auto-creation.
The skill asks the assistant to give generalized example YAML first, labeled as an EXAMPLE TEMPLATE and not for deployment, with placeholders such as a zone placeholder. It reminds users to align machine families with existing Committed Use Discounts or Reservations. It also sets rules for schema fields, GKE version gates, taints, and priority tiers. It is intended for users running GKE workloads, and it says not to use it for cluster-level Node Auto Provisioning or general GKE cluster creation.
Written from the project's SKILL.md and checked against it.
What it can do
- Spot VM configurationConfigures Spot VMs with on-demand fallback inside a ComputeClass.
- Accelerator targetingTargets specific GPUs and TPUs, such as L4, H100, and v5p.
- Machine family selectionSelects machine families such as c3, c4, n4, n4a, and c4a for performance and Arm64 tuning.
- Zone targetingColocates workloads with zonal resources.
- Sandboxed AI agent setupCovers gVisor, microVMs, and nested virtualization for sandboxed AI agents.
- CapacityQuota cappingCaps a primary machine family to a CUD footprint and spills excess demand to fallback families.
- Pending pod debuggingTroubleshoots pending pods related to node pool auto-creation.
- Taint and toleration guidanceExplains when GPU and Spot taints need a toleration in the PodSpec.
What you need
- Access to a GKE cluster
- gcloud CLI, REST API, or MCP access to run commands
- GKE 1.33.3-gke.1136000 or later for automatic node pools scoped to a ComputeClass
Try asking
- Create a ComputeClass with Spot VMs and on-demand fallback
- Set up a ComputeClass for H100 GPU workloads on GKE
- Why is my GPU pod stuck in Pending on GKE?
Good to know
- Not for cluster-level Node Auto Provisioning or general GKE cluster creation.
- Some fields require newer GKE versions, such as 1.33+ or 1.36.2+ for CapacityQuota.
- A shared priorityScore applies to a maximum of 3 rules.
- Spot should not be the primary priority for AI/ML inference workloads.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/gke-compute-classes/SKILL.md, skills/cloud/gke-compute-classes/assets/log-autoscaler-events.sh, skills/cloud/gke-compute-classes/assets/monitor-hard-stockouts.sh, skills/cloud/gke-compute-classes/assets/trace-pod-scaleup.sh, skills/cloud/gke-compute-classes/assets/verify-minimum-capacity.sh. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md48 KB -
assets/agent-sandbox-gvisor.yaml3 KB -
assets/agent-substrate-microvm.yaml4 KB -
assets/axion-arm64-compute-class.yaml4 KB -
assets/balanced-reserved-zonal-compute-class.yaml4 KB
Show all 37 files
-
assets/capacity-quota-spillover.yaml775 B -
assets/computeclass-rbac-editor.yaml1 KB -
assets/dynamic-rwo-storageclass.yaml1 KB -
assets/equal-priority-tiebreak-compute-class.yaml2 KB -
assets/genai-inference-g4-compute-class.yaml2 KB -
assets/kafka-broker-compute-class.yaml2 KB -
assets/log-autoscaler-events.sh11 KB -
assets/manual-pool-tiebreak-compute-class.yaml1 KB -
assets/monitor-hard-stockouts.sh24 KB -
assets/postgres-primary-compute-class.yaml2 KB -
assets/redis-compute-class.yaml2 KB -
assets/restrict-computeclass-usage-vap.yaml4 KB -
assets/shared-l4-inference-compute-class.yaml1 KB -
assets/spark-proximal-compute-class.yaml2 KB -
assets/spot-cost-tiebreak-compute-class.yaml2 KB -
assets/system-pool-compute-class.yaml2 KB -
assets/tpu-v5e-training-compute-class.yaml2 KB -
assets/trace-pod-scaleup.sh21 KB -
assets/verify-minimum-capacity.sh19 KB -
references/attribution.md2 KB -
references/compute-class-autopilot-mode.md4 KB -
references/compute-class-code-index.md9 KB -
references/compute-class-cost-optimization.md7 KB -
references/compute-class-crd-fields.md19 KB -
references/compute-class-debug.md13 KB
And 7 more files on GitHub.
Alternatives to gke-compute-classes
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
gke-compute-classes: common questions
Does this skill create GKE clusters?
No. The source says the skill should not be used for general GKE cluster creation or cluster-level Node Auto Provisioning.
Can it help with GPU pods stuck in Pending?
Yes. The source says a GPU pod stuck Pending or noScaleUp is usually missing the nvidia.com/gpu toleration, and the skill covers this case.
Does it recommend Spot VMs for AI inference?
No. The source says not to recommend Spot as the primary priority for AI/ML inference because accelerator node startup latency is severe.
How do I install gke-compute-classes?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gke-compute-classes free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gke-compute-classes safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gke-compute-classes?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
