Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

Skill by google

Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. It is for operators checking TPU slice lifecycle states, provisioning failures, and multi-slice JobSet manifests on GKE.

  • Score 94
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

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-ai-troubleshooting-tpu-dynamic-slices-monitoring ~/.claude/skills/gke-ai-troubleshooting-tpu-dynamic-slice

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install gke-ai-troubleshooting-tpu-dynamic-slices-monitoring in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill helps an assistant inspect and troubleshoot GKE TPU Dynamic Slices. It runs kubectl describe on a slice and reads its Status.Conditions, then maps the Ready reason and status to a lifecycle state with a recommended action. It also gives a checklist for provisioning failures covering node existence, topology alignment, and reservation block alignment.

The skill also checks single-slice and multi-slice (JobSet) workload manifests for the required annotations and nodeSelector labels. For high-risk tasks such as removing finalizers from a stuck slice or disabling the slice controller, it requires the user to confirm before any patch or command runs. It is aimed at engineers who run TPU workloads on GKE.

Written from the project's SKILL.md and checked against it.

What it can do

  • Slice state inspectionRuns kubectl describe on a slice and maps Status.Conditions to a lifecycle state and action.
  • Provisioning failure checklistChecks node existence, topology alignment, and reservation block alignment for failed slices.
  • Workload manifest validationVerifies single-slice and multi-slice JobSet annotations and nodeSelector labels.
  • Stuck finalizer removalProposes a JSON patch to remove finalizers from a stuck slice, after explicit user confirmation.
  • Slice controller disablementLists the steps to disable the slice controller and clean up CRD and node labels, with confirmation.

What you need

  • Cloud Logging enabled for the project
  • kubectl CLI configured to access the GKE cluster
  • gcloud CLI configured to access the GKE cluster

Try asking

  • Check the status of TPU slice test-slice and tell me what to do.
  • Why is my TPU slice stuck in SliceCreationFailed?
  • Validate my JobSet manifest for a multi-slice TPU workload.

Good to know

  • High-risk steps such as removing finalizers or disabling the slice controller require user confirmation before running.
  • Removing finalizers may leave VM, network, or accelerator resources orphaned.
  • Multi-slice JobSet manifests must not set cloud.google.com/gke-tpu-slice in the nodeSelector.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/gke-ai-troubleshooting-tpu-dynamic-slices-monitoring/SKILL.md, skills/cloud/gke-ai-troubleshooting-tpu-dynamic-slices-monitoring/scripts/validate_queries.sh. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/attribution.md2 KB
  • references/failure_signatures.md2 KB
  • scripts/validate_queries.sh537 B

Alternatives to gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

All alternatives →
deploy-release-testvercel
94

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.

AAA Skill 144k
deepeval-tracingconfident-ai
94

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.

AAA Skill 20k
azure-container-registry-cligithub
94

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.

AAA Skill 42k
crabbox-appsopenclaw
94

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.

AAA Skill 395k
gke-batch-hpcgoogle
94

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.

AAA Skill 25k
gke-cost-analysisgoogle
94

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.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring: common questions

What does ACTIVE_DEGRADED mean for a TPU slice?

The slice is usable, but one or more sub-blocks are degraded. The skill suggests monitoring workload logs for interconnect or device errors and checking faulty node VMs.

How do I fix a slice stuck in DEACTIVATING?

The skill explains that finalizers may be blocking deletion and proposes a JSON patch to remove them. It warns this is high risk and asks for confirmation first.

Should I use this skill to create GKE node pools?

No. The skill says not to use it for generic GKE cluster node pool creation or standard non-TPU workloads, and points to gke-basics or gke-cluster-creation instead.

How do I install gke-ai-troubleshooting-tpu-dynamic-slices-monitoring?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is gke-ai-troubleshooting-tpu-dynamic-slices-monitoring free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is gke-ai-troubleshooting-tpu-dynamic-slices-monitoring 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-ai-troubleshooting-tpu-dynamic-slices-monitoring?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring Install

Add to stack

Loading.