AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Uv Usage

skill-liatrio-labs-ai-prompts-uv-usage · by liatrio-labs

Provides concise guidance for using uv (Python package manager), including project workflows, pip-compatible commands, Python version management, and PEP 723 inline script dependencies. Use when users mention uv, uv run, inline dependencies, PEP 723, or Python dependency/project management.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-liatrio-labs-ai-prompts-uv-usage

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-liatrio-labs-ai-prompts-uv-usage)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Uv Usage? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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
  3. Sync env: uv sync
  4. Run commands: uv run

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 .

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 .
  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 
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 (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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.