uv

A task guide for managing Python packages and virtual environments with uv, a fast Python project and dependency tool.

In plain words
What is it for?
It helps sync dependencies, add runtime or development packages, update locked versions, and run Python, test, or lint commands inside the project environment.
Why use it?
It keeps installed packages aligned with the project lockfile and provides consistent commands for adding, removing, updating, and running dependencies.

Skill for Claude CodeCodex

Part of the python plugin — 4 skills shipped together

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.

agentmods
npx agentmods add skills/rootwarp/claude-code-plugins-monorepo/uv
Any agent
npx skills add rootwarp/claude-code-plugins-monorepo --skill uv
Clone the repo
git clone --depth 1 https://github.com/rootwarp/claude-code-plugins-monorepo

Made for: Claude Code, Codex.

Or install python, the plugin that ships this one along with the rest of its 4 skills.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00199
Opus 5 $0.00000 $0.00100
Sonnet 5 $0.00000 $0.00040
Haiku 4.5 $0.00000 $0.00020

Measured 2d ago against content hash abe1677f0bd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

plugins/python/skills/uv/SKILL.md · 72 lines

What it actually says

/uv

Manage Python dependencies using uv.

Instructions

Sync Dependencies

Install all dependencies from uv.lock:

uv sync

Add Dependencies

Add a runtime dependency:

uv add <package>

Add a dev dependency:

uv add --dev <package>

Add multiple packages:

uv add httpx pydantic sqlalchemy

Add with version constraint:

uv add "httpx>=0.27"

Remove Dependencies

uv remove <package>

Update Dependencies

Update all dependencies:

uv lock --upgrade
uv sync

Update a specific package:

uv lock --upgrade-package <package>
uv sync

Run Commands

Run a command in the virtual environment:

uv run python -m <module>
uv run pytest
uv run ruff check .
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. 2d ago First seen · 72 lines · 0 tokens per session scan A abe1677f0bd9

Subscribe to this mod's changes

uv is a skill published in the GitHub repository rootwarp/claude-code-plugins-monorepo (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 199 tokens. 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

django-components

Comprehensive reference for all 33 Django framework components with Python 3.10+ and Django 6.0 patterns. Use when the user asks to implement, configure, or troubleshoot any Django component including Models, QuerySets, Views, Templates, Forms, Admin, Authentication, Caching, Testing, Middleware, Signals, or…

krzysztofsurdy/code-virtuoso · 96 tokens

python-patterns

Python best practices including type hints, async patterns, testing, and project structure.

cosmicstack-labs/mercury-agent-skills · 19 tokens

developing-kafka-python-client

Use when the user wants to build a Python Kafka producer or consumer, add Schema Registry to existing Python code, migrate from raw JSON to schema-backed serialization, or scaffold a confluent-kafka-python project for Confluent Cloud, local Docker, or WarpStream. Also use when user wants to optimize Python Kafka…

confluentinc/agent-skills · 75 tokens

python-api

Look up the public API of a Python package against the installed version and cache what's worth keeping. Four shapes by question type: (0) cache hit under scratch/api/ / /; (1) inspect.signature + pydoc.renderdoc for a symbol; (2) dir / pkgutil.itermodules for a module surface; (3) WebSearch + WebFetch of versioned…

probabl-ai/skills · 466 tokens

python-code-style

Owns Python code style for this stack: ruff for lint + format, numpydoc for docstrings. Three responsibilities — (1) place the project's ruff.toml from the bundled template once the stack and workspace are in place, (2) run ruff against any Python files Claude has just generated or edited, and (3) contextualize each…

probabl-ai/skills · 425 tokens

loom-python

Python language expertise for idiomatic, production-quality code. Use for web frameworks (FastAPI, Django, Flask), data processing (pandas, numpy), ML patterns (sklearn, pytorch), async programming, type hints, pytest, packaging with uv/poetry, and linting with ruff/mypy/black.

cosmix/loom · 69 tokens