rhecosystemappeng/agentic-collections/debug-pod
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Diagnose pod failures on OpenShift including CrashLoopBackOff, ImagePullBackOff, OOMKilled, and pending pods. Automates multi-step diagnosis: pod status, events, logs (current + previous), and resource constraint analysis. Use this skill when pods are not running, restarting frequently, or stuck in non-ready states. Triggers on /debug-pod command or phrases like "my pod is crashing", "pod won't start", "CrashLoopBackOff", "ImagePullBackOff", "OOMKilled".
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/debug-podSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/debug-pod.
/debug-pod Skill
Diagnose pod failures on OpenShift by automatically gathering status, events, logs, and resource information.
Prerequisites
Before running this skill:
- User is logged into OpenShift cluster
- User has access to the target namespace
- Pod or deployment name is known (or can be identified from recent deployments)
When to Use This Skill
Use this skill when pods are not running, restarting frequently, or stuck in non-ready states such as CrashLoopBackOff, ImagePullBackOff, OOMKilled, or Pending. It automates gathering pod status, events, logs, and resource constraints to identify the root cause.
Critical: Human-in-the-Loop Requirements
See Human-in-the-Loop Requirements for mandatory checkpoint behavior.
Workflow
Step 1: Identify Target Pod
WAIT for user confirmation before proceeding.
If user selects "List failing pods": Use kubernetes MCP pods_list with namespace, then filter to show pods NOT in Running/Succeeded state:
WAIT for user confirmation before proceeding.
Step 2: Get Pod Status Overview
Use kubernetes MCP resources_get to get pod details:
WAIT for user confirmation before proceeding.
Step 3: Analyze Events
Use kubernetes MCP events_list filtered by pod:
WAIT for user confirmation before proceeding.
Step 4: Get Container Logs
Use kubernetes MCP pods_log for current and previous container:
[log output]
[log output from --previous]
WAIT for user confirmation before proceeding.
Step 5: Analyze Resource Constraints
Check resource requests, limits, and actual usage:
WAIT for user confirmation before proceeding.
Step 6: Present Diagnosis Summary
WAIT for user confirmation before proceeding.
For pod failure categories and exit code reference, see debugging-patterns.md.
Dependencies
Required MCP Servers
openshift- Kubernetes/OpenShift resource access for pod status, events, and logs
Related Skills
/debug-build- If pod failure is due to bad image from build/debug-network- If pod is running but service connectivity fails/deploy- To redeploy after fixing issues
Reference Documentation
- references/debugging-patterns.md - Common error patterns and troubleshooting trees
- references/prerequisites.md - Required tools (oc), cluster access verification
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-developer/skills/debug-pod/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/debug-pod)