uv

Manage Python projects and virtual environments with the uv tool.

134|67|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/OpenHands/extensions --skill uv-openhands
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv
Source: https://github.com/OpenHands/extensions/tree/main/skills/uv
Command: npx skills add https://github.com/OpenHands/extensions --skill uv-openhands

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies and accelerates Python project setup, dependency management, and environment configuration using the uv tool.

Core Features & Use Cases

  • Fast Dependency Management: Add, remove, and sync project dependencies efficiently.
  • Environment Creation: Quickly create and manage virtual environments (.venv).
  • Reproducible Builds: Ensure consistent project states with uv.lock synchronization.
  • Use Case: When starting a new Python project or onboarding to an existing one, use this Skill to set up the development environment and install all necessary packages according to the project's uv.lock file.

Quick Start

Use the uv skill to add the 'requests' package to the current project.

Frequently Asked Questions about uv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Python dependencies and virtual environments using uv?

You can manage Python dependencies and virtual environments using uv by initializing a project, adding packages, and syncing the state via the uv.lock file to ensure reproducible builds.

What is the best way to set up a new Python project with uv?

The best way to set up a new Python project with uv is to initialize the project structure, create a .venv virtual environment, and add required dependencies to establish a streamlined development workflow.

How does uv.lock synchronization work for Python projects?

uv.lock synchronization works by locking project dependency states and syncing the virtual environment to match the lock file exactly, ensuring consistent and reproducible builds across different development setups.

Can I run commands within the project environment using uv?

Yes, you can run commands within the project environment using uv. It executes specified commands directly inside the managed virtual environment where your synced dependencies are installed.

Does uv support adding and removing Python packages from an existing project?

Yes, uv supports adding and removing Python packages from an existing project. It efficiently manages dependency updates and automatically synchronizes the project environment to reflect the changes.

Why use uv for Python project setup instead of other dependency management tools?

Use uv for Python project setup to achieve faster dependency management and environment creation compared to other tools, utilizing uv.lock synchronization for highly reproducible and consistent project states.