setup skill
Configures the environment and authentication for protein design tools including biomodals and BoltzGen.
- GitHub stars
- 173
- Files
- 1
- Last commit
- Jun 11, 2026
- License
- MIT
- Allowed tools
- —
What does the setup skill do?
setup configures the environment and authentication for protein design tools including biomodals and BoltzGen.
Summary generated from the skill's SKILL.md.
About the setup skill
Preparing a local environment for protein design tools like BoltzGen and biomodals is what this skill facilitates. It is designed for researchers and developers who are starting with these tools for the first time or those encountering specific execution errors. An agent should load this skill when a user reports missing files, command not found errors, or authentication failures related to the Modal CLI.
The skill provides the necessary steps to install the Modal CLI via pip, authenticate the user through a browser, and clone the biomodals repository. It helps resolve issues such as unauthorized access or missing modal_boltzgen.py files. By following the diagnostic steps, the agent can guide the user through verifying installations with commands like modal --version and modal token show to ensure the environment is ready for protein design tasks.
What an agent can do with it
- 1Initial environment configurationHelp a new user install the Modal CLI and clone the biomodals repository to get started.
Written from the skill's SKILL.md. Every use case is checked against a quote from it.
How to install the setup skill
Each command copies the skill folder into the client's skills directory. Restart the client or start a new session to load it.Install the setup skill in Plugin
/plugin marketplace add adaptyvbio/protein-design-skills /plugin install adaptyv@protein-design-skills
Install the setup skill in Claude Code
~/.claude/skills/setup/SKILL.md
$ npx degit adaptyvbio/protein-design-skills/skills/setup ~/.claude/skills/setupInstall the setup skill in Claude Code (project)
.claude/skills/setup/SKILL.md
$ npx degit adaptyvbio/protein-design-skills/skills/setup .claude/skills/setupInstall the setup skill in Codex
~/.agents/skills/setup/SKILL.md
$ npx degit adaptyvbio/protein-design-skills/skills/setup ~/.agents/skills/setupInstall the setup skill in Gemini CLI
~/.gemini/skills/setup/SKILL.md
$ npx degit adaptyvbio/protein-design-skills/skills/setup ~/.gemini/skills/setupInstall the setup skill in Claude.ai
npx degit adaptyvbio/protein-design-skills/skills/setup setup && zip -r setup.zip setup # claude.ai → Customize → Skills → + → Create skill → Upload a skill → setup.zip
SKILL.md
View on GitHubSetup Guide
Help users get their environment ready to run protein design tools.
Quick checklist
Run through this checklist when a user encounters setup issues:
| Step | Check | Fix |
|---|---|---|
| 1. Modal CLI | modal --version |
pip install modal |
| 2. Modal auth | modal token show |
modal setup |
| 3. biomodals | ls biomodals/modal_*.py |
git clone https://github.com/hgbrian/biomodals |
| 4. Test | cd biomodals && modal run modal_boltzgen.py --help |
See troubleshooting |
Diagnosing issues
Error: "modal: command not found"
Cause: Modal CLI not installed.
Fix:
pip install modal
Then restart the terminal or run hash -r.
Error: "Permission denied" or "Unauthorized"
Cause: Modal not authenticated.
Fix:
modal setup
This opens a browser. Click "Authorize" to complete authentication.
Error: "No such file or directory: modal_boltzgen.py"
Cause: biomodals repository not cloned or not in correct directory.
Fix:
git clone https://github.com/hgbrian/biomodals
cd biomodals
Error: "uvx: command not found"
Cause: uvx is an optional wrapper from the uv package. It's not required.
Fix: Run modal directly (recommended):
modal run modal_boltzgen.py --help
Or install uv if you prefer using uvx:
pip install uv
Full setup steps
Step 1: Install Modal CLI
pip install modal
Verify: modal --version
Step 2: Authenticate Modal
modal setup
This opens a browser. Click "Authorize".
Verify: modal token show
Step 3: Clone biomodals
git clone https://github.com/hgbrian/biomodals
cd biomodals
Verify: ls modal_*.py should show files like modal_boltzgen.py
Step 4: Test the Setup
cd biomodals
modal run modal_boltzgen.py --help
Expected: Usage instructions appear showing --input-yaml, --protocol, --num-designs options.
Common workflows after setup
Once setup is complete, users can:
cd biomodals
# Design binders with BoltzGen (requires YAML config)
modal run modal_boltzgen.py --input-yaml binder.yaml --protocol protein-anything --num-designs 50
# Generate backbones with RFdiffusion (official repo, not biomodals)
python run_inference.py inference.input_pdb=target.pdb contigmap.contigs=[A1-150/0 70-100] inference.num_designs=100
# Validate with Chai
modal run modal_chai1.py --input-faa designs.fasta
GPU selection
Set GPU with environment variable:
GPU=L40S modal run modal_boltzgen.py --input-yaml config.yaml --num-designs 50
GPU=A100 modal run modal_chai1.py --input-faa complex.fasta
| GPU | VRAM | Best For |
|---|---|---|
| T4 | 16GB | ProteinMPNN, ESM |
| A10G | 24GB | RFdiffusion, Chai |
| L40S | 48GB | BoltzGen, BindCraft |
| A100 | 40-80GB | Large complexes |
Modal free tier
Modal offers $30/month in free credits - enough for:
- ~500 BoltzGen designs
- ~2000 RFdiffusion backbones
- ~1000 Chai predictions
Full documentation: See Getting started
Files in this skill
1setup skill questions
How do I install the setup skill in Claude Code?
Run npx degit adaptyvbio/protein-design-skills/skills/setup ~/.claude/skills/setup. Claude Code loads skills from ~/.claude/skills (all projects) or .claude/skills (one project) and uses a skill when its description matches the task.
Which clients can use the setup skill?
Any client that reads the Agent Skills format: Claude Code, Codex, Gemini CLI and claude.ai (upload as a ZIP). Scripts in the skill run only where the client allows code execution.