coder/skills/uv/SKILL.md
uv + uvx — Astral's fast Python package/project manager. Installs as a direct-download binary (no pixi env, no Python dep). Pulled via the `download:` verb with `strip_components: 1` to handle the upstream tarball's arch-prefixed top-level directory. Use when working with the uv candy or when deciding whether to install a CLI tool via pixi vs. direct binary download.
npx skillsauth add overthinkos/overthink-plugins uvInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Property | Value |
|----------|-------|
| Kind | Direct-download binary candy |
| Install files | charly.yml (no pixi.toml, no dependencies) |
| Depends | (none) — uv is a self-contained Rust binary |
| Binaries | /usr/local/bin/uv, /usr/local/bin/uvx |
uv is a completely self-contained Rust binary needing no Python runtime, so
installing it via pixi (pixi.toml with uv = "*" + requires: python,
landing it in $HOME/.pixi/envs/default/bin/ inside a conda-forge Python
environment) would be the wrong fit. Pixi would bring three problems uv
doesn't warrant:
$HOME, and
HOME-relative PATH entries in child images go subtly wrong when the
charly auto-intermediate machinery bakes uid=1000 paths into boxes
deployed at uid=0 (handled in charly/intermediates.go — see
/charly-internals:generate-source "UID-keyed sibling grouping").which uv says not found" for
anyone who isn't in a pixi shell.So uv installs the way /charly-coder:typst and /charly-languages:pixi itself do
— fetch the upstream binary, unpack to /usr/local/bin, done. System-wide
reachable, always on PATH, no HOME gymnastics.
task:
- download: "https://github.com/astral-sh/uv/releases/latest/download/uv-${BUILD_ARCH}-unknown-linux-gnu.tar.gz"
extract: tar.gz
strip_components: 1
to: /usr/local/bin
user: root
${BUILD_ARCH} expands to x86_64 / aarch64 at build time. Upstream
ships per-arch tarballs under stable latest-download URLs, nested one
level deep (uv-x86_64-unknown-linux-gnu/uv, …/uvx). The
strip_components: 1 modifier (see /charly-image:layer "Download verb")
collapses that wrapper so both binaries land directly at
/usr/local/bin/uv and /usr/local/bin/uvx.
Three build-scope tests ship with the candy:
| Test | Purpose |
|---|---|
| uv-binary | /usr/local/bin/uv exists |
| uv-version | uv --version exits 0 |
| uvx-binary | /usr/local/bin/uvx exists (the per-run tool runner) |
/charly-coder:fedora-coder — the canonical kitchen-sink dev box.hermes-full or directly including uv./charly-languages:pixi — direct-download pattern this candy now mirrors. Pixi remains a legitimate multi-binary Python env manager for boxes that genuinely need one (jupyter, whisper, openwebui); uv is too small to justify the overhead./charly-coder:typst — sibling direct-download binary pattern./charly-languages:python — the pixi-python meta-layer this candy does not depend on./charly-coder:rust — system Rust toolchain, if you want to build uv from source instead (cargo install uv). Usually not worth it — the Astral binary is pre-optimized./charly-image:layer — authoring reference (covers download: verb + strip_components: modifier)/charly-core:shell — run uv inside a containerMUST be invoked when:
uv to a box's candy list.uv --version fails: it's a $PATH or binary-landing-
at-wrong-path issue, not a Python env problem./charly-eval:eval — declarative testing (eval: block, charly eval box, charly eval live)tools
OpenCharly CLI (charly) binary installed into container/VM images for in-container use. Use when working with charly binary deployment inside containers, native D-Bus support, or the full charly toolchain (charly binary + virtualization + gocryptfs + socat).
development
Operator CachyOS workstation profile — a kind:local template + target:local deploy that installs the full dev stack (30 candies) onto a CachyOS host via ShellExecutor. Lives in the overthinkos/cachyos submodule. MUST be invoked before editing or applying the charly-cachyos workstation profile.
tools
Fedora box with the full charly toolchain using shared candies. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Same candy list as charly-arch. Includes NVIDIA GPU runtime. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-fedora box.
tools
Arch Linux box with the full charly toolchain. Rootless-first — runs as uid=1000 with passwordless sudo (no root, no cap_add: ALL). Composes /charly-coder:charly-mcp so the box is reachable as an MCP gateway on port 18765. NVIDIA GPU runtime composed in. MUST be invoked before building, deploying, configuring, or troubleshooting the charly-arch box.