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 agentmods add skills/yale-som-hpc/claude-code-marketplace/running-pythonnpx skills add yale-som-hpc/claude-code-marketplace --skill running-pythongit clone --depth 1 https://github.com/yale-som-hpc/claude-code-marketplaceWrote 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/yale-som-hpc/claude-code-marketplace/running-python)<a href="https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/running-python"><img src="https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/running-python.svg" alt="Measured on agentmods" 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 | $0.00060 | $0.03178 |
| Opus 5 | $0.00030 | $0.01589 |
| Sonnet 5 | $0.00012 | $0.00636 |
| Haiku 4.5 | $0.00006 | $0.00318 |
Grade A, and why
running-python scanned grade A with 1 finding 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 4d ago.
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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
How to install the tools themselves: see [installing software](../installing-software/SKILL.md) for `uv` (one curl command into `~/.local/bin`). Once `uv` is on your PATH, `ruff`, `pyrefly`, and `pytest` go in your proje How it starts
The opening of the file, as written. The whole thing — 226 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Running Python
Rule: use a project environment, control threads, log clearly, and make outputs resumable.
What you get: with uv you control the interpreter and every package yourself, so nothing depends on what Python happens to be preinstalled on the cluster — no bootstrap step to worry about.
Tooling defaults
Use uv. It is the package manager for cluster Python work; everything below assumes it. Don't reach for conda, mamba, poetry, pipenv, pip-tools, or pip install --user — uv supersedes all of them. Why specifically uv on this cluster:
- Single tool for dependencies, lockfile, virtualenv, and Python interpreter — no module/conda/pyenv stack to coordinate. The cluster's system
python3is old, and thepythonmodules are a fixed set that changes between maintenance windows (checkpython3 --versionandmodule spider python); uv downloads and pins whatever recent Python your project needs (pyproject.toml'srequires-python). - Lockfile (
uv.lock) is built-in and resolves identically on the login node, compute node, and your laptop — noconda env exportgames, no "works on my machine." - 10–100× faster than conda on GPFS. A
uv sync --frozenis a few seconds; aconda env createis a multi-minute metadata storm because conda writes thousands of small files into one directory. - Single
.venvdirectory in your project — easy to inspect, easy to nuke, easy to atomically swap.
These pair with uv:
rufffor lint + format. Catches mistakes locally before burning a Slurm allocation.pyreflyfor type checking. Same reason as ruff.pytestfor tests. Smoke tests on small inputs save many cluster reruns.argparsefor batch scripts (one-file entry points likerun_task.py --task-id).clickonly when you grow into a reusable project CLI; the extra dependency is not worth it for a single sbatch script.pathliboveros.path. Joining paths and checking parents is what you do most on the cluster.loggingas the baseline (configured below).loguruis fine when its structured output materially helps incident debugging.pyproject.toml+uv.lockcommitted;.venv/gitignored. The lockfile is what makes runs reproducible across login and compute nodes.
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.
- 4d ago First seen · 226 lines · 60 tokens per session scan A 71a90bebab68
running-python is a skill published in the GitHub repository yale-som-hpc/claude-code-marketplace (5 stars, last pushed 1mo ago), licensed Unlicense. It adds 60 tokens to every session and 3,178 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
jupyter-notebook
Use when the user asks to create, scaffold, or edit Jupyter notebooks (.ipynb) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script newnotebook.py to generate a clean starting notebook.
arxiv-search
Searches arXiv for preprints and academic papers, retrieves abstracts, and filters by topic. Use when the user asks to find research papers, search arXiv, look up preprints, find academic articles in physics, math, CS, biology, statistics, or related fields.
quantum-qiskit
Reference qiskit 2.x patterns for variational quantum machine learning. Covers data-encoding feature maps, variational quantum classifier (VQC) training, variational quantum eigensolver (VQE) for chemistry, matrix-product-state circuits, and noise model integration. Use when writing Python code that imports qiskit…
biology-biopython
Bioinformatics with Biopython for sequence manipulation, file parsing, BLAST, and phylogenetics. Use when working with DNA/RNA/protein sequences or biological databases.
rocm-kernels
Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…
flydsl-kernel-code-cleanup
Modernize FlyDSL kernels: replace raw MLIR dialects (arith, scf, vector, llvm, memref, math), ArithValue, redundant fx. wrapping, fx.Index, bufferops, SmemPtr/SmemAllocator, copyatomcall/mmaatomcall (loop or single atom), and raw rocdl.mfma with the current fx. surface (fx types, Python control flow, makebuffertensor…