A high-performance Python manager that replaces pip, pip-tools, and virtualenv for faster environment and project management.

Install

mkdir -p .claude/skills/uv-openxjarvis && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15403" && unzip -o skill.zip -d .claude/skills/uv-openxjarvis && rm skill.zip

Installs to .claude/skills/uv-openxjarvis

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Install and use uv — the fast Python package and project manager. Use when: user needs to install uv, manage Python versions, create virtual environments, install packages/tools, run Python scripts with inline deps, or set up any Python-based skill that requires uv. uv is the standard Python tool manager for this OpenClaw installation.
337 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Beginner

Key capabilities

  • Install `uv` on macOS, Linux, or Windows
  • Install Python CLI tools globally or specific versions
  • Install Python packages into virtual environments
  • Run Python scripts with inline dependencies
  • Manage Python versions (install, list, pin)
  • Create and manage virtual environments

How it works

`uv` acts as an all-in-one Python tool manager, replacing multiple existing tools for package installation, environment management, and script execution.

Inputs & outputs

You give it
User request to install `uv`, install tools/packages, run scripts, or manage Python versions/environments
You get back
Installation of `uv`, installed tools/packages, execution of Python scripts, or managed Python environments

When to use uv

  • Install Python CLI tools
  • Manage project dependencies
  • Create virtual environments
  • Run Python scripts with inline dependencies

About this skill

uv — Python Package & Project Manager

uv is a fast, all-in-one Python tool manager (replaces pip, pip-tools, pipx, pyenv, virtualenv). It is required by many OpenClaw skills that run Python scripts or install Python CLI tools.

Check if uv is installed

uv --version

Install uv (if not present)

macOS / Linux (recommended)

curl -LsSf https://astral.sh/uv/install.sh | sh

After install, reload PATH:

source ~/.bashrc 2>/dev/null || source ~/.zshrc 2>/dev/null || export PATH="$HOME/.cargo/bin:$PATH"

macOS via Homebrew

brew install uv

pip (if Python already available)

pip install uv

Windows (PowerShell)

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Verify install:

uv --version

Install Python CLI Tools (uv tool install)

Use for tools that expose a command-line binary (nano-pdf, ruff, etc.):

# Install a tool globally (available system-wide)
uv tool install nano-pdf
uv tool install ruff
uv tool install httpie

# Install a specific version
uv tool install nano-pdf==0.3.1

# List installed tools
uv tool list

# Upgrade a tool
uv tool upgrade nano-pdf

# Uninstall a tool
uv tool uninstall nano-pdf

Install Packages (uv pip install)

Drop-in replacement for pip install, uses the active virtual environment:

# Install a package
uv pip install requests
uv pip install "python-pptx>=0.6.23"

# Install from requirements file
uv pip install -r requirements.txt

# Install current project in editable mode
uv pip install -e .

# Show installed package info
uv pip show requests

# List all installed packages
uv pip list

# Uninstall
uv pip uninstall requests

Run Scripts (uv run)

Run a Python script without manually activating a venv. Handles dependencies automatically:

# Run a script directly
uv run script.py

# Run with extra packages (inline, no venv needed)
uv run --with requests script.py
uv run --with "requests>=2.28" --with pillow script.py

# Run a module
uv run -m http.server 8080

# Run with a specific Python version
uv run --python 3.12 script.py

For scripts with inline dependency metadata (PEP 723):

# /// script
# requires-python = ">=3.11"
# dependencies = ["requests", "pillow"]
# ///
import requests
...
uv run script.py  # auto-installs requests and pillow

Manage Python Versions

# Install a specific Python version
uv python install 3.12
uv python install 3.11 3.12 3.13

# List installed Python versions
uv python list

# Pin Python version for current project
uv python pin 3.12

Virtual Environments

# Create a virtual environment
uv venv                    # creates .venv in current dir
uv venv myenv              # custom name
uv venv --python 3.12      # specific Python version

# Activate (standard shell activation)
source .venv/bin/activate   # macOS/Linux
.venv\Scripts\activate      # Windows

# Install packages into the venv
uv pip install requests

Project Management (uv sync / uv add)

For projects with pyproject.toml:

# Sync all dependencies from lockfile
uv sync

# Add a dependency
uv add requests
uv add "fastapi>=0.100"

# Add a dev dependency
uv add --dev pytest

# Remove a dependency
uv remove requests

# Lock without installing
uv lock

Common Patterns for OpenClaw Skills

Run a skill script with dependencies

uv run {skillDir}/scripts/my_script.py --arg value

Install a Python skill tool then run it

uv tool install nano-pdf
nano-pdf ...

Quick one-off script with packages

uv run --with httpx --with rich python3 -c "
import httpx, rich
r = httpx.get('https://api.github.com')
rich.print(r.json())
"

Troubleshooting

uv: command not found after install:

# Add uv to PATH manually
export PATH="$HOME/.cargo/bin:$PATH"          # curl install default location
export PATH="$HOME/.local/bin:$PATH"          # some Linux distros
# Then add to shell profile permanently:
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc

uv tool install binary not found after install:

# uv tool binaries live in:
uv tool dir --bin   # shows the bin directory
# Ensure it's in PATH:
export PATH="$(uv tool dir --bin):$PATH"

Permission error on Linux:

# Run with user install (no sudo needed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# uv always installs to user space (~/.cargo/bin), never needs sudo

Slow install / behind proxy:

UV_HTTP_TIMEOUT=120 uv tool install nano-pdf

When not to use it

  • When `pip`, `pip-tools`, `pipx`, `pyenv`, or `virtualenv` are preferred for Python management
  • When `uv` is already installed and configured

Limitations

  • Requires manual PATH reload after installation via curl script
  • Requires `uv` to be in PATH for direct execution
  • Specific Python versions must be installed via `uv python install` before pinning

How it compares

This skill provides a unified and fast command-line interface for all common Python package and project management tasks, simplifying the workflow compared to using separate tools like pip, pyenv, and virtualenv.

Compared to similar skills

uv side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
uv (this skill)05moReviewBeginner
telegram-bot-builder1066moReviewIntermediate
async-python-patterns122moNo flagsIntermediate
modal57moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

async-python-patterns

wshobson

Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.

1299

modal

davila7

Run Python code in the cloud with serverless containers, GPUs, and autoscaling. Use when deploying ML models, running batch processing jobs, scheduling compute-intensive tasks, or serving APIs that require GPU acceleration or dynamic scaling.

587

python-background-jobs

wshobson

Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.

615

opentrons-integration

davila7

Lab automation platform for Flex/OT-2 robots. Write Protocol API v2 protocols, liquid handling, hardware modules (heater-shaker, thermocycler), labware management, for automated pipetting workflows.

314

dev

atopile

LLM-focused workflow for working in this repo: compile Zig, run the orchestrated test runner, consume test-report.json/html artifacts, and discover/debug ConfigFlags.

28

Search skills

Search the agent skills registry