Skip to content

Add Claude Code skill for Search-R1 Ubuntu 22.04 setup#178

Open
asvskartheek wants to merge 1 commit intoPeterGriffinJin:mainfrom
asvskartheek:add-claude-skill
Open

Add Claude Code skill for Search-R1 Ubuntu 22.04 setup#178
asvskartheek wants to merge 1 commit intoPeterGriffinJin:mainfrom
asvskartheek:add-claude-skill

Conversation

@asvskartheek
Copy link

Summary

  • Adds a reusable Claude Code skill (.claude/skills/setup-search-r1-ubuntu-22.04/) that automates the full Search-R1 environment setup on a fresh Ubuntu 22.04 machine with an NVIDIA GPU
  • Covers both the searchr1 (Python 3.9) and retriever (Python 3.10) conda environments exactly as documented in the README
  • Documents known workarounds for common install failures (flash-attn cross-device link error, missing CUDA_HOME, Anaconda ToS prompt)

What the skill does

  1. Installs Miniconda if not present
  2. Creates the searchr1 env — torch 2.4.0+cu121, vllm 0.6.3, verl (editable), flash-attn 2.8.3, wandb
  3. Creates the retriever env — torch 2.4.0 (conda), transformers, datasets, pyserini, faiss-gpu 1.8.0, uvicorn, fastapi

Test plan

  • Run /setup-search-r1-ubuntu-22.04 skill in a fresh Ubuntu 22.04 container with an NVIDIA GPU
  • Verify both conda environments activate and all imports succeed

🤖 Generated with Claude Code

Adds a reusable Claude Code skill that automates the full Search-R1
environment setup on Ubuntu 22.04, including Miniconda installation,
searchr1 (Python 3.9) and retriever (Python 3.10) conda environments,
and all known workarounds (flash-attn cross-device link, CUDA_HOME, ToS).

Co-Authored-By: Kartheek Akella <sukruthkartheek@gmail.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant