Works with the AI Agents you already use
Docker Image Tagging and Registry Strategy
by Saizul Amin
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.
$3
Docker Image Tagging and Registry Strategy
Example session with this skill installed
Run the Docker Image Tagging and Registry Strategy 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 image tagging
Here is what the Docker Image Tagging and Registry Strategy skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
keep 11, delete 8 (dry run: nothing was deleted)
keep 0.9.3 newest release of major 0
keep 1 floating version alias
keep 1.3.0-beta.1 one of the newest 3 prereleases
keep 1.4 floating version alias
keep 1.4.0-rc.1 one of the newest 3 prereleases
keep 1.4.0-rc.2 one of the newest 3 prereleases
keep 1.4.1 one of the newest 2 releases
keep 1.4.2 one of the newest 2 releases; newest patch of 1.4; newest release of major 1
keep 2.0.0-rc.1 prerelease newer than the newest stable release
keep latest protected tag
keep pr-41 no creation date known: kept (review manually)
delete 1.0.0 older release outside the retention window
delete 1.1.0 older release outside the retention window
delete 1.1.0-rc.1 superseded prerelease
delete 1.2.0-rc.1 superseded prerelease
delete 1.2.9 older release outside the retention window
delete 1.3.4 older release outside the retention window
delete 1.3.5 older release outside the retention window
delete 1.4.0 older release outside the retention window
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
Tag, pin and clean up container images in a registry. A script computes the exact tags to push for a release (1.4.2, 1.4, 1, latest - floating tags move only when the version is the newest; prereleases and backports never move latest; refuses to overwrite an existing version tag) and plans tag retention as a dry run (keep the newest N releases, the newest patch of the last M minor lines and of every major, prereleases newer than the latest stable, protected tags like latest/main, the newest N sha-/branch/PR tags, age limits; notes tags that share a digest so deleting them frees nothing). Reads crane ls, skopeo list-tags, Docker Hub API and GitHub Packages (gh api) output. Also covers digest pinning, immutable tags, OCI labels, and registry cleanup commands for GHCR, Docker Hub, ECR, GCR/Artifact Registry and Harbor.
Who it's for
Use when the user asks how to tag Docker images, whether to use latest, how to pin by digest, which old tags or images to delete, or wants a retention/lifecycle policy for a container registry.
What's inside
- Tested, offline Python script(s): plan_tags.py (deterministic results, standard library only unless noted)
- Reference guides: registries.md, tagging.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
- Accounts
Docker
- Software
Python 3.8+
Permissions
Allowed Hosts