nvidia/cosmos-framework-cosmos3-setup
> Guide users through Cosmos3 installation, environment setup, checkpoint downloading, and verification. Use when the user asks "how do I install cosmos3", "how do I set up the environment", "how do I download checkpoints", "how do I use Docker", or any question about getting the package running for the first time.
This is a copy. The original lives at nvidia/cosmos3-setup.
npx skills add https://github.com/NVIDIA/cosmos-framework --skill cosmos3-setup
All paths below are relative to the cosmos3 package root (../../../ from this skill file). All uv run / python commands should also be run from there.
The canonical setup reference is docs/setup.md. The README (README.md § Setup) has the shortest quickstart.
| User question | Go to |
| ------------------------------------------------------ | -------------------------------------------------------------------- |
| What are the system requirements? | docs/setup.md § System Requirements |
| How do I install with uv? (sync, pip venv, pip system) | docs/setup.md § Virtual Environment |
| How do I install with Docker? | docs/setup.md § Docker Container |
| Custom torch/CUDA versions or attention backends? | docs/setup.md § Advanced |
| Which CUDA version? (cu130 vs cu128) | docs/setup.md § CUDA Variants, docs/faq.md § Which CUDA version? |
| How do I download checkpoints? | docs/setup.md § Downloading Base Checkpoints |
| NGC container issues? | docs/setup.md § PyTorch Import Issue |
| Any installation error | ../cosmos3-env-troubleshoot/SKILL.md |
cd into the project root (the directory containing pyproject.toml)sudo apt-get install -y --no-install-recommends curl ffmpeg git-lfs libx11-dev tree wgetcurl -LsSf https://astral.sh/uv/install.sh | sh && source $HOME/.local/bin/envuv sync --all-extras --group=cu130-train && source .venv/bin/activate && export LD_LIBRARY_PATH= (use cu128-train on older drivers; the inference-only cu130 / cu128 groups omit the training extras)uv run --all-extras --group=cu130-train python -c "import cosmos_framework; print('ok')"export LD_LIBRARY_PATH='' *before* any Python imports when inside an NGC PyTorch container. Easy to miss.nvidia-smi must match torch.version.cuda. Mismatches cause cryptic shared-library errors.HF_HOME: controls where checkpoints are cached (default: ~/.cache/huggingface). Set this if disk space is tight or you want a shared cache.HF_TOKEN or HUGGING_FACE_HUB_TOKEN env vars can silently override CLI auth. Check with printenv | grep HF_.| Skill | When to use |
| -------------------------------------- | ---------------------------------------------- |
| ../cosmos3-inference/SKILL.md | Running inference after setup is complete |
| ../cosmos3-codebase-nav/SKILL.md | Finding files, parameters, and configs in code |
| ../cosmos3-env-troubleshoot/SKILL.md | Debugging environment and runtime errors |
Take nvidia/cosmos-framework-cosmos3-setup from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.
The instructions reference apt.
Without those the skill loads but fails at the first command.