SlimContainer: Base Image CVE & Bloat Slasher
Runs Trivy against your image, then rewrites the Dockerfile onto a distroless or Alpine base and through multi-stage builds so the high-severity CVEs and most of the megabytes go away together.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
About this skill
SlimContainer: Container Base Image CVE & Bloat Slasher Most of your CVE count belongs to packages your application never calls. The fastest remediation is deleting them.
Built for DevOps and SRE teams shipping containers that have to pass a scanner. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.
What's included:
- Local scan, no upload: Trivy and a Dockerfile parser run on your machine. Your image and its contents do not leave it.
- Base image replacement: swaps bloated Ubuntu and Debian bases for distroless or Alpine, which removes whole classes of findings rather than patching them one at a time.
- Multi-stage restructuring: build toolchains, compilers and package managers stay in the build stage and out of the runtime image - the single biggest cut to both size and attack surface.
- High-severity triage: the remaining CVEs, with what actually fixes each one.
- Clean output: a rewritten Dockerfile you can read and diff, not a patch to apply blind.
- Credentials are read from environment variables and never printed or stored.
Changing a base image changes runtime behaviour, and the failures are specific: Alpine uses musl rather than glibc, so binaries compiled against glibc and some DNS resolution behaviour will not work unchanged; distroless images ship no shell, so docker exec, entrypoint scripts and your debugging workflow all need rethinking. Run the full test suite against the rebuilt image and check your startup path before this reaches production - a smaller image that will not boot is not an improvement.
A clean Trivy report means no known CVEs in the scanned layers. It is not a statement about your application code.
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
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 6 days ago
- Accounts
Anthropic
Permissions
Allowed Hosts
This skill calls Anthropic Claude 3.5 Haiku (paid). 1 of these is billed by its provider, not by us; you supply the account. It reads ANTHROPIC_API_KEY from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local Trivy CLI, Local Dockerfile Parser - Trivy fetches its own vulnerability database over the network when you run it. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.