Agent skill

Using Uv

by lexler in lexler/skill-factory

Python package and project management with UV. An agent skill from lexler/skill-factory.

Apache-2.0Auto-check passedProduct & Project Management

Install Using Uv

skills CLI
$ npx skills add lexler/skill-factory --skill using-uv -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lexler/skill-factory using-uv --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lexler/skill-factory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/output_skills/developer-tools/using-uv .claude/skills/using-uv && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
using-uv
GitHub stars
239
Token cost
~367 tokens
SKILL.md length
92 words
Files
3 (incl. references)
Skills in repo
25
Repo updated
First seen
Licence
Apache-2.0

At a glance

Python package and project management with UV. An agent skill from lexler/skill-factory.

  • Creating Python scripts
  • SKILL.md covers Scripts vs Projects, Scripts, Projects and Common Patterns
  • Calls uv and uvx
  • Initializing projects

What it does

Using Uv is an agent skill from lexler/skill-factory. Python package and project management with UV. Use when creating Python scripts, initializing projects, or managing dependencies.

Its SKILL.md is about 370 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/projects.md` and `references/scripts.md`).

It sits in Product & Project Management, covering Project management. It works with Python. The licence is Apache-2.0.

When your agent uses it

  • Creating Python scripts
  • Initializing projects
  • Managing dependencies

Example prompts

  • “/using-uv”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 8017333. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv
    • uvx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and uvx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Using Uv loads about 367 tokens when it runs, and up to ~2k if it reads all its reference files. Until then it costs about 35 tokens; SKILL.md has 92 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~35
When it runs · the whole SKILL.md, loaded when a task matches
~367
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from lexler/skill-factory at commit 8017333, republished under its Apache-2.0 licence (© lexler). 92 words, ~367 tokens.

Download SKILL.mdSave it as .claude/skills/using-uv/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
using-uv
description
Python package and project management with UV. Use when creating Python scripts, initializing projects, or managing dependencies.

UV

UV is a fast Python package manager. Two modes:

Scripts vs Projects

Use scripts when:

  • Single .py file
  • Quick utility, one-off task
  • No shared dependencies across files

Use projects when:

  • Multiple files, modules, or packages
  • Team collaboration
  • Need reproducible environments
  • Building a library or application

Scripts

Standalone Python files with inline dependencies (PEP 723).

python
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.12"
# dependencies = ["requests", "rich"]
# ///

import requests
from rich import print

Run: uv run script.py

See references/scripts.md for full guide.

Projects

Structured Python with pyproject.toml and lockfile.

bash
uv init myproject
cd myproject
uv add requests
uv run python main.py

Key files:

  • pyproject.toml - metadata and dependencies
  • uv.lock - exact versions for reproducibility
  • .python-version - Python version

See references/projects.md for full guide.

Common Patterns

bash
uv run pytest                     # Run in project env
uv add --dev pytest               # Dev dependency
uvx ruff check .                  # One-off tool execution
uv run --with rich script.py      # Script with ad-hoc dep

© lexler, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in output_skills/developer-tools/using-uv of lexler/skill-factory.

  • SKILL.md
  • references/projects.md
  • references/scripts.md

Open the folder on GitHubat commit 8017333

Compare with similar skills

Using Uv next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Using Uv compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Using Uv this skilllexler/skill-factory239—~367Automated safety check: PassApache-2.0
Uvastral-sh/claude-code-plugins3142 repos~980Automated safety check: PassApache-2.0
Milestone CheckKATO-Hiro/AtCoderClans141—~166Automated safety check: PassMIT
Gh Read Inspectoreclipse-rdf4j/rdf4j420—~950Automated safety check: PassBSD-3-Clause
Agile Coachborghei/Claude-Skills874—~1.2kAutomated safety check: PassMIT
Review LoopOpenCyphal/pycyphal142—~817Automated safety check: PassMIT

Similar skills

  • Uv

    astral-sh/claude-code-plugins

    Official

    Guide for using uv, the Python package and project manager. An agent skill from astral-sh/claude-code-plugins.

    314 GitHub starsUsed in 2 repos~980 tokens
    Product & Project ManagementAuto-check passed
  • Milestone Check

    KATO-Hiro/AtCoderClans

    Detect users who newly crossed a rating threshold (2000/2400/2800/3200) in a given AtCoder contest, validate whether they are listed on the site's blog pages, and report candidates for addition.

    141 GitHub stars~166 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Gh Read Inspector

    eclipse-rdf4j/rdf4j

    Retrieve GitHub issues, pull requests, and milestones with read-only, whitelisted gh commands only.

    420 GitHub stars~950 tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Agile Coach

    borghei/Claude-Skills

    Expert agile coaching: framework selection, maturity assessment, retrospective facilitation, transformation roadmaps.

    874 GitHub stars~1.2k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Review Loop

    OpenCyphal/pycyphal

    Multi-agent review/refine loop. An agent skill from OpenCyphal/pycyphal.

    142 GitHub stars~817 tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed

More from lexler/skill-factory

All 25 skills in this repo
  • C4 Architecture Diagrams

    lexler/skill-factory

    Creates C4 model diagrams at every zoom level, from system landscape to code, in ASCII, Mermaid or Structurizr, for designing or documenting software architecture.

    239 GitHub stars~2.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Launching Agent Teams

    lexler/skill-factory

    Plans and launches Claude Code agent teams with distinct roles, right-sized tasks and detailed spawn prompts, and says when subagents or worktrees fit better.

    239 GitHub stars~1.3k tokensUpdated 1 mo ago
    Auto-check passed
  • Claude Code Statusline Writer

    lexler/skill-factory

    Guides writing and debugging Claude Code status line scripts that read session JSON from stdin and print one line of text.

    239 GitHub stars~872 tokensUpdated 1 mo ago
    Auto-check passed
  • Catalog of obstacles, anti-patterns and patterns for working with AI coding agents, covering context management and reliability, from a published patterns collection.

    239 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Approval Testing Toolkit

    lexler/skill-factory

    Writes snapshot-style approval tests in Python, JavaScript, TypeScript or Java, comparing output against an approved file instead of writing individual assertions.

    239 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Hotspots

    lexler/skill-factory

    Find where a codebase actually costs time by mining its git history (Tornhill hotspot analysis).

    239 GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Using Uv

What does Using Uv do?

Python package and project management with UV. An agent skill from lexler/skill-factory. Using Uv is an agent skill from lexler/skill-factory. Python package and project management with UV.

When should I use Using Uv?

Using Uv fits situations like: creating Python scripts; initializing projects; managing dependencies.

How do I install Using Uv in Claude Code?

Run `npx skills add lexler/skill-factory --skill using-uv -a claude-code`. Or copy the skill folder (output_skills/developer-tools/using-uv in lexler/skill-factory) into .claude/skills/using-uv in your project. Claude Code loads it when a task matches its description.

How do I install Using Uv in Codex?

Run `npx skills add lexler/skill-factory --skill using-uv -a codex`. Or copy the skill folder (output_skills/developer-tools/using-uv in lexler/skill-factory) into .agents/skills/using-uv in your project. Codex loads it when a task matches its description.

Can I use Using Uv in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lexler/skill-factory --skill using-uv -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/using-uv, .gemini/skills/using-uv, .github/skills/using-uv and .opencode/skills/using-uv in your project.

What does Using Uv need to run?

Going by SKILL.md and its folder, Using Uv needs the command-line tools its instructions call (uv and uvx). Our summary lists: Python 3.

Does Using Uv access the network?

SKILL.md contains no URLs. Its commands use uv and uvx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Using Uv safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Using Uv use?

Using Uv is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Using Uv use?

About 367 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.6k tokens, read only when the agent opens those files.

What are the alternatives to Using Uv?

Skills that share tags, products or a category with Using Uv: Uv (astral-sh/claude-code-plugins, 314 stars), Milestone Check (KATO-Hiro/AtCoderClans, 141 stars), Gh Read Inspector (eclipse-rdf4j/rdf4j, 420 stars) and Agile Coach (borghei/Claude-Skills, 874 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Using Uv?

lexler (a GitHub user) maintains it in lexler/skill-factory, which has 239 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on August 26, 2026.

Source: lexler/skill-factory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.