skills/tools/pixi/pixi-install-nvidia/SKILL.md
Use when the user says "use pixi to install <some nvidia tool>" (or similar) and wants NVIDIA/CUDA/GPU packages installed via Pixi (no sudo/apt), e.g., CUDA toolkit pieces, cuDNN/NCCL, PyTorch CUDA builds, RAPIDS.
npx skillsauth add igamenovoer/magic-context pixi-install-nvidiaInstall 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.
Use this skill when the user asks to install NVIDIA tooling via Pixi, especially in the form:
Examples:
This skill provides workflows for setting up No-Sudo, User-Space GPU environments. By installing CUDA toolkits and libraries via Pixi, you avoid modifying the host system (apt install) and ensure perfect reproducibility across different machines.
/usr/local/cuda.pixi.lock guarantees the exact same driver-compatible libraries everywhere.Ensure the correct channels are present in pyproject.toml. The order determines priority.
pixi project channel add nvidia (and pytorch if needed).nvidia MUST be prioritized over conda-forge for all NVIDIA tools and libraries (CUDA, cuDNN, NCCL, etc.), unless the user explicitly requests otherwise.Use specific versions to ensure compatibility between CUDA and the framework. Always prefer the nvidia channel for these packages.
pixi add pytorch torchvision torchaudio pytorch-cuda=12.1 -c pytorch -c nvidia
Instead of the massive cuda-toolkit, consider adding only what's needed:
pixi add cuda-compiler cuda-libraries-dev
After installation, verify GPU visibility:
pixi run python -c "import torch; print(torch.cuda.is_available())"
nvidia-smi on the host to ensure the installed pytorch-cuda version is supported by the host driver.libcuda.so or libcudart.so are not found, ensure the environment is activated (pixi shell).nvcc and cmake with the Pixi-managed toolkit.data-ai
Create readable Mermaid diagrams inside Markdown files. Use for flowcharts and sequence diagrams that must render cleanly in common Markdown renderers (e.g., GitHub) without horizontal scrolling. Covers fenced mermaid blocks, init/theme styling, label wrapping with <br/>, and sequenceDiagram layout rules (short IDs, wrapped labels, don’t break identifiers).
development
Manual invocation only; use only when the user explicitly requests `make-program-tutorial` by exact name, OR when the user asks to use a skill to create an SDK/API/library tutorial. Create a clear, reproducible, step-by-step tutorial for a specific API/SDK/library (or a set of functions/classes), with runnable examples, expected outputs, and basic troubleshooting.
testing
Use when the user wants to create a self-hosted, offline-installable Conda channel (mirror) containing a specific subset of packages using Pixi.
tools
Guides the agent to setup a new or existing Pixi environment for compiling C++ and CUDA code. It ensures the correct compilers, toolkits, and CMake configurations are in place for a robust user-space build.