uv

uv is a skill for Claude Code from robhowley/py-pit-skills. It costs 41 tokens per session (1,421 once invoked), scanned A, original, MIT.

A set of instructions for using uv, a Python tool for managing dependencies, virtual environments, lockfiles, and commands. It also covers moving from pip, Poetry, or pip-tools.

In plain words
What is it for?
For setting up Python environments, installing dependencies, running tests or scripts, maintaining lockfiles, and migrating Python projects to or from uv.
Why use it?
It helps keep Python setup and dependency changes consistent and avoids mixing incompatible package-management workflows.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the py-pit plugin — 16 skills, 1 hook shipped together

Good fit For setting up Python environments, installing dependencies, running tests or scripts, maintaining lockfiles, and migrating Python projects to or from uv.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robhowley/py-pit-skills/uv
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 robhowley/py-pit-skills --skill uv
Clone the repo
git clone --depth 1 https://github.com/robhowley/py-pit-skills

Made for: Claude Code.

Or install py-pit, the plugin that ships this one along with the rest of its 16 skills, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/robhowley/py-pit-skills/uv.svg)](https://agentmods.dev/skills/robhowley/py-pit-skills/uv)
Your own site
<a href="https://agentmods.dev/skills/robhowley/py-pit-skills/uv"><img src="https://agentmods.dev/badge/skills/robhowley/py-pit-skills/uv.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00041 $0.01421
Opus 5 $0.00020 $0.00711
Sonnet 5 $0.00008 $0.00284
Haiku 4.5 $0.00004 $0.00142

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

Security

Grade A, and why

uv scanned grade A with 0 findings 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 7d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/uv/SKILL.md · 311 lines

How it starts

The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.

uv

Use this skill when working with Python projects that use or should use uv.

This skill ensures instructions follow uv-native workflows and avoids common mistakes when mixing Python packaging tools.

Apply this skill when the user:

  • mentions uv
  • asks about Python dependency management
  • asks about environment setup
  • asks how to run Python commands or tests
  • wants to migrate from pip / poetry / pip-tools
  • needs help debugging a broken Python environment
  • wants correct Python CLI tool usage

Do not apply when:

  • the task is unrelated to Python tooling
  • the user explicitly wants a different ecosystem (conda, poetry, pip) without discussing uv
  • the question is purely about application design rather than tooling workflow

Invocation heuristics

Prefer this skill when the user:

  • mentions uv
  • asks about Python dependency or environment management
  • shows pyproject.toml, uv.lock, or requirements.txt
  • asks how to run tests, scripts, or tools in a uv-managed repo
  • is migrating from pip, poetry, or pip-tools to uv

Do not prefer this skill when:

  • the user explicitly wants conda, poetry, or raw pip workflows
  • the task is about app architecture rather than Python tooling

Hard constraints

In a uv-managed workflow, never default to:

  • pip install ...
  • python -m venv ...
  • source .venv/bin/activate
  • poetry add ...
  • poetry run ...
  • uv pip install ... as the standard dependency workflow

Only use or mention those when the user explicitly asks for them, or when explaining migration/interoperability constraints.

If the repository already mixes workflows, call that out explicitly and recommend a single consistent path.

Mission

Provide correct, minimal uv-native workflows.

The skill should:

  1. enforce uv workflow invariants
  2. detect mixed-tool anti-patterns
  3. give minimal copy-pasteable commands
  4. preserve repo structure unless migration is explicitly requested
  5. prefer correctness over verbosity

Do not recommend unrelated packages, frameworks, or project architecture.

Read the full file on GitHub · 311 lines

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. 7d ago First seen · 311 lines · 41 tokens per session scan A 360ce480e0d1

Subscribe to this mod's changes

uv is a skill published in the GitHub repository robhowley/py-pit-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 41 tokens to every session and 1,421 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. 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-backend

Production Python async patterns including asyncio TaskGroup, FastAPI dependency injection and middleware, SQLAlchemy 2.0 async sessions, and database connection pool tuning. Python 3.11+ runtime concerns such as ExceptionGroup, cancellation semantics, and session rollback. Use when building async services, wiring…

yonatangross/orchestkit · 82 tokens

python

Use when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.

MadAppGang/claude-code · 34 tokens

database

Relational database authority — PostgreSQL, async ORM (SQLAlchemy 2 / asyncpg), Alembic schema migrations, Supabase Python and JS clients, query optimisation, index strategy, connection pooling, transaction patterns, and bulk operations across Python and Node stacks.

LuuOW/meridian-mcp · 54 tokens

pytest

Advanced Python unit testing framework for customer support tech enablement, covering FastAPI, SQLAlchemy, PostgreSQL, async operations, mocking, fixtures, parametrization, coverage, and comprehensive testing strategies for backend support systems.

manutej/luxor-claude-marketplace · 44 tokens

FastAPI Customer Support Tech Enablement

Comprehensive FastAPI skill for building modern Python web APIs with focus on customer support systems, ticket management, real-time chat, and backend operations.

manutej/luxor-claude-marketplace · 36 tokens

SQLAlchemy ORM Expert

Comprehensive SQLAlchemy skill for customer support tech enablement, covering ORM patterns, session management, query optimization, async operations, and PostgreSQL integration.

manutej/luxor-claude-marketplace · 34 tokens