self-contained-python-scripts
Installation
SKILL.md
Self-Contained Python Scripts with uv
Create Python scripts that are fully self-contained — no virtualenv setup, no requirements.txt, no pyproject.toml. Just a single .py file that anyone can run with uv run.
Script Structure
Every script follows this structure:
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.14"
# dependencies = [
# "some-package",
# ]
# ///
"""One-line description of what this script does."""