K8s Debug
Systematic Kubernetes debugging toolkit for pods, DNS, networking, storage, and rollout failures using kubectl.
- CCM score
- 60 of 100
- skills.sh installs
- 958
- GitHub stars
- 345
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers pod failures, service and DNS resolution, network policy, storage mounts, rollouts, and cluster health
- Includes 3 scripts:
cluster_health.sh,network_debug.sh, andpod_diagnostics.py, with exit codes 0, 1, and 2 for check outcomes - Enforces read-only diagnosis first and requires explicit confirmation before
kubectl drain,rollout undo, or forced pod deletion - Designed for operators working from a configured kubectl context with read access to namespaces, pods, events, and nodes
Install
$ npx -y skills add akin-ozer/cc-devops-skills --skill k8s-debug -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Kubernetes Debugging Skill
Overview
Systematic toolkit for debugging Kubernetes clusters, workloads, networking, and storage with a deterministic, safety-first workflow.
Trigger Phrases
Use this skill when requests resemble:
- "My pod is in
CrashLoopBackOff; help me find the root cause." - "Service DNS works in one pod but not another."
- "Deployment rollout is stuck."
- "Pods are
Pendingand not scheduling." - "Cluster health looks degraded after a change."
- "PVC is pending and pods cannot mount storage."
Prerequisites
Run from the skill directory (devops-skills-plugin/skills/k8s-debug) so relative script paths work as written.
Required
kubectlinstalled and configured.- An active cluster context.
- Read access to namespaces, pods, events, services, and nodes.
Quick preflight:
kubectl config current-context
kubectl auth can-i get pods -A
kubectl auth can-i get events -A
kubectl get ns
Optional but Recommended
jqfor more precise filtering in./scripts/cluster_health.sh.- Metrics API (
metrics-server) forkubectl top. - In-container debug tools (
nslookup,getent,curl,wget,ip) for deep network tests.
Details
- Repository
- github.com/akin-ozer/cc-devops-skills
- Categories
- DevOps & Cloud, Debugging
- First seen
- Jun 3, 2026
Questions
Can Claude help me debug CrashLoopBackOff or Pending pods in Kubernetes?
Yes, the k8s-debug skill diagnoses Kubernetes pods stuck in CrashLoopBackOff, Pending, or ImagePullBackOff, plus DNS, networking, storage, and rollout failures. It works with kubectl and follows a read-only diagnosis first workflow before any disruptive fix.
How do I install the k8s-debug skill?
Run npx -y skills add akin-ozer/cc-devops-skills --skill k8s-debug -y in your project. Once installed, the agent can walk through pod, service, and storage failures using kubectl.
What does k8s-debug need before it can run?
It needs kubectl installed with an active cluster context and read access to namespaces, pods, events, services, and nodes. Optional tools like jq and metrics-server improve filtering and kubectl top output.
Where does k8s-debug stand in the DevOps and Cloud category?
k8s-debug is listed in the DevOps and Cloud category on Claude Marketplaces. Other skills in that category include azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage, which focus on Azure rather than Kubernetes.
More from akin-ozer/cc-devops-skills
All 31- Jenkinsfile Generator914
- Dockerfile Validator834
- Bash Script Validator788
- Dockerfile Generator785
- Gitlab Ci Validator771
- K8s Yaml Validator765
- Helm Validator762
- Bash Script Generator754
- Jenkinsfile Validator752
- Terragrunt Validator747
- K8s Yaml Generator737
- Github Actions Validator734
- Azure Pipelines Generator733
- Gitlab Ci Generator728
- Github Actions Generator727
- Terraform Generator726
- Azure Pipelines Validator723
- Terraform Validator723
- Helm Generator717
- Makefile Validator711
- Makefile Generator697
- Promql Generator696
- Promql Validator688
- Logql Generator682
Similar to K8s Debug
More DevOps & CloudkubernetesSkillbobmatnyc/claude-mpm-skills407 installsOperations playbook for Kubernetes deployments covering rollouts, probes, resource sizing, and kubectl triage.
k8s-troubleshooterPluginahmedasmar/devops-claude-skills206 starsSystematic Kubernetes troubleshooting and incident response. Use this skill whenever the user mentions Kubernetes, K8s, kubectl, pods, containers, or clusters.
observability-k8s-investigationSkillelastic/agent-skills3.6K installsDiagnostic skill that investigates Kubernetes pod, node, and control-plane failures using OTel telemetry from EDOT.
Radar Kubernetes MCP ServerMCP serverskyhook-io4.3K starsRadar's MCP server exposes live Kubernetes cluster state, diagnostics, and optional pod exec to AI agents.
kubernetes-skillSkilllukasniessen/kubernetes-skill1.5K installsDiagnose and fix Kubernetes failure modes like insecure defaults, resource starvation, and API drift.
dt-obs-kubernetesSkilldynatrace/dynatrace-for-ai3.1K installsMonitoring and analysis skill for Kubernetes clusters, pods, nodes, and workloads using Dynatrace DQL queries.