Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/flonat/flonat-researchnpx agentmods add skills/flonat/flonat-research/python-envWrote 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/flonat/flonat-research/python-env)<a href="https://agentmods.dev/skills/flonat/flonat-research/python-env"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/python-env/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/flonat/flonat-research/python-env"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/python-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00040 | $0.00562 |
| Opus 5.5 | $0.00016 | $0.00225 |
| Sonnet 5.5 | $0.00008 | $0.00112 |
| Haiku 4.5 | $0.00004 | $0.00056 |
Grade A, and why
python-env 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 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.
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
Python Environment Management
CRITICAL RULE: Never use pip directly. Always use uv. This applies to all Python package management.
Golden Rule
ALWAYS use uv for Python package and environment management. Never use pip directly.
Commands
| Task | Command |
|---|---|
| Create venv | uv venv |
| Install package | uv pip install <package> |
| Install from requirements | uv pip install -r requirements.txt |
| Run script in project | uv run python script.py |
| Run with dependencies | uv run --with pandas python script.py |
| Install CLI tool globally | uv tool install <tool> |
| Sync project deps | uv sync |
| Add dependency | uv add <package> |
Project Setup
For new projects:
uv init
uv add <dependencies>
uv sync
For existing projects with pyproject.toml:
uv sync
uv run python main.py
Rules
- Never use
pip install— alwaysuv pip installoruv add - Never install globally — use
uv tool installfor CLI tools - Always work in a venv — created by
uv venvoruv sync - Use
uv run— to execute scripts within the project environment
Typical Project
For a project with a Python entry point:
cd <project>
uv sync # Install dependencies
uv run python scripts/task.py # Run a project script
On [HPC cluster] HPC
[HPC cluster] uses Miniconda3 + Lmod (not uv) because cluster users need to compose with module load CUDA/12.6.0 and other pre-built modules. The project-specific pattern is hpc/env-setup.sh (conda create + pip install) — see docs/guides/hpc.md and reference implementations under Projects/NLP/{example-project-a,example-project-b}/hpc/env-setup.sh. The local dev env still uses uv; HPC gets its own conda env with identical pins. Don't try to port uv to [HPC cluster] — the module system assumes conda.
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.
- 2mo ago Changed 823c9c6a5f1d
- 2mo ago First seen · 62 lines · 40 tokens per session scan A a1f69ab14e7b
python-env is a skill published in the GitHub repository flonat/flonat-research (155 stars, last pushed 15d ago), licensed MIT. It adds 40 tokens to every session and 562 once invoked, about $0.0002 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-09-03.
python-env compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| python-envflonat/flonat-research | Skill | 155 | 15d ago | MIT | A | 40 | Claude Code |
| python-backendWrongStack/WrongStack | Skill | 444 | today | MIT | A | 93 | Claude Code, Codex |
| uv-package-managerGalaxy-Dawn/claude-scholar | Skill | 6.1k | 3d ago | MIT | C | 42 | Claude Code |
| agent-python-experttravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 37 | Claude Code |
| pypi-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 74 | Claude Code |
| python-performanceseaworld008/Commonly-used-high-value-skills | Skill | 75 | yesterday | MIT | A | 38 | Claude Code, Codex |
| python-async-ops0xDarkMatter/claude-mods | Skill | 86 | 6d ago | MIT | A | 40 | Claude Code |