gke-compute-classes

gke-compute-classes is a skill for Claude Code, Codex from gke-labs/kube-agents. It costs 83 tokens per session (7,341 once invoked), scanned A, a copy of gke-compute-classes, Apache-2.0.

Guidance for configuring GKE ComputeClasses, which define the machines that run workloads in Google Kubernetes Engine. It covers Spot VMs, on-demand fallback, accelerators, machine families, zones, and troubleshooting pending pods.

In plain words
What is it for?
Use it to write or review ComputeClass configuration, target GPUs or TPUs, select machine families and zones, restrict access, and investigate node pool auto-creation problems.
Why use it?
It helps choose suitable compute capacity while considering availability, cost discounts, reservations, and workload requirements. It also helps diagnose why pods remain pending when new nodes cannot be created.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to write or review ComputeClass configuration, target GPUs or TPUs, select machine families and zones, restrict access, and investigate node pool auto-creation problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gke-labs/kube-agents/gke-compute-classes
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gke-labs/kube-agents --skill gke-compute-classes
Clone the repo
git clone --depth 1 https://github.com/gke-labs/kube-agents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gke-compute-classes

README.md
[![agentmods](https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-compute-classes/github.svg)](https://agentmods.dev/skills/gke-labs/kube-agents/gke-compute-classes)
Your own site
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gke-compute-classes"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-compute-classes/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gke-compute-classes

Your own site · 80×15
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gke-compute-classes"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-compute-classes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,341 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00083 $0.07341
Opus 5.5 $0.00033 $0.02936
Sonnet 5.5 $0.00017 $0.01468
Haiku 4.5 $0.00008 $0.00734

Measured 8d ago against content hash 6a86cb3809a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gke-compute-classes scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/log-autoscaler-events.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

91% identical to gke-compute-classes — 21 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/platform/skills/gke-compute-classes/SKILL.md · 389 lines

How it starts

The opening of the file, as written. The whole thing — 389 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GKE ComputeClasses

Guidance on configuring, optimizing, and troubleshooting GKE ComputeClasses.

A change goes out as a pull request to the GitOps repository, never as a write from here: Kubernetes objects as YAML through gke-manifest-generation, cluster settings and other Google Cloud resources as Config Connector YAML through gcp-config-connector, opened with submit-suggestion. Each profile's config offers only the gke MCP server's read tools, and the broker refuses kubectl and gcloud writes.

When to Use

  • Cost optimization: Spot VMs with on-demand fallback.
  • GPU/TPU workloads: Target specific accelerators (e.g., L4, H100, v5p).
  • Performance tuning: Select specific machine families (c3, c4, n4).
  • Zone targeting: Colocate workloads with zonal resources.

CRITICAL RULES

  • CODE-FIRST VERIFICATION (OPEN-SOURCE CODEBASE): GKE Cluster Autoscaler and ComputeClasses are open-sourced at https://github.com/GoogleCloudPlatform/cluster-autoscaler. When user questions challenge or explore undocumented/subtle behaviors, or when guidance is not explicitly established in this skill, READ THE CODE WITH THE inspect-repository SKILL: this install's terminal has no git and cannot clone or fetch from GitHub itself, but inspect-repository clones broker-side and lets you grep and fetch files at the cloned sha. Start from the package or symbol in the code index and cite the commit you read. It returns files without history, so git log -S and git blame are the user's to run: name the symbol for them, and do not state a version or date range you have not read. See references/compute-class-code-index.md for exact package and symbol mappings.

Engagement Rules: Generalized First, Refine Later

ComputeClasses depend on zone availability, CUDs, and workload constraints. Do not block the user's initial request. If asked for YAML/recommendations:

Read the full file on GitHub · 389 lines

Files

What ships with it

28 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +2 lines 6a86cb3809a5
  2. 11d ago Changed · +53 lines e2882bf21cb9
  3. 1mo ago First seen · 334 lines · 83 tokens per session scan A 229307c017b3

Subscribe to this mod's changes

gke-compute-classes is a skill published in the GitHub repository gke-labs/kube-agents (116 stars, last pushed today), licensed Apache-2.0. It adds 83 tokens to every session and 7,341 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to gke-compute-classes, differing in 21 lines, and is treated as a copy.

Related

Other skills, from other repositories

openshell-cli

Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, profile management, policy iteration, settings, service exposure, BYOC workflows, and attached-provider inference. Covers basic through advanced multi-step workflows. Trigger…

NVIDIA/OpenShell · 134 tokens

azd-deployment

Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.

sickn33/agentic-awesome-skills · 29 tokens

cdf-orchestration-setup

Use when the user asks to deploy, install, reinstall, redeploy, upgrade, or connect to the CDF Orchestration Airflow controller. Owns the end-to-end deploy sequence and runs the cdf-orchestration-preflight audit first. Covers make setup, controller image builds, Helm installation, controller connection…

NVIDIA/skills · 105 tokens

langbot-deploy

Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…

langbot-app/LangBot · 104 tokens

compute-env-setup

Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…

UnicomAI/wanwu · 134 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens