rhecosystemappeng/agentic-collections/debug-container
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Diagnose local container issues with Podman/Docker including image pull errors, container startup failures, OOM kills, and networking problems. Automates multi-step diagnosis: container inspect, logs retrieval, image analysis, and resource constraint checking. Use this skill when containers fail to run locally before deployment. Triggers on /debug-container command or phrases like "container won't start", "podman run fails", "local container crashing", "container exits immediately".
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/debug-containerSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/debug-container.
/debug-container Skill
Diagnose local Podman/Docker container issues by automatically gathering container status, logs, and configuration.
Overview
This skill diagnoses:
- Container startup failures
- Immediate exit (exit codes)
- OOM kills
- Image pull errors
- Entrypoint/CMD issues
- Volume mount problems
Prerequisites
- Podman or Docker installed locally
- Container or image name is known
Critical: Human-in-the-Loop Requirements
See Human-in-the-Loop Requirements for mandatory checkpoint behavior.
When to Use This Skill
Use /debug-container when local Podman or Docker containers fail to run, crash on startup, get OOM killed, or have image pull errors. This skill automates container inspection, log retrieval, image analysis, and resource constraint checking.
Workflow
Step 1: Identify Target Container
WAIT for user confirmation before proceeding.
If user selects "List containers": Use Podman MCP container_list:
WAIT for user confirmation before proceeding.
Step 2: Inspect Container
Use Podman MCP container_inspect:
WAIT for user confirmation before proceeding.
Step 3: Get Container Logs
Use Podman MCP container_logs:
[container log output]
WAIT for user confirmation before proceeding.
Step 4: Analyze Image
Use Podman MCP image_list to check the image:
WAIT for user confirmation before proceeding.
Step 5: Resource Analysis
Run with more memory
podman run --memory=1g [image]
Find process using port
lsof -i :[port]
Or use different port
podman run -p 8081:8080 [image]
WAIT for user confirmation before proceeding.
Step 6: Present Diagnosis Summary
Remove failed container
podman rm [container-name]
Run with fixes applied
podman run [corrected-options] [image]
Or run interactively to debug
podman run -it --entrypoint /bin/sh [image]
WAIT for user to select next action.
For exit codes, common container issues, and SELinux volume guidance, see debugging-patterns.md.
Dependencies
Required MCP Servers
podman- container inspection, logs, and image analysis
Related Skills
/debug-rhel- systemd service issues on RHEL hosts/recommend-image- select a better base image
Reference Documentation
- references/debugging-patterns.md - Common error patterns, exit codes
- references/prerequisites.md - Required tools (podman)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-developer/skills/debug-container/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-container)