One-click install
npx skills add https://github.com/ivanrvpereira/.agents --skill uv-ivanrvpereira
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uv
Source: https://github.com/ivanrvpereira/.agents/tree/main/skills/uv
Command: npx skills add https://github.com/ivanrvpereira/.agents --skill uv-ivanrvpereira

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you replace slower, fragmented Python setup patterns (pip, venv, ad-hoc installs) with a single consistent workflow for running scripts and managing dependencies.

Core Features & Use Cases

  • Run scripts with dependencies: Execute scripts using uv so the right packages are available without manual environment management.
  • Ad-hoc dependencies and inline metadata: Add dependencies at run time or declare them inside scripts using inline script metadata for portability.
  • Dependency and build support: Initialize scripts with metadata, lock dependencies for reproducibility, and build pure Python packages with uv_build.

Quick Start

Use the uv skill to run a standalone script with declared dependencies by telling your agent: run uv run script.py to automatically install and use the script’s inline dependencies.

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 dependencies without manually activating a venv?

Running Python scripts with dependencies without manual venv activation is handled by uv run, which automatically installs and provides the script's declared inline dependencies.

What is inline script metadata in Python for reproducible builds?

Inline script metadata is a Python format for declaring dependencies directly inside a script. uv uses this metadata to lock dependencies and ensure reproducible builds across different environments.

How do I initialize a standalone Python script with dependency metadata?

To initialize a standalone Python script with dependency metadata, use uv init to generate the required inline metadata headers, making the script portable and self-managing.

Can I build pure Python packages using uv instead of standard pip workflows?

Yes, you can build pure Python packages by configuring uv_build in your project's build-system. uv_build replaces standard pip workflows to streamline the packaging process.

What is the best way to manage ad-hoc Python dependencies at run time?

The best way to manage ad-hoc Python dependencies at run time is using uv add to update the environment dynamically, or declaring them via inline script metadata for portable execution.

Does uv replace pip and venv for dependency management workflows?

uv replaces slower, fragmented Python setup patterns like pip and venv with a single consistent workflow for running scripts, locking dependencies, and managing reproducible builds.