/workflows:k8s-debugfrom workflows
Launches an ephemeral debug container attached to a running Kubernetes pod for interactive debugging without restarting it. Covers network, process, and filesystem inspection.
Ships in workflows. 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.
None: SKILL.md is the whole skill.
Launch an ephemeral debug container attached to a running pod for interactive debugging.
# Check kubectl context
kubectl config current-context || {
echo "No kubectl context. Run: kubectl config use-context <context>"
exit 1
}
# Show current context
echo "K8s Context: $(kubectl config current-context)"
Basic debug container:
# Attach ephemeral debug container to running pod
kubectl debug -it <pod-name> \
--image=nicolaka/netshoot \
--namespace=<namespace>
With specific container target (for multi-container pods):
# Target specific container in pod
kubectl debug -it <pod-name> \
--image=nicolaka/netshoot \
--target=<container-name> \
--namespace=<namespace>
With custom image:
# Use custom debug image
kubectl debug -it <pod-name> \
--image=ubuntu:latest \
--namespace=<namespace>
Once inside the debug container, use these commands:
Network debugging:
# Test HTTP endpoints
curl http://localhost:8080/health
curl -v http://database-service:5432
# Check listening ports
netstat -tulpn
# Capture network traffic
tcpdump -i any port 8080
# DNS resolution
nslookup database-service
dig +short database-service.default.svc.cluster.local
Process inspection:
# List processes
ps aux
# Monitor processes
top
# Check process details
ps aux | grep api-gateway
File system inspection:
# Check application directory
ls -la /app
# View config files
cat /app/config.yaml
# Check environment variables
env | grep API
# Check mounted volumes
df -h
mount | grep /app
Container metadata:
# Check container env
printenv
# View pod labels (if tools available)
cat /etc/podinfo/labels
After debugging:
exit or Ctrl+Dnicolaka/netshoot (Recommended for network debugging):
busybox:
ubuntu:latest:
alpine:latest:
--target when debugging multi-container pods--copy-to=<new-pod-name> to create a copy of the pod for debuggingkubectl get pod <pod-name> -n <namespace>What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
29 skills in this plugin
/agent-awarenessALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./determine-feature-slugDetermine feature slug interactively by auto-detecting next number and prompting user for descriptionnpx claudepluginhub eveld/claude --plugin workflowsOther plugins' skills for the same job