migrate-to-uv

migrate-to-uv is a skill for Claude Code, Codex from fprochazka/claude-code-plugins. It costs 124 tokens per session (3,413 once invoked), scanned C, original, MIT.

A migration workflow for moving Python projects from Poetry, pipx, or requirements files to uv, a Python tool for managing dependencies and environments. It updates project configuration and creates a uv.lock file describing exact dependency versions.

In plain words
What is it for?
Use it to convert dependency settings, groups, scripts, optional extras, and build configuration to uv. It also assesses whether C, C++, Rust, or private package indexes require special handling.
Why use it?
It replaces several older Python setup methods with uv while checking for complications such as compiled code or private package sources.

Skill for Claude CodeCodex

Part of the migrate-to-uv plugin — 1 skill 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/fprochazka/claude-code-plugins/migrate-to-uv
Any agent
npx skills add fprochazka/claude-code-plugins --skill migrate-to-uv
Clone the repo
git clone --depth 1 https://github.com/fprochazka/claude-code-plugins

Made for: Claude Code, Codex.

Or install migrate-to-uv, the plugin that ships this one along with the rest of its 1 skill.

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 migrate-to-uv

README.md
[![agentmods](https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/migrate-to-uv.svg)](https://agentmods.dev/skills/fprochazka/claude-code-plugins/migrate-to-uv)
Your own site
<a href="https://agentmods.dev/skills/fprochazka/claude-code-plugins/migrate-to-uv"><img src="https://agentmods.dev/badge/skills/fprochazka/claude-code-plugins/migrate-to-uv.svg" alt="Measured on agentmods" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,413 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00124 $0.03413
Opus 5 $0.00062 $0.01707
Sonnet 5 $0.00025 $0.00683
Haiku 4.5 $0.00012 $0.00341

Measured 4d ago against content hash b912704e7a1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

migrate-to-uv scanned grade C 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 4d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .venv
plugins/migrate-to-uv/skills/migrate-to-uv/SKILL.md · 455 lines

How it starts

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

Migrate to uv

Convert Python projects from Poetry/pipx/pip to uv.

Pre-Migration Assessment

IMPORTANT: Before starting any migration, assess the project for blockers. Read pyproject.toml, setup.py (if present), and the build configuration to check for the following. Report findings to the user before proceeding.

Check 1: C/C++/Rust Extensions

Look for signs of compiled extensions:

  • setup.py with ext_modules, cffi, cython, or Extension() calls
  • Build dependencies like setuptools, cffi, cython, pybind11, maturin, scikit-build-core
  • .c, .cpp, .pyx, or .rs source files referenced in the build

If found: uv_build does NOT support compiling C/C++/Rust extensions. The project must use a compatible build backend (setuptools, scikit-build-core, maturin, or hatchling with extension plugins). This is a non-trivial change — warn the user that the build backend swap may require significant effort and testing, especially for projects with complex setup.py logic.

Check 2: Private Package Indexes

Look for [[tool.poetry.source]] sections or references to private PyPI mirrors.

If found: uv handles authentication differently from Poetry. Poetry uses poetry config http-basic.<name> <user> <pass>, while uv uses environment variables:

  • UV_INDEX_<NAME>_USERNAME / UV_INDEX_<NAME>_PASSWORD
  • Or UV_INDEX_URL with credentials embedded
  • Or keyring integration

The migration tool won't convert auth config. The user needs to set up credentials separately for CI and local dev. See the "Private indexes" section below for format conversion.

Check 3: Monorepo / Multiple pyproject.toml Files

Look for multiple pyproject.toml files, path dependencies between packages, or Poetry monorepo plugins (poetry-plugin-monorepo, monoranger).

If found: This is actually a good candidate for migration — uv workspaces handle monorepos much better than Poetry. But the migration is more involved than a single-package project. See the "Monorepo / Workspace Migration" section below.

Read the full file on GitHub · 455 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. 4d ago First seen · 455 lines · 124 tokens per session scan C b912704e7a1c

Subscribe to this mod's changes

migrate-to-uv is a skill published in the GitHub repository fprochazka/claude-code-plugins (11 stars, last pushed today), licensed MIT. It adds 124 tokens to every session and 3,413 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens