running-python

running-python is a skill for Claude Code from yale-som-hpc/claude-code-marketplace. It costs 60 tokens per session (3,178 once invoked), scanned A, original, Unlicense.

Guidance for running Python projects on Yale SOM's shared high-performance computing cluster using uv, a tool that manages Python versions, packages, and project environments. It also covers Slurm jobs, thread limits, logs, and resumable results.

In plain words
What is it for?
Creating project environments, installing locked dependencies, writing Python Slurm scripts, controlling library threads, recording job output, and restarting incomplete work.
Why use it?
It keeps the same dependencies and interpreter available on your laptop, login node, and compute node, reducing failures caused by different installed software.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hpc plugin — 23 skills, 3 commands shipped together

Good fit Creating project environments, installing locked dependencies, writing Python Slurm scripts, controlling library threads, recording job output, and restarting incomplete work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yale-som-hpc/claude-code-marketplace/running-python
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 yale-som-hpc/claude-code-marketplace --skill running-python
Clone the repo
git clone --depth 1 https://github.com/yale-som-hpc/claude-code-marketplace

Made for: Claude Code.

Or install hpc, the plugin that ships this one along with the rest of its 23 skills, 3 commands.

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 running-python

README.md
[![agentmods](https://agentmods.dev/badge/skills/yale-som-hpc/claude-code-marketplace/running-python/github.svg)](https://agentmods.dev/skills/yale-som-hpc/claude-code-marketplace/running-python)
Your own site
<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/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 running-python

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,178 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00060 $0.03178
Opus 5.5 $0.00024 $0.01271
Sonnet 5.5 $0.00012 $0.00636
Haiku 4.5 $0.00006 $0.00318

Measured 2mo ago against content hash 71a90bebab68, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 2mo 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
plugins/hpc/skills/running-python/SKILL.md · 226 lines

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 python3 is old, and the python modules are a fixed set that changes between maintenance windows (check python3 --version and module spider python); uv downloads and pins whatever recent Python your project needs (pyproject.toml's requires-python).
  • Lockfile (uv.lock) is built-in and resolves identically on the login node, compute node, and your laptop — no conda env export games, no "works on my machine."
  • 10–100× faster than conda on GPFS. A uv sync --frozen is a few seconds; a conda env create is a multi-minute metadata storm because conda writes thousands of small files into one directory.
  • Single .venv directory in your project — easy to inspect, easy to nuke, easy to atomically swap.

These pair with uv:

  • ruff for lint + format. Catches mistakes locally before burning a Slurm allocation.
  • pyrefly for type checking. Same reason as ruff.
  • pytest for tests. Smoke tests on small inputs save many cluster reruns.
  • argparse for batch scripts (one-file entry points like run_task.py --task-id). click only when you grow into a reusable project CLI; the extra dependency is not worth it for a single sbatch script.
  • pathlib over os.path. Joining paths and checking parents is what you do most on the cluster.
  • logging as the baseline (configured below). loguru is fine when its structured output materially helps incident debugging.
  • pyproject.toml + uv.lock committed; .venv/ gitignored. The lockfile is what makes runs reproducible across login and compute nodes.

Read the full file on GitHub · 226 lines

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. 2mo ago First seen · 226 lines · 60 tokens per session scan A 71a90bebab68

Subscribe to this mod's changes

running-python is a skill published in the GitHub repository yale-som-hpc/claude-code-marketplace (5 stars, last pushed 3mo ago), licensed Unlicense. It adds 60 tokens to every session and 3,178 once invoked, about $0.0002 per session on Opus 5.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.

Related

running-python compared with skills from other repositories

running-python next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
running-pythonyale-som-hpc/claude-code-marketplaceSkill53mo agoUnlicenseA60Claude Code
jupyter-notebookNousResearch/hermes-agentSkill261kyesterdayMITA18Claude Code, Codex
matlabK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA44Claude Code
pennylaneK-Dense-AI/scientific-agent-skillsSkill56k4d agoMITA74Claude Code
cuequivariance-jaxNVIDIA/skillsSkill3.9kyesterdayApache-2.0A38Claude Code, Codex
cuequivariance-torchNVIDIA/skillsSkill3.9kyesterdayApache-2.0A37Claude Code, Codex
cuopt-numerical-optimization-apiNVIDIA/skillsSkill3.9kyesterdayApache-2.0A51Claude Code, Codex