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 gpsaggese/helpers --skill docker.shrink_requirementsgit clone --depth 1 https://github.com/gpsaggese/helpersWrote 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/gpsaggese/helpers/docker.shrink_requirements)<a href="https://agentmods.dev/skills/gpsaggese/helpers/docker.shrink_requirements"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/docker.shrink_requirements/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/gpsaggese/helpers/docker.shrink_requirements"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/docker.shrink_requirements.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.00012 | $0.00355 |
| Opus 5.5 | $0.00005 | $0.00142 |
| Sonnet 5.5 | $0.00002 | $0.00071 |
| Haiku 4.5 | $0.00001 | $0.00036 |
Grade A, and why
docker.shrink_requirements 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.
What it actually says
Goal
- Act as an expert in Docker
- Given a project dir
<TARGET_DIR>, find the packages inrequirements.txtthat its code does not need
Workflow
Methodology
- Find actual imports in all
.pyfiles in<TARGET_DIR>withgrep -r "import <PKG>"or AST-based analysis - Map each package in
requirements.txtto its import name (e.g.,Pillow->PIL,scikit-learn->sklearn,PyYAML->yaml) - Also check
setup.py,pyproject.toml,tasks.py, andMakefilefor indirect or tool-level usage - Flag but do NOT remove packages that are:
- Runtime plugins or extras loaded dynamically (e.g., via
importlib) - Transitive dependencies pulled in by other listed packages
- Used only in test files (mark them as "test-only")
- Runtime plugins or extras loaded dynamically (e.g., via
Output
- Print a table with columns:
package | import_name | used_in_code | verdictverdictis one of:remove,keep,investigate,test-only
- Propose the trimmed
requirements.txtcontents and write it to disk
Verification
- Confirm every package in
requirements.txthas a verdict - Confirm no package marked
removeis still imported anywhere in<TARGET_DIR> - Confirm the trimmed
requirements.txtwas written to disk
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.
- yesterday First seen · 38 lines · 12 tokens per session scan A f531361d9805
docker.shrink_requirements is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 12 tokens to every session and 355 once invoked, about $0.0000 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.
docker.shrink_requirements compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docker.shrink_requirementsgpsaggese/helpers | Skill | 158 | today | Apache-2.0 | A | 12 | Claude Code |
| azure-containerregistry-pybenjaminasterA/antigravity-awesome-skills | Skill | 465 | yesterday | MIT | A | 0 | Claude Code, Codex |
| airflowTerminalSkills/skills | Skill | 194 | today | Apache-2.0 | A | 77 | Claude Code, Codex |
| python-install-skilljiushiwon/wg-skills | Skill | 136 | today | Apache-2.0 | A | 49 | Claude Code, Codex |
| docker_packagingfdueblab/Micro-Agent | Skill | 100 | 1mo ago | MIT | A | 0 | Claude Code, Codex |
| new-servicevoro6yov/spec-driven-development | Skill | 5 | 1mo ago | Apache-2.0 | A | 109 | Claude Code |
| python-containerslaurigates/claude-plugins | Skill | 59 | today | MIT | C | 50 | Claude Code |