What problem does it solve?
This Skill provides a unified command-line interface to run Python scripts with automatic dependency handling and inline metadata, eliminating manual setup and environment management.
Core Features & Use Cases
- Run scripts with automatic dependency management: Use 'uv run script.py' to execute scripts with specified or ad-hoc dependencies.
- Inline script metadata for reproducibility: Embed requires-python and dependencies directly in the script for deterministic runs.
- Build backend guidance: Provides guidance for Python packaging and build backends like uv_build.
Quick Start
Use the uv skill to run a script with inline metadata:
uv run script.py
You can initialize a new script with inline metadata using:
uv init --script example.py --python 3.12
Add dependencies on the fly with:
uv add --script example.py requests rich