uv

Automate Python project initialization, dependency management, and environment pinning with uv.

68|1|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/knoopx/pi --skill uv-knoopx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv
Source: https://github.com/knoopx/pi/tree/main/agent/skills/uv
Command: npx skills add https://github.com/knoopx/pi --skill uv-knoopx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the setup of Python projects, handles dependency installation, and pins Python versions to ensure reproducible environments, saving time and reducing setup errors.

Core Features & Use Cases

  • Initialize Python apps or libraries with consistent scaffolding using uv init.
  • Manage dependencies (including dev and optional groups), generate lockfiles, and export requirements.
  • Pin Python versions and manage virtual environments; run code in isolated contexts with uv/uvx.

Quick Start

Use the uv command to bootstrap a project, install dependencies, and run a script, for example: uv init my-app uv add requests uv run python script.py

Frequently Asked Questions about uv

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

FAQPage Schema
How do I automate Python project setup and dependency management?

Automating Python project setup involves initializing scaffolding, pinning specific Python versions, and installing dependencies to ensure reproducible environments. This skill uses uv to handle initialization, dependency grouping, and lockfile generation without manual configuration.

What is the best way to manage Python dependencies and virtual environments?

Managing Python dependencies and virtual environments is done by pinning Python versions and syncing isolated project contexts. This skill automates adding and removing dependencies, generating lockfiles, and exporting requirements to maintain reproducible development setups.

Can I pin a specific Python version per project?

Yes, you can pin a specific Python version per project. This skill manages virtual environments and pins Python versions automatically during project initialization, ensuring each application or library runs in its correct isolated context.

How do I run Python scripts in an isolated environment?

Running Python scripts in an isolated environment is achieved by executing code through uv run or uvx. This skill automates scripted tool execution, syncing the environment and dependencies first so the script runs in a reproducible context.

Does uv support exporting lockfiles and managing dev dependencies?

Yes, uv supports exporting lockfiles and managing dev dependencies. This skill automates managing dependency groups, including dev and optional dependencies, and allows exporting requirements to lock down the project environment.

Why use uv for Python project initialization instead of manual setup?

Using uv for Python project initialization saves time and reduces setup errors compared to manual configuration. It provides consistent scaffolding for apps and libraries, handles dependency installation, and pins environments for immediate reproducibility.