Tooluck logoTooluck
SKILL.md

uv

Agent skill fromgoogle-deepmind/science-skills

Checks whether the uv Python package manager is installed and installs it if missing. Ensures uv is on PATH. Use when another skill requires uv as a prerequisite.

How to install uv

install uv
# install the science-skills pack with the skills CLI
npx skills add google-deepmind/science-skills

# or add only this skill to Claude Code: copy the folder

skills/uv/

# into

~/.claude/skills/uv/ (all projects)

.claude/skills/uv/ (one project)

skills/uv/SKILL.md

Apache-2.0Full file
1# uv (Python Package Manager)
2
3`uv` is a fast Python package manager used by Science Skills to run their Python
4CLI scripts. Many skills depend on `uv` being installed and on
5PATH.
6
7Ensure `uv` is available before running any skill that depends on it.
8
9## Setup
10
111. Check if `uv` is already available: `uv --version` (or `& uv --version` in
12 PowerShell). If this succeeds, `uv` is ready — skip the remaining steps.
132. Check whether `uv` is installed at its default location but not on PATH:
14
15 - **Unix/macOS**: `"$HOME/.local/bin/uv" --version`
16 - **Windows (PowerShell)**: `& "$HOME\.local\bin\uv.exe" --version`
17
18 If either succeeds, skip to step 4.
19
203. If uv is not installed do these steps in order:
21
22
23 (a) Tell the user that uv is a tool for creating a consistent and reliable
24 Python environment used for running the Science Skills, and that you
25 need to install it now.
26
27 (b) Install `uv`:
28
29 - **Unix/macOS**: `curl -LsSf https://astral.sh/uv/install.sh | sh`
30 - **Windows (PowerShell)**: `powershell -ExecutionPolicy ByPass -c
31 "irm https://astral.sh/uv/install.ps1 | iex"`
32
33
34
354. Add `uv` to PATH and verify (run as a single command):
36
37 - **Unix/macOS**: `export PATH="$HOME/.local/bin:$PATH" && uv --version`
38 - **Windows (PowerShell)**: `$env:PATH = "$HOME\.local\bin;" + $env:PATH;
39 uv --version`
40
41After setup, bare `uv` commands should work without repeating the export.

Excerpt shown under the repository's Apache-2.0 license.

More skills in science-skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates