uv

Run Python scripts and manage dependencies with uv workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The uv Skill helps you replace pip/python/venv workflows with a consistent, reproducible way to run scripts and manage dependencies so you spend less time on environment setup and more time shipping code.

Core Features & Use Cases

  • Run scripts deterministically: Execute Python scripts with project isolation and ad-hoc dependency injection for one-off tasks.
  • Declare dependencies inline: Embed dependency and Python requirement metadata directly in scripts for portable, standalone execution.
  • Build pure Python packages with uv_build: Configure packaging and source inclusion/exclusion rules for clean build artifacts.

Quick Start

Ask it to add a dependency and run a script using uv so your script executes with the correct packages and Python version.

Frequently Asked Questions about uv

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

FAQPage Schema
How do I run a Python script with ad-hoc dependencies without setting up a virtual environment?

Use uv to run Python scripts with project isolation and ad-hoc dependency injection, eliminating the need for manual pip and venv workflows. It executes one-off tasks deterministically with the correct packages automatically.

What is the best way to declare dependencies directly in a standalone Python script?

Declaring dependencies inline embeds dependency and Python requirement metadata directly in scripts for portable, standalone execution. This approach uses uv init --script to make scripts self-contained and reproducible.

Can I use uv to replace pip and venv workflows for pure Python package builds?

Yes, uv replaces pip and venv workflows and configures the uv_build backend for pure Python package builds. It manages packaging and source inclusion or exclusion rules to produce clean build artifacts.

How do I add a new dependency to a Python project using uv?

Add a dependency by invoking uv add, which integrates the package into your project environment. Then use uv run to execute your script, ensuring it runs with the correct packages and Python version.

Does uv support inline metadata for portable Python script execution?

Yes, uv supports inline metadata-based standalone scripts by allowing you to embed dependency and Python requirement metadata directly. This enables reliable, portable execution without external environment configuration.