gke-workload-troubleshooting

gke-workload-troubleshooting is a skill for Claude Code, Codex from gke-labs/kube-agents. It costs 40 tokens per session (2,245 once invoked), scanned A, original, Apache-2.0.

A step-by-step guide for diagnosing application failures in Google Kubernetes Engine (GKE), Google Cloud’s managed Kubernetes service. It covers crashes, memory exhaustion, mounting problems, and connection timeouts.

In plain words
What is it for?
Use it to investigate a failing workload by collecting the Google Cloud project, cluster, location, workload, namespace, and relevant time, then examining the deployment context.
Why use it?
It provides a repeatable troubleshooting process and requires read-only checks before suggesting configuration changes.

Skill for Claude CodeCodex

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

Good fit Use it to investigate a failing workload by collecting the Google Cloud project, cluster, location, workload, namespace, and relevant time, then examining the deployment context.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gke-labs/kube-agents/gke-workload-troubleshooting
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-workload-troubleshooting
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-workload-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-workload-troubleshooting/github.svg)](https://agentmods.dev/skills/gke-labs/kube-agents/gke-workload-troubleshooting)
Your own site
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gke-workload-troubleshooting"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-workload-troubleshooting/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-workload-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/gke-labs/kube-agents/gke-workload-troubleshooting"><img src="https://agentmods.dev/badge/skills/gke-labs/kube-agents/gke-workload-troubleshooting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,245 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00040 $0.02245
Opus 5 $0.00020 $0.01123
Sonnet 5 $0.00008 $0.00449
Haiku 4.5 $0.00004 $0.00225

Measured yesterday against content hash 2dd153440aa9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gke-workload-troubleshooting 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 yesterday.

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.

agents/cluster/skills/gke-workload-troubleshooting/SKILL.md · 174 lines

How it starts

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

GKE Workload Troubleshooting Skill

Use this skill to systematically diagnose and resolve failures in application workloads deployed in GKE clusters. This skill enforces a read-only diagnostics boundary before proposing manifest or config corrections.

🔍 Diagnostic Workflow

Step 0: Context Acquisition & Time Window Definition

To begin troubleshooting, acquire the following context from the user or active SETTINGS.md config:

  • Project ID (e.g., my-gcp-project)
    • Cluster Name (e.g., my-gke-cluster)
    • Cluster Location (e.g., us-central1)
    • Workload Name (e.g., payment-api)
    • Workload Namespace (e.g., checkout)
    • Issue Time (Optional, e.g., 2026-06-01T15:30:00Z)

Before running any diagnostics or kubectl commands, you must fetch GKE credentials and context for the target GKE cluster:

gcloud container clusters get-credentials <cluster_name> --region <cluster_location>
Time Handling & Fallbacks:
  1. Determine Issue Timestamp ($T$):

    • Specific Time Provided: If the user provides a specific timestamp, use it as $T$.
    • Relative Time Provided (e.g., "5 minutes ago"): Dynamically calculate the corresponding UTC timestamp based on the current system time, and use it as $T$.
    • No Time Provided (Default):
      1. Retrieve the GKE pod status (kubectl get pods -n <namespace> -o yaml).
      2. If there are crashing or pending containers, check their state transition timestamps (e.g. status.containerStatuses[*].lastState.terminated.finishedAt or status.startTime) and use that transition time as $T$.
      3. If no active transitions are found, default to the current system time as $T$.
  2. Window Calculation: Center a 1-hour query window around the issue timestamp $T$:

    • Start_Time = T - 30m
    • End_Time = T + 30m

Step 1: Analyze Pod Status and Conditions

Inspect the workload's active pod states and controller status.

Diagnostic Commands:

Read the full file on GitHub · 174 lines

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. yesterday Changed 2dd153440aa9
  2. 6d ago Changed d7f4710c91c4
  3. 11d ago First seen · 174 lines · 40 tokens per session scan A 6fd0012186ef

Subscribe to this mod's changes

gke-workload-troubleshooting is a skill published in the GitHub repository gke-labs/kube-agents (53 stars, last pushed today), licensed Apache-2.0. It adds 40 tokens to every session and 2,245 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

image-pull-debug

Diagnose container image pull failures (ErrImagePull / ImagePullBackOff). Checks pod status, containerd logs, and events to identify root cause.

scitix/siclaw · 36 tokens

pod-pending-debug

Diagnose pod scheduling failures (Pending, Unschedulable). Checks events, node resources, taints, affinity, and PVC bindings to identify why a pod cannot be scheduled.

scitix/siclaw · 41 tokens

kubernetes-specialist

Use when managing Kubernetes clusters, debugging Pods and workloads, designing Helm charts, reviewing manifests, or improving deployment, scaling, and observability practices.

seaworld008/Commonly-used-high-value-skills · 34 tokens

node

OpenShift Node team assistant. Covers kubelet, MCO, CRI-O, crun, conmonrs, Kueue operator, Jira (OCPNODE/OCPBUGS), Red Hat KB/support cases, Prometheus, and K8s/OCP docs. Triggers on OpenShift node-layer development, deployment, debugging, or team workflow tasks. For CVE/vulnerability triage, analysis, or reporting…

openshift-eng/ai-helpers · 108 tokens

archestra-dev-investigate

Use when investigating Archestra bugs or incidents — staging issues, backend 50x errors, Drizzle failed queries, DB connection pressure, deploy regressions, or Kubernetes/runtime symptoms. Orientation only; defers the process to /investigate.

archestra-ai/archestra · 54 tokens

diag-k8s-pod-crashloop

A diagnostic runbook for Kubernetes Pods stuck in CrashLoopBackOff. A Pod is a Kubernetes unit that runs one or more containers; CrashLoopBackOff means a container keeps failing and Kubernetes waits longer between restart attempts.

seed-forge/harness-ai-kit · 63 tokens