kubernetes-operations

kubernetes-operations is a skill for Claude Code from Goodsmileduck/claude-registry. It costs 64 tokens per session (2,949 once invoked), scanned A, original, MIT.

A guide for diagnosing Kubernetes workloads, where Kubernetes is a system that runs and manages containers. It provides decision steps for problems such as pods that fail to start, cannot pull images, or have no service endpoints.

In plain words
What is it for?
Use it to debug Kubernetes pods, Deployments, StatefulSets, init containers, health probes, image pulls, and GKE network endpoint readiness.
Why use it?
It helps narrow container and service failures using pod events, descriptions, logs, and checks for resources managed by Argo CD, a Git-based deployment tool.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kubernetes-skills plugin — 4 skills shipped together

Good fit Use it to debug Kubernetes pods, Deployments, StatefulSets, init containers, health probes, image pulls, and GKE network endpoint readiness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/goodsmileduck/claude-registry/kubernetes-operations
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 Goodsmileduck/claude-registry --skill kubernetes-operations
Clone the repo
git clone --depth 1 https://github.com/Goodsmileduck/claude-registry

Made for: Claude Code.

Or install kubernetes-skills, the plugin that ships this one along with the rest of its 4 skills.

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 kubernetes-operations

README.md
[![agentmods](https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/kubernetes-operations/github.svg)](https://agentmods.dev/skills/goodsmileduck/claude-registry/kubernetes-operations)
Your own site
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/kubernetes-operations"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/kubernetes-operations/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 kubernetes-operations

Your own site · 80×15
<a href="https://agentmods.dev/skills/goodsmileduck/claude-registry/kubernetes-operations"><img src="https://agentmods.dev/badge/skills/goodsmileduck/claude-registry/kubernetes-operations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,949 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 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.00064 $0.02949
Opus 5 $0.00032 $0.01474
Sonnet 5 $0.00013 $0.00590
Haiku 4.5 $0.00006 $0.00295

Measured 10d ago against content hash 748ae562a398, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

kubernetes-operations 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 10d ago.

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.

plugins/kubernetes-skills/skills/kubernetes-operations/SKILL.md · 179 lines

How it starts

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

Kubernetes — pod debug decision tree

For ArgoCD-managed resources, also check the argocd-operations skill: direct mutations are reverted by selfHeal within ~3 minutes.

When to invoke

The pod's STATUS column tells you which branch to take. Always start with:

kubectl config current-context                  # confirm cluster/env BEFORE anything
kubectl describe pod <pod> -n <ns> | tail -40   # events at the bottom
kubectl logs <pod> -n <ns> [-c <container>] [--previous]
kubectl get events -n <ns> --sort-by=.lastTimestamp | tail -20

The Events: section at the end of describe is the single highest-signal source. Read it before anything else.

Pre-flight: is this resource Argo-managed?

Before any kubectl edit/patch/apply -f fix, check whether the resource is GitOps-owned:

kubectl get <kind> <name> -n <ns> -o jsonpath='{.metadata.labels}{"\n"}{.metadata.annotations}{"\n"}'
# managed-by indicators: argocd.argoproj.io/tracking-id, meta.helm.sh/release-name, app.kubernetes.io/managed-by

If managed: fix the source (chart/values/kustomization), not the cluster. See the argocd-operations skill.

Branch 1 — Pod never created (FailedCreate on the controller)

The pod doesn't exist yet; the ReplicaSet/StatefulSet/Job can't create it.

# Look at the controller's events, not the pod's (the pod isn't there)
kubectl describe rs <rs-name> -n <ns> | tail -30
kubectl describe statefulset <ss> -n <ns> | tail -30
Event message contains Cause Fix
forbidden: violates PodSecurity Pod Security Admission rejecting the spec at the namespace's PSA level (restricted, baseline) Either relax the namespace label pod-security.kubernetes.io/enforce or fix the pod spec (drop capabilities, runAsNonRoot, etc.)
exceeded quota / forbidden: exceeded quota ResourceQuota in the namespace kubectl describe resourcequota -n <ns> to see what's exhausted
admission webhook "..." denied the request A ValidatingWebhookConfiguration rejected the pod kubectl get validatingwebhookconfigurations, inspect the named webhook's policy; the webhook's controller logs explain why
serviceaccount "X" not found SA referenced in pod spec doesn't exist in this namespace Create the SA, or fix the spec; common with Helm chart values mismatch
persistentvolumeclaim "X" not found (StatefulSet) The PVC template name doesn't match what was provisioned, or volumeClaimTemplate changed StatefulSet PVCs are immutable; delete and recreate, or revert the template
error looking up service account ... no token ServiceAccount exists but no token Secret (IRSA / GKE WI setups) Check Workload Identity bindings (GCP) or service-account token projection

Read the full file on GitHub · 179 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. 10d ago First seen · 179 lines · 64 tokens per session scan A 748ae562a398

Subscribe to this mod's changes

kubernetes-operations is a skill published in the GitHub repository Goodsmileduck/claude-registry (1 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 2,949 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories