AgentStack
SKILL verified MIT Self-run

Python Env

skill-flonat-claude-research-python-env · by flonat

Use when you need Python environment management with uv (install, create venv, manage deps).

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-flonat-claude-research-python-env

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Python Env? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 | | 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 | | Sync project deps | uv sync | | Add dependency | uv add |

Project Setup

For new projects:

uv init
uv add 
uv sync

For existing projects with pyproject.toml:

uv sync
uv run python main.py

Rules

  1. Never use pip install — always uv pip install or uv add
  2. Never install globally — use uv tool install for CLI tools
  3. Always work in a venv — created by uv venv or uv sync
  4. Use uv run — to execute scripts within the project environment

This Project

The Task Management system uses uv:

cd "Task Management"
uv sync                           # Install dependencies
uv run python .scripts/tasks      # Run CLI tools

On your HPC cluster HPC

Avon 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](../../docs/guides/hpc.md) and reference implementations under Projects/[your-project]/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 Avon — the module system assumes conda.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.