This gives Claude the knowledge to work with uv, the Python package manager that's replacing pip, pipx, poetry, and friends. It covers four workflows: running scripts with `uv run`, managing projects with `uv add` and `uv sync`, executing tools via `uvx`, and the legacy pip interface for older setups. The skill emphasizes always using uv commands instead of bare python or pip when you see a `uv.lock` file, and includes migration guides from pyenv and pipx. Honestly, this is essential if you're working in any modern Python codebase, since uv adoption is spreading fast and the command differences matter.

skills.sh installs
5.3K
GitHub stars
318
last updated
Aug 21, 2026

Install

$ npx -y skills add astral-sh/claude-code-plugins --skill uv --agent claude-code

Installs into .claude/skills of the current project.

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.lock file
  • 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.lock file)
  • PDM projects (identifiable by pdm.lock file)

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:

Sponsors

Details

Repository
github.com/astral-sh/claude-code-plugins
Categories
Documentation, Python
First seen
May 16, 2026

More from astral-sh/claude-code-plugins

All 3
1dotnet avatartest-anti-patternsdotnet/skillsAudits an existing test file or suite in any language for anti-patterns and quality issues — produces a severity-ranked report (Critical/Warning/Info). INVOKE w5.3Kskills.sh installs
2lobehub avatartypescriptlobehub/lobehubLobeHub TypeScript style and type-safety guide. Use when editing TS/TSX/MTS, fixing types, choosing interface vs type, avoiding any/object, import type, async f5.2Kskills.sh installs
3grafana avatartempografana/skillsStand up Grafana Tempo as a cost-efficient distributed-tracing backend that only needs object storage, and write TraceQL queries against it. Covers OTLP + Jaege5.2Kskills.sh installs
4softaworks avatarmermaid-diagramssoftaworks/agent-toolkitComprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams includi5.2Kskills.sh installs
5forcedotcom avatardx-devops-test-failures-analyzeforcedotcom/sf-skillsAnalyzes DevOps Center test failures and Code Analyzer violations in plain language — failure category, offending file/class/method/line, rule violated, fix dir5.1Kskills.sh installs
6anthropics avatarsearchanthropics/knowledge-work-pluginsSearch across all connected sources in one query. Trigger with "find that doc about...", "what did we decide on...", "where was the conversation about...", or w5.1Kskills.sh installs