setup-env
When given a Python project codebase, this skill helps the agent to set up virtual environments, install dependencies, and run scripts.
npxskills add benchflow-ai/skillsbench--skill setup-envLoading…
When given a Python project codebase, this skill helps the agent to set up virtual environments, install dependencies, and run scripts.
npxskills add benchflow-ai/skillsbench--skill setup-envLoading…
Assume uv is already available on PATH.
pyproject.toml exists: use project workflow (uv sync, uv run)requirements.txt exists: use pip workflow (uv venv, uv pip install -r ..., .venv/bin/python ...)From the repo root (where pyproject.toml is):
uv syncNotes:
.venv and installs deps there.Always run within the project environment:
uv run -- python <script.py> [args...]uv run -- python -m <module> [args...]Notes:
uv run executes inside the project environment and ensures it is up-to-date.From the repo root:
uv venv # creates .venv by defaultuv pip install -r requirements.txtRun using the venv interpreter directly (no activation required):
.venv/bin/python <script.py> [args...].venv/bin/python -m <module> [args...](uv will also automatically find and use the default .venv in subsequent invocations when you use uv pip ... commands.)
test -x .venv/bin/pythonuv pip list (verify packages installed)Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).