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 notebook.fix_packagesgit 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/notebook.fix_packages)<a href="https://agentmods.dev/skills/gpsaggese/helpers/notebook.fix_packages"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/notebook.fix_packages/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/notebook.fix_packages"><img src="https://agentmods.dev/badge/skills/gpsaggese/helpers/notebook.fix_packages.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.00016 | $0.00922 |
| Opus 5.5 | $0.00006 | $0.00369 |
| Sonnet 5.5 | $0.00003 | $0.00184 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
notebook.fix_packages 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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
- When creating Docker images for projects and tutorials, we want to
- Always use the same Docker template image from
class_projectto avoid replicating Docker containers - Install the needed packages in the notebooks to customize the container
- Always use the same Docker template image from
Inputs
- The user passes:
- A target dir
<TARGET_DIR>(e.g.,msml610/tutorials/L03_knowledge_representation) cloned fromclass_project/project_template - (Optional) pointers to Jupyter notebooks
- A target dir
Workflow
Use the Docker Container From the Project Teamplate
- In the project dir (e.g.,
msml610/tutorials/L03_knowledge_representation), use the sameDockerfileandrequirements.txtas the matching files inclass_project/project_template, so the project container matches the class project template - If the image needs something that
pipcannot install, add it toDockerfilewith a clear comment on why it is needed
Discover All Packages Needed by the Notebook
-
A notebook's own
importlines are not the full picture. Each notebook pairs with a*_utils.pyfile (e.g.,L03_06_logic_solvers.ipynb->L03_06_logic_solvers_utils.py), imported with a line like:import L03_06_logic_solvers_utils as utils -
Read the
*_utils.pyfile and any local module it imports (transitively). Collect every third-partyimport/from ... importstatement, not just those in the notebook -
Map import names to pip names where they differ (e.g.,
cv2->opencv-python,sklearn->scikit-learn,PIL->Pillow,yaml->PyYAML) -
Diff this full list against
requirements.txtandDockerfile. A package used by the notebook or its utils that is missing from both is a bug, even if it is already installed in the container used to author the notebook -
Add every missing package to
requirements.txt, and toDockerfileonly if it cannot be installed withpip(per## Use the Docker Container from the Project Teamplateabove)
Add Packages to Notebooks
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 · 102 lines · 16 tokens per session scan A 7f55dac079e2
notebook.fix_packages is a skill published in the GitHub repository gpsaggese/helpers (158 stars, last pushed today), licensed Apache-2.0. It adds 16 tokens to every session and 922 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.
notebook.fix_packages compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| notebook.fix_packagesgpsaggese/helpers | Skill | 158 | today | Apache-2.0 | A | 16 | 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 |