uv-pip-install

uv-pip-install is a skill for Claude Code, Codex from Memento-Teams/Memento-Skills. It costs 41 tokens per session (738 once invoked), scanned C, original, Apache-2.0.

A tool for installing and managing Python packages in a virtual environment using uv, a fast Python package manager. It also maps common import names to the package names you need to install.

In plain words
What is it for?
Installing one or more Python libraries, adding optional extras, checking installed packages, upgrading them, and finding package names for imports such as cv2, PIL, or yaml.
Why use it?
It addresses missing-dependency errors such as ModuleNotFoundError and helps avoid guessing the package name from a failed import.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Installing one or more Python libraries, adding optional extras, checking installed packages, upgrading them, and finding package names for imports such as cv2, PIL, or yaml.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/memento-teams/memento-skills/uv-pip-install
About the project

Memento-Skills is an agent runtime and skill framework in which agents can create, reuse, execute, reflect on, and repair persistent skills. It is intended for multi-step task execution, research, planning, and building reusable agent behaviour through a desktop application or public runtime. The catalogue entries are examples of skills and agents built for this framework.

Memento-Teams/Memento-Skills · 1,555 stars · on GitHub · arxiv.org

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 Memento-Teams/Memento-Skills --skill uv-pip-install
Clone the repo
git clone --depth 1 https://github.com/Memento-Teams/Memento-Skills

Made for: Claude Code, Codex.

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-pip-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/memento-teams/memento-skills/uv-pip-install/github.svg)](https://agentmods.dev/skills/memento-teams/memento-skills/uv-pip-install)
Your own site
<a href="https://agentmods.dev/skills/memento-teams/memento-skills/uv-pip-install"><img src="https://agentmods.dev/badge/skills/memento-teams/memento-skills/uv-pip-install/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for uv-pip-install

Your own site · 80×15
<a href="https://agentmods.dev/skills/memento-teams/memento-skills/uv-pip-install"><img src="https://agentmods.dev/badge/skills/memento-teams/memento-skills/uv-pip-install.svg" alt="Reviewed on agentmods" width="80" 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 738 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
SkillSpector: 1 finding, up to low

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • low Supply Chain · line 95
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
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.00738
Opus 5 $0.00020 $0.00369
Sonnet 5 $0.00008 $0.00148
Haiku 4.5 $0.00004 $0.00074

Measured 13d ago against content hash 5d217bb12a91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade C, and why

uv-pip-install scanned grade C with 2 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 13d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| `uv: command not found` | Install uv: `curl -LsSf https://astral.sh/uv/install.sh \| sh` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `uv: command not found` | Install uv: `curl -LsSf https://astral.sh/uv/install.sh \| sh` |
builtin/skills/uv-pip-install/SKILL.md · 106 lines

How it starts

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

uv-pip-install

Install and manage Python packages in the uv-managed virtual environment.

Quick start

# Install a package
uv pip install requests

# Install multiple packages
uv pip install pandas numpy matplotlib

# Install with extras
uv pip install httpx[http2]

# Check if a package is installed
uv pip show python-docx

# List all installed packages
uv pip list

# Upgrade a package
uv pip install --upgrade requests

When to use

  • Python import fails with ModuleNotFoundError
  • User asks to install a Python package
  • A script requires dependencies that are not installed

Common module-to-package mappings

Import name Package name
cv2 opencv-python
PIL pillow
sklearn scikit-learn
yaml pyyaml
docx python-docx
pptx python-pptx
bs4 beautifulsoup4
dotenv python-dotenv
attr attrs
dateutil python-dateutil
gi pygobject
magic python-magic
serial pyserial
usb pyusb
Crypto pycryptodome
jwt pyjwt
jose python-jose
lxml lxml
wx wxPython
gi PyGObject
skimage scikit-image
fitz PyMuPDF
cv opencv-python
telegram python-telegram-bot
discord discord.py
flask_cors flask-cors
sqlalchemy SQLAlchemy
alembic alembic
pymongo pymongo
redis redis
celery celery
fastapi fastapi
uvicorn uvicorn
httpx httpx
aiohttp aiohttp
websockets websockets
jinja2 Jinja2
markdownify markdownify

Workflow

  1. If an import error occurs, extract the module name.
  2. Map module name to package name if different (see table above).
  3. Check if already installed: uv pip show <package>
  4. If not installed: uv pip install <package>

Troubleshooting

Common issues

Problem Solution
uv: command not found Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
Package installs but import still fails Check you're in the correct venv: which python
Version conflict Pin version: uv pip install package==1.2.3
Build fails (C extension) Install system deps: brew install pkg-config (macOS)
SSL certificate error uv pip install --trusted-host pypi.org package

Read the full file on GitHub · 106 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. 13d ago First seen · 106 lines · 41 tokens per session scan C 5d217bb12a91

Subscribe to this mod's changes

uv-pip-install is a skill published in the GitHub repository Memento-Teams/Memento-Skills (1,555 stars, last pushed 26d ago), licensed Apache-2.0. It adds 41 tokens to every session and 738 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). 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

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

K-Dense-AI/scientific-agent-skills · 98 tokens

dd-code-generation

Use pup CLI for immediate Datadog operations or generate code for integration into applications.

DataDog/pup · 16 tokens

rocm-kernels

Provides guidance for writing and benchmarking optimized Triton kernels for AMD GPUs (MI355X, R9700) on ROCm, targeting HuggingFace diffusers (LTX-Video, SD3, FLUX) and transformers. Core kernels: RMSNorm, RoPE 3D, GEGLU, AdaLN. Includes XCD swizzle, autotune, diffusers integration patterns, and LTX-Video pipeline…

huggingface/kernels · 93 tokens

holoscan-install-wheel

Install Holoscan SDK Python wheel via pip into a venv. Use for Python installs; not for native C++/apt or Conda installs.

NVIDIA/skills · 37 tokens

typing-exclusion-worker

Python typing exclusion worker: remove assigned mypy exclusion modules in small scoped batches, fix typing issues, run validation, and produce a structured completion summary. Use when running parallel typing-debt workers or when asked to remove modules from pyproject mypy exclusion overrides.

getsentry/skills · 57 tokens