
Description
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.
SKILL.md
uv (Python Package Manager)
uv is a fast Python package manager used by Science Skills to run their Python
CLI scripts. Many skills depend on uv being installed and on
PATH.
Ensure uv is available before running any skill that depends on it.
Setup
- Check if
uvis already available:uv --version(or& uv --versionin PowerShell). If this succeeds,uvis ready — skip the remaining steps. - Check whether
uvis installed at its default location but not on PATH:- Unix/macOS:
"$HOME/.local/bin/uv" --version - Windows (PowerShell):
& "$HOME\.local\bin\uv.exe" --version
If either succeeds, skip to step 4. - Unix/macOS:
- If uv is not installed do these steps in order:
(a) Tell the user that uv is a tool for creating a consistent and reliable Python environment used for running the Science Skills, and that you need to install it now.
(b) Installuv:- **Unix/macOS**: `curl -LsSf https://astral.sh/uv/install.sh | sh` - **Windows (PowerShell)**: `powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"` - Add
uvto PATH and verify (run as a single command):- Unix/macOS:
export PATH="$HOME/.local/bin:$PATH" && uv --version - Windows (PowerShell):
$env:PATH = "$HOME\.local\bin;" + $env:PATH; uv --version
- Unix/macOS:
After setup, bare uv commands should work without repeating the export.
More skills from the science-skills repository
View all 38 skillsalphafold-database-fetch-and-analyze
retrieve and analyze AlphaFold protein structures
Jul 12BioinformaticsGenomicsLife SciencesResearchalphagenome-single-variant-analysis
analyze genetic variant effects with AlphaGenome
Jul 12BioinformaticsGeneticsResearchRNA-seqchembl-database
query ChEMBL database for bioactive molecules
Jul 12ChEMBLChemistryDatabasePharmacology +1clinical-trials-database
query clinical trial data
Jul 12Clinical TrialsLife SciencesResearchclinvar-database
retrieve clinical significance from ClinVar database
Jul 12ClinVarGeneticsHealthcareResearchcredentials
manage and verify API credentials safely
Jul 12ComplianceOperationsSecurity
More from Google DeepMind
View publisherdbsnp-database
search genetic variants in dbSNP database
science-skills
Jul 12BioinformaticsGeneticsNCBIResearchembl-ebi-ols
search biomedical ontologies in EMBL-EBI OLS
science-skills
Jul 12BioinformaticsOntologyResearchencode-ccres-database
query ENCODE regulatory and experimental data
science-skills
Jul 12BioinformaticsGraphQLResearchREST APIensembl-database
query genomic and protein data from Ensembl
science-skills
Jul 12BioinformaticsGeneticsLife SciencesResearchfoldseek-structural-search
perform 3D protein structural searches
science-skills
Jul 12BioinformaticsLife SciencesResearchgnomad-database
query genetic variant data from gnomAD
science-skills
Jul 12BioinformaticsGeneticsLife SciencesResearch