uv-usage

uv-usage is a skill for Claude Code, Codex from liatrio-labs/ai-prompts. It costs 59 tokens per session (591 once invoked), scanned A, original, Apache-2.0.

A guide to uv, a Python tool for managing project dependencies, virtual environments, Python versions, and runnable scripts.

In plain words
What is it for?
Use it to start Python projects, add or remove packages, run scripts with inline dependencies, manage Python versions, and use pip-compatible workflows.
Why use it?
It provides the commands needed to install packages, synchronize project environments, run programs, and maintain dependency lock files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to start Python projects, add or remove packages, run scripts with inline dependencies, manage Python versions, and use pip-compatible workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liatrio-labs/ai-prompts/uv-usage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add liatrio-labs/ai-prompts --skill uv-usage
Clone the repo
git clone --depth 1 https://github.com/liatrio-labs/ai-prompts

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uv-usage

README.md
[![agentmods](https://agentmods.dev/badge/skills/liatrio-labs/ai-prompts/uv-usage/github.svg)](https://agentmods.dev/skills/liatrio-labs/ai-prompts/uv-usage)
Your own site
<a href="https://agentmods.dev/skills/liatrio-labs/ai-prompts/uv-usage"><img src="https://agentmods.dev/badge/skills/liatrio-labs/ai-prompts/uv-usage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uv-usage

Your own site · 80×15
<a href="https://agentmods.dev/skills/liatrio-labs/ai-prompts/uv-usage"><img src="https://agentmods.dev/badge/skills/liatrio-labs/ai-prompts/uv-usage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00591
Opus 5 $0.00030 $0.00296
Sonnet 5 $0.00012 $0.00118
Haiku 4.5 $0.00006 $0.00059

Measured 10d ago against content hash be35142b6304, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

uv-usage scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

print(requests.get("https://api.github.com/repos/astral-sh/uv").status_code)
skills/uv-usage/SKILL.md · 97 lines

What it actually says

uv Usage

Quick start

Use uv as a fast, unified tool for Python projects:

  1. Initialize a project: uv init
  2. Add deps: uv add <package>
  3. Sync env: uv sync
  4. Run commands: uv run <cmd>

uv add updates uv.lock automatically; use uv lock when you need to re-lock after manual pyproject.toml edits.

Inline dependencies (PEP 723 scripts)

Use inline metadata so a script runs standalone with uv run <script-file>.

Steps

  1. Add a # /// script block at the top of the file.
  2. Set requires-python and dependencies.
  3. Run the script with uv run <script-file>.
  4. Add or remove inline deps with uv add --script and uv remove --script.

Template

# /// script
# requires-python = ">=3.11"
# dependencies = [
#   "requests>=2.31",
#   "rich>=13.0",
# ]
# ///

import requests
from rich import print

print(requests.get("https://api.github.com/repos/astral-sh/uv").status_code)

Commands

uv run script.py
uv add --script script.py beautifulsoup4
uv remove --script script.py rich

Pip-compatible commands

Use these for drop-in workflows or legacy projects:

uv pip install <package>
uv pip install -r requirements.txt
uv pip compile requirements.in -o requirements.txt
uv pip sync requirements.txt

Python versions and environments

uv python install 3.12
uv python pin 3.12
uv venv --python 3.12
uv run --python 3.12 -- python -V

Examples

New project

uv init demo
cd demo
uv add ruff
uv run ruff check .

Standalone script with inline deps

uv run script.py

Notes

  • uv offers pip-compatible commands, but behavior can differ in edge cases.
  • Use uvx <tool> (alias for uv tool run) to run tools ephemerally without installing them globally.
  • Prefer project workflow (uv add, uv sync) for new work, and run uv lock when re-locking after manual pyproject.toml changes.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 97 lines · 59 tokens per session scan A be35142b6304

Subscribe to this mod's changes

uv-usage is a skill published in the GitHub repository liatrio-labs/ai-prompts (2 stars, last pushed 2d ago), licensed Apache-2.0. It adds 59 tokens to every session and 591 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

python-services

Python patterns for CLI tools, async concurrency, and backend services. Use when working with Python code, building CLI apps, FastAPI services, async with asyncio, background jobs, or configuring uv, ruff, ty, pytest, or pyproject.toml.

iliaal/ai-skills · 55 tokens

pandas-helper

Master pandas operations — DataFrames, Series, groupby, merge, time-series resampling, and memory optimization.

inbharatai/claude-skills · 27 tokens

dspy-codeact

Build agents that write and execute Python code using dspy.CodeAct. Use when the task requires computation, data transformation, or multi-step logic better expressed as code than tool calls or natural language - data analysis, precise calculations, file processing. Common scenarios - data analysis tasks where the…

lebsral/DSPy-Programming-not-prompting-LMs-skills · 181 tokens

temporal-python-testing

Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.

wshobson/agents · 45 tokens

telnyx-numbers-python

Search, order, and manage phone numbers by location, features, and coverage.

team-telnyx/ai · 23 tokens

telnyx-ai-outbound-voice-python

End-to-end setup for making a Telnyx AI assistant call a phone number. Covers provisioning a phone number, creating a TeXML application, assigning the number, configuring telephony settings, whitelisting destination countries, and triggering outbound calls via scheduled events. Use this skill (not…

team-telnyx/ai · 97 tokens