/kubernetes:kubernetesfrom kubernetes
Writes and reviews Kubernetes manifests (Deployments, probes, resources, RBAC, NetworkPolicy, Pod Security Standards and admission labels, Jobs, HPA, PDB, Kustomize) and triages failing workloads with read-only kubectl. Use when creating or hardening a workload or namespace, or diagnosing CrashLoopBackOff, OOMKilled, ImagePullBackOff or Pending pods.
Ships in kubernetes. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Not for Helm charts (the helm skill), Argo CD or Flux setup (gitops), Dockerfiles (docker), or rollout planning (rollout-plan).
Write manifests that pass the cluster's admission rules and fail safely, and diagnose workloads without changing the cluster. Take the cluster version, conventions, and existing manifests from the repo and kubectl version before choosing fields.
kubectl get, describe, logs, events, top, explain, api-resources, auth can-i, diff, and apply --dry-run=server.apply, create, patch, delete, scale, rollout undo|restart, drain, cordon, label, and exec into a production pod.kubectl config current-context, -n <ns>) before the first command. Pass -n and --context explicitly so a command can't land on the wrong cluster.kubectl get secret -o yaml and -o jsonpath on a Secret dump credentials into the transcript. Check that a Secret exists and has the expected keys (kubectl describe secret) instead.:latest.resources.requests for CPU and memory. Requests drive scheduling, and an HPA computes utilization against them.securityContext (non-root, no privilege escalation, drop: [ALL], seccompProfile: RuntimeDefault). See pod-security for the full control list and the namespace labels that enforce it.automountServiceAccountToken: false unless the app calls the API. See rbac.kubectl api-resources and kubectl explain <kind>.spec.Run these in order, cheapest first:
kubeconform -strict -summary -kubernetes-version <cluster-version> <path> # schema check, offline
kubectl apply --dry-run=server -f <path> # admission and defaulting, no persist
kubectl diff -f <path> # what would change
kubeconform, not the unmaintained kubeval. It validates against JSON schemas only, so it can't catch what the API server enforces. The server-side dry run covers that gap.-schema-location at a CRD schema catalog or the CRD's own schema, or pass -ignore-missing-schemas and say that those resources went unchecked.kube-linter lint <path> and kube-score score <path> add best-practice checks (missing limits, probes, security context). They run locally. Treat their output as findings to weigh, since some rules won't fit every workload.helm template into kubeconform (see the helm skill).Use Kustomize (built into kubectl) for per-environment variation of plain manifests. Use Helm (the helm skill) when you distribute a configurable package.
base/ holds the manifests and a kustomization.yaml. overlays/<env>/kustomization.yaml lists resources: [../../base] plus patches, images, and replicas.kubectl kustomize overlays/<env> and apply with kubectl apply -k overlays/<env>. Render and read the output before applying.gitops skill).gitops skill).readOnly: true. Never put credentials in a ConfigMap.secretKeyRef are easy but visible to anything that can read the pod spec's environment. Mount a Secret as a file for sensitive values.Follow triage to diagnose a failing workload. The usual path is get pods for the state, describe pod for events and last-state exit codes, and logs --previous for a crashed container.
restricted unless a named control blocks it); restricted securityContext on every container, init containers included; dedicated ServiceAccount; no cluster-admin bindings for apps.kubeconform and a server-side dry run both pass.references/deployment.md (opens in a new tab)references/jobs.md (opens in a new tab)references/network-policy.md (opens in a new tab)references/pod-security.md (opens in a new tab)references/probes.md (opens in a new tab)references/rbac.md (opens in a new tab)references/triage.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin kubernetes