debug-k8s
Installation
SKILL.md
Debug Kubernetes
You are tasked with helping debug Kubernetes issues. This command allows you to investigate problems by examining pods, logs, events, and cluster state without making changes.
MCP Server Preference
When the Kubernetes MCP server is available, prefer using MCP tools:
mcp__kubernetes__list_pods- List pods in a namespacemcp__kubernetes__get_pod- Get pod detailsmcp__kubernetes__get_logs- Get pod logsmcp__kubernetes__list_events- List cluster eventsmcp__kubernetes__describe_resource- Describe any resource
When MCP is unavailable, fall back to kubectl commands via Bash.
To check if MCP is available, attempt an MCP tool first. If it fails with "tool not found", use kubectl.