docker.shrink_container

docker.shrink_container is a skill for Claude Code from gpsaggese/helpers. It costs 14 tokens per session (96 once invoked), scanned A, original, Apache-2.0.

A Docker optimization skill that proposes ways to make a project's Docker container smaller and faster without changing what it does. Docker containers package an application and its environment for consistent running.

In plain words
What is it for?
Use it to review a project directory, suggest container-size and speed changes, and state the expected improvement and behavior-preservation check for each proposal.
Why use it?
Large or slow containers take more storage, time, and resources to build or start. The skill focuses on possible improvements while checking that existing behavior is preserved.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to review a project directory, suggest container-size and speed changes, and state the expected improvement and behavior-preservation check for each proposal.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gpsaggese/helpers/docker.shrink_container
Install

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.

Any agent
npx skills add gpsaggese/helpers --skill docker.shrink_container
Clone the repo
git clone --depth 1 https://github.com/gpsaggese/helpers

Made for: Claude Code.

Wrote 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.

agentmods badge for docker.shrink_container

README.md
[![agentmods](https://agentmods.dev/badge/skills/gpsaggese/helpers/docker.shrink_container/github.svg)](https://agentmods.dev/skills/gpsaggese/helpers/docker.shrink_container)
Your own site
<a href="https://agentmods.dev/skills/gpsaggese/helpers/docker.shrink_container"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/docker.shrink_container/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.

agentmods 80×15 button for docker.shrink_container

Your own site · 80×15
<a href="https://agentmods.dev/skills/gpsaggese/helpers/docker.shrink_container"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/docker.shrink_container.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 96 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00096
Opus 5.5 $0.00006 $0.00038
Sonnet 5.5 $0.00003 $0.00019
Haiku 4.5 $0.00001 $0.00010

Measured yesterday against content hash 899ab681c406, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docker.shrink_container 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 yesterday.

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.

.claude/skills/docker.shrink_container/SKILL.md · 15 lines

What it actually says

Goal

  • Act as an expert in Docker
  • Given a directory <TARGET> with a project, propose solutions to make its Docker container faster and smaller without changing its functionality

Verification

  • Confirm each proposed change preserves the container's existing functionality
  • Confirm each proposal states its expected size or speed improvement
Changes

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.

  1. yesterday First seen · 15 lines · 14 tokens per session scan A 899ab681c406

Subscribe to this mod's changes

docker.shrink_container is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 14 tokens to every session and 96 once invoked, about $0.0001 per session on Opus 5.5. 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-11-06.

Related

docker.shrink_container compared with skills from other repositories

docker.shrink_container next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docker.shrink_containergpsaggese/helpersSkill158todayApache-2.0A14Claude Code
deploy-docker-composeomnigent-ai/omnigentSkill11ktodayApache-2.0A84Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A117Cursor
securing-kubernetes-on-cloudxalgorix/xalgorixSkill1.3ktodayApache-2.0A80Claude Code, Codex
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.3ktodayApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.5k9d agoApache-2.0B67Claude Code
k8s-networkingrohitg00/kubectl-mcp-serverSkill96816d agoMITA34Claude Code, Codex