uv

Run Python scripts with inline metadata and per-run dependencies via uv.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables running Python scripts using uv instead of the traditional pip/python/venv workflow, simplifying environment management and reducing boilerplate.

Core Features & Use Cases

  • Inline script metadata: Define dependencies and Python versions directly in script headers.
  • Ad-hoc dependencies: Install and use dependencies for a single run without global installs.
  • Quick project setup: Initialize scripts and run them with a minimal command.

Quick Start

Use uv run script.py to execute a local Python script immediately.

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 without setting up a virtualenv?▼

You can run a Python script without setting up a virtualenv by using uv run script.py, which handles on-demand dependency installation and execution automatically.

How do I declare dependencies inline for a single Python script?▼

To declare dependencies inline for a single Python script, define them directly in the script header using inline metadata, allowing uv to manage them per run.

Can I execute Python scripts with ad-hoc dependencies without installing them globally?▼

Yes, you can execute Python scripts with ad-hoc dependencies without global installs by using uv, which isolates and installs required packages for that single run only.

What is the best way to specify the Python version for a standalone script?▼

The best way to specify the Python version for a standalone script is by defining it in the inline script metadata header, which uv reads during execution.

Does uv work for quick Python demos and small projects?▼

Yes, uv works for quick Python demos and small projects by initializing scripts and running them with a minimal command, eliminating traditional pip and python boilerplate.