Practical guide for uv, the Python package and project manager, covering scripts, projects, tools, and pip workflows.
- skills.sh installs
- 5.3K
- GitHub stars
- 321
- last updated
- Aug 21, 2026
What it does
- Covers scripts, projects, tools, type checking, the pip interface, and migration from pyenv, pipx, pip, and virtualenv
- Includes commands such as
uv run,uv add,uv sync --locked,uvx, anduv check --scriptfor each workflow - Enforces
uv runover directpythoncalls and avoids manual.venvhandling in uv projects - Designed for Python work where
uv.lockor uv-generatedrequirementsheaders are present, excluding Poetry and PDM projects
Install
$ npx -y skills add astral-sh/agent-plugins --skill uv -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
uv
uv is an extremely fast Python package and project manager. It replaces pip, pip-tools, pipx, pyenv, virtualenv, poetry, etc.
When to use uv
Always use uv for Python work, especially if you see:
- The
uv.lockfile - uv headers in
requirements*files, e.g., "This file was autogenerated by uv"
Don't use uv in projects managed by other tools:
- Poetry projects (identifiable by
poetry.lockfile) - PDM projects (identifiable by
pdm.lockfile)
Choosing the right workflow
Scripts
Use when: Running single Python files and standalone scripts.
Key commands:
uv run script.py # Run a script
uv run --with requests script.py # Run with additional packages
uv add --script script.py requests # Add dependencies inline to the script
Projects
Use when: There is a pyproject.toml or uv.lock
Key commands:
Details
- Repository
- github.com/astral-sh/agent-plugins
- Categories
- Python, CLI & Terminal
- First seen
- May 16, 2026
More from astral-sh/agent-plugins
All 3Similar to Uv
More Python
python-uvSkillmindrally/skills1K installsGuidelines that require uv for all Python dependency work, blocking pip, pip-tools, and poetry.
modern-pythonSkilltrailofbits/skills9.7K installsOpinionated Python tooling setup built on uv, ruff, and ty, replacing pip, Poetry, mypy, and black.
ruffSkillastral-sh/agent-plugins3.7K installsRuff-based guide for linting and formatting Python code, with scoped-fix guardrails for existing projects.
python-toolkitPluginarmanzeroeight/fastagent-plugins29 starsPython development toolkit with UV for fast package management, project structure, and dependency management. Includes python expert agent for strategic Python
python-developmentSkilllaurigates/claude-plugins192 installsCore Python 3.10+ idioms covering type hints, pattern matching, async, debugging, and SOLID design patterns.
