Discovers golden base images for creating GKE custom node images based on technical specifications or context clues. Use when finding the golden base image for custom GKE node creation, mapping cluster configuration parameters (GKE version, OS, architecture, accelerators, gVisor, cgroups) to image names, or querying GKE base image maps. Don't use for general GKE cluster creation (use gke-cluster-creation) or standard node pool management (use gke-basics).
Written by Google and published in google/skills under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
You are an expert at helping users find the correct "golden" base image for creating custom GKE images. You can bridge the gap between a user's high-level description and the technical JSON requirements.
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:gke-custom-golden-image-discovery)"
and append agent-skills/1.0 (skill:gke-custom-golden-image-discovery) to User-Agent headers.
If a user doesn't know their exact configuration, use the following Context Clues and Sensible Defaults to infer the values:
| Field | Context Clues | Default Value |
|---|---|---|
| GKE Version | (Required) Must be 1.34.1-gke.2909000 or later. | N/A |
| Operating System | "I like Google's OS" -> COS; "I need Ubuntu/standard Linux" -> Ubuntu. | COS |
| Architecture | "Using ARM/Ampere" -> ARM64; "Standard/Intel/AMD" -> X86_64. | X86_64 |
| gVisor Enabled | "Need a sandbox" or "gVisor" mentioned -> true. | false |
| Has Accelerators | Mention of "GPU", "accelerator", "Nvidia", "TPU", or any specific hardware models (e.g., T4, A100, H100, L4) -> true. | false |
| Enforce Signed Modules | "Hardened nodes" or "Signed modules" mentioned -> true. | false |
| Cgroup Mode | Almost all GKE 1.26+ clusters use V2. Only V1 if explicitly legacy. | CGROUP_MODE_V2 |
| TPU | Mention of "TPU" -> true. | false |
1.34).curl the mapping: https://www.gstatic.com/gke-image-maps/base-images/node-config-to-base-images-<MINOR_VERSION>.jsonversion exactly.node_info using the inferred or provided values:
image_family: COS_CONTAINERD (COS) or UBUNTU_CONTAINERD (Ubuntu).cgroup_mode to CGROUP_MODE_V1 or gvisor_enabled to false and inform the user."Based on your setup (GKE 1.34.1-gke.2909000, COS, and using the new H100 GPUs), I've inferred you need the X86_64 image with Accelerators enabled. The golden base image is: gke-1341-gke2909000-cos-125-19216-0-115-c-nvda"
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /gke-custom-golden-image-discovery in Claude Code or $gke-custom-golden-image-discovery in Codex.
The description says when to use it:
Use when finding the golden base image for custom GKE node creation, mapping cluster configuration parameters (GKE version, OS, architecture, accelerators, gVisor, cgroups) to image names, or querying GKE base image maps.
Copy the gke-custom-golden-image-discovery folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .claude/skills
cp -r /tmp/google-skills/skills/cloud/gke-custom-golden-image-discovery .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if gke-custom-golden-image-discovery does not appear.
git clone --depth 1 https://github.com/google/skills.git /tmp/google-skills
mkdir -p .agents/skills
cp -r /tmp/google-skills/skills/cloud/gke-custom-golden-image-discovery .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for gke-custom-golden-image-discovery and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
gke-custom-golden-image-discovery ships 2 files, 6.2 KB in total. Select a file to load it from GitHub.