Skip to content

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
View on GitHub

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, and pod_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 -y

Installs 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 Pending and 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

  • kubectl installed 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

  • jq for more precise filtering in ./scripts/cluster_health.sh.
  • Metrics API (metrics-server) for kubectl 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

Similar to K8s Debug

More DevOps & Cloud