K8S Debug
ListedTroubleshoot Kubernetes deployments, identify errors, and suggest fixes using automated analysis and expert knowledge.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add akin-ozer/cc-devops-skills --skill k8s-debug -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
akin-ozer
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: kubernetes.default.svc.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
kubernetes.default.svcundeclaredWhat it found
- devops-skills-plugin/skills/k8s-debug/scripts/network_debug.sh:20contacts kubernetes.default.svc
KUBERNETES_API_URL="https://kubernetes.default.svc/api"
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned akin-ozer/cc-devops-skills at 276af751e6.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 276af751e6
- Scanned
- 8 files, 2,443 lines
About this skill
What it does
The k8s-debug skill allows AI agents to troubleshoot and diagnose issues within Kubernetes clusters. It can analyze logs, describe pods and services, and execute commands within containers to identify the root cause of problems. This capability significantly reduces debugging time for common Kubernetes operational tasks.
When to use it
- Debugging application failures: Investigate why a specific pod is crashing or experiencing errors by analyzing its logs and resource usage.
- Troubleshooting network connectivity issues: Diagnose problems with service discovery or communication between pods within the cluster.
- Identifying resource constraints: Determine if pods are being throttled due to insufficient CPU or memory allocation.
- Investigating deployment rollbacks: Analyze why a Kubernetes deployment failed and requires a rollback.
Key capabilities
- Log analysis from pods and containers
- Kubernetes object description (pods, services, deployments)
- Container command execution within the cluster
- Resource usage monitoring for pods
Example prompts
- "Describe pod 'my-app-pod' in namespace 'production'."
- "Show me the logs from container 'webserver' in pod 'my-app-pod'."
- "Execute
kubectl exec -it my-app-pod -- ps auxinside the 'my-app-pod' pod."
Tips & gotchas
Requires appropriate Kubernetes cluster access and credentials for the AI agent. The skill’s effectiveness depends on having sufficient logging enabled within your Kubernetes environment.