← All skills
environment-setup-pytorch
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By cxcscmu/SkillLearnBench (GitHub) · coding · 93 stars · scanned at commit 726e1f7
Set up Python environment for PyTorch-based NLP projects with transformers and alignment training. Use this skill when initializing project environments, managing dependencies from environment.yml files, installing required packages, and ensuring CUDA/device compatibility. Essential for reproducible machine learning research requiring specific package versions.
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
The author does not mention this. Expected for a coding skill.
Found in 19 places.
Show 16 more
- skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 60
python -VV # Detailed Python version - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 70
python -c "import torch; print(f'CUDA available: {torch.cuda.is_available()}'); print(f'Device: {torch.cuda.get_device_name(0) if torch.cuda.is_available() else - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 77
pip install -e . - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 112
pip check - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 120
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 128
conda install --solver=libmamba # Faster solver - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 135
pip uninstall -y <package_name> - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 143
conda env export > backup_env.yml - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 154
pip freeze > requirements-lock.txt - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 166
{ - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 191
export CUDA_VISIBLE_DEVICES=0,1,2,3 # Specify GPUs - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 197
export HF_DATASETS_CACHE=/path/to/cache # Hugging Face cache - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 204
export PYTHONUNBUFFERED=1 # Real-time output - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 213
pip install --no-cache-dir --force-reinstall <package> - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 222
python -c "import torch; torch.cuda.is_available()" - skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch/SKILL.md, line 233
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
Downloads and installs other software
The author does not mention this.
Found in 10 places.
Show 7 more
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'environment-setup-pytorch' ] || [ -L ~/.agents/skills/'environment-setup-pytorch' ]; then echo 'A skill folder named environment-setup-pytorch already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/cxcscmu/SkillLearnBench' "$d" && git -C "$d" checkout --quiet '726e1f79b96b0cb3d729d0e55a1c847e0b5353ae' -- 'skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/b4-skill-creator-claude-haiku-4-5/nlp-paper-reproduction/environment-setup-pytorch' ~/.agents/skills/'environment-setup-pytorch' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'environment-setup-pytorch' ~/.claude/skills/'environment-setup-pytorch' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for cxcscmu/SkillLearnBench shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/cxcscmu/SkillLearnBench/)
Score history
| Date | Version | Score |
|---|
| 2026-11-07 | 726e1f7 | 80 |