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.
npx skills add liatrio-labs/ai-prompts --skill uv-usagegit clone --depth 1 https://github.com/liatrio-labs/ai-promptsWrote 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.
[](https://agentmods.dev/skills/liatrio-labs/ai-prompts/uv-usage)<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.
<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>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.
| Model | Per session | Once 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 |
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) What it actually says
uv Usage
Quick start
Use uv as a fast, unified tool for Python projects:
- Initialize a project:
uv init - Add deps:
uv add <package> - Sync env:
uv sync - 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
- Add a
# /// scriptblock at the top of the file. - Set
requires-pythonanddependencies. - Run the script with
uv run <script-file>. - Add or remove inline deps with
uv add --scriptanduv 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 foruv tool run) to run tools ephemerally without installing them globally. - Prefer project workflow (
uv add,uv sync) for new work, and runuv lockwhen re-locking after manualpyproject.tomlchanges.
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.
- 10d ago First seen · 97 lines · 59 tokens per session scan A be35142b6304
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.
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.
pandas-helper
Master pandas operations — DataFrames, Series, groupby, merge, time-series resampling, and memory optimization.
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…
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.
telnyx-numbers-python
Search, order, and manage phone numbers by location, features, and coverage.
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…