Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add batu-sonmez/infraclaude --skill docker-debuggit clone --depth 1 https://github.com/batu-sonmez/infraclaudeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/batu-sonmez/infraclaude/docker-debug)<a href="https://agentmods.dev/skills/batu-sonmez/infraclaude/docker-debug"><img src="https://agentmods.dev/badge/skills/batu-sonmez/infraclaude/docker-debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/batu-sonmez/infraclaude/docker-debug"><img src="https://agentmods.dev/badge/skills/batu-sonmez/infraclaude/docker-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00426 |
| Opus 5 | $0.00000 | $0.00213 |
| Sonnet 5 | $0.00000 | $0.00085 |
| Haiku 4.5 | $0.00000 | $0.00043 |
Grade A, and why
docker-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Docker Container Debugging Guide
Systematic approach to debugging Docker container issues using InfraClaude tools.
Container Won't Start
- Use
docker_list_containerswithall: trueto find stopped/exited containers - Use
docker_inspect_containerto check:- Exit code (non-zero = error)
- State and error message
- Port bindings and volume mounts
- Use
docker_container_logsto see startup errors - Common issues:
- Exit code 1: Application error — check logs
- Exit code 137: OOMKilled — increase memory limit
- Exit code 139: Segfault — check binary compatibility
- Port already in use: Another container or process using the port
High Resource Usage
- Use
docker_container_statsto see real-time CPU/memory/network - Look for:
- CPU over 100% — may need CPU limits
- Memory growing continuously — possible memory leak
- High network I/O — check for chatty services
- Compare with
docker_inspect_containerfor configured limits
Networking Issues
- Use
docker_list_networksto see available networks - Use
docker_inspect_networkto check which containers are connected - Common issues:
- Containers on different networks can't communicate
- DNS resolution failing — check container DNS settings
- Port mapping incorrect — verify
-pflags
Docker Compose Issues
- Use
docker_compose_psto check service status - Use
docker_compose_logsfor specific service logs - Check dependency ordering (depends_on)
- Verify environment variables and volume mounts
Image Issues
- Use
docker_list_imagesto check available images - Check image size — large images slow down deployment
- Verify image tags —
:latestcan cause inconsistencies - Use
security_trivy_scanto check for vulnerabilities
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 50 lines · 0 tokens per session scan A cba5cf1ca469
docker-debug is a skill published in the GitHub repository batu-sonmez/infraclaude (0 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 426 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
hermes-s6-container-supervision
Modify or debug s6 services in the Hermes Docker image.
smoke-test
Health smoke tests + auto-fix for gbrain installs (and OpenClaw services when present). Run after machine/container restarts or whenever something seems broken. Tests critical services, auto-fixes bounded local issues, and reports worker topology without starting daemons. Extensible via user-defined test scripts in…
competition-container-runtime
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for live container runtime analysis, mounted secrets, sidecars, namespaces, init containers, entrypoint drift, and route-to-container resolution. Use when the user asks why a live container differs from manifests, where a mounted secret is…
meta-home-it-rescue
Use this meta-skill instead of answering directly when the user needs help with home, small-team, laptop, browser, printer, Docker, Git, network, UI, or deployment troubleshooting that benefits from multi-skill orchestration across symptom intake, environment capture, web lookup, and repair planning.
debugging-local-replay
Debugs why session recordings aren't appearing in the local dev environment. Use when a developer reports that local replay ingestion isn't working, recordings aren't showing up despite /s calls, or the replay pipeline seems broken after hogli start. Covers the full local pipeline: SDK capture, Caddy proxy…
docker-debug
Debug Kurtosis running on local Docker. Inspect engine, API container, and service logs. Diagnose container crashes, port conflicts, and networking issues. Use when kurtosis commands fail or services aren't reachable on Docker.