Works with the AI Agents you already use
Docker Healthchecks and Graceful Shutdown Fixer
by Saizul Amin
Make containers start, report health and stop cleanly.
$4
Docker Healthchecks and Graceful Shutdown Fixer
Example session with this skill installed
Run the Docker Healthchecks and Graceful Shutdown Fixer skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the docker healthchecks
Here is what the Docker Healthchecks and Graceful Shutdown Fixer skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
LOW health.missing (image): no HEALTHCHECK in the final stage (compose 'depends_on: condition: service_healthy' and 'docker ps' health status need one; Kubernetes ignores it and uses probes)
fix: HEALTHCHECK --interval=30s --timeout=3s --start-period=20s --retries=3 CMD ["/app", "healthcheck"]
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Make containers start, report health and stop cleanly. Covers PID 1 and signal forwarding (exec-form CMD/ENTRYPOINT, exec "$@" in entrypoint scripts, tini / docker run --init, npm start as PID 1), graceful shutdown (SIGTERM handling, STOPSIGNAL for nginx/php-fpm/httpd, stop_grace_period, draining connections), and health checks (HEALTHCHECK options, liveness vs readiness, curl/wget missing in slim or distroless images, compose depends_on service_healthy, Kubernetes probes). A script checks the Dockerfile and its entrypoint script; a checklist and per-language shutdown snippets are included.
Who it's for
Use when docker stop takes 10 seconds, containers are killed with exit code 137, requests fail during deploys, a container shows unhealthy, zombie processes pile up, or the user asks to add a health check or graceful shutdown.
What's inside
- Tested, offline Python script(s): signal_check.py (deterministic results, standard library only unless noted)
- Reference guides: checklist.md, shutdown.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/docker-container-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+