boltz
What it does
This skill teaches an agent how to run Boltz-2, an open model that predicts how proteins, nucleic acids, and small molecules fit together. It is for research on binding and for checking designed binders.
When to use it
- ✓When a researcher needs a protein and ligand complex predicted from sequences and a SMILES string.
- ✓When a team wants an open alternative to AlphaFold3 for complex prediction.
- ✓When a researcher wants binding affinity estimates for a small molecule.
Skill link
https://github.com/aipoch/open-science/blob/main/resources/skills/boltz/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Predict how this designed binder sequence sits against my target protein with a small-molecule ligand.”
5 new skills a week. 1 minute to read.
How it works
The agent writes a YAML file that lists each chain and ligand, then runs the prediction with a setting that fetches alignments from a public server. It returns structure files and confidence scores.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Boltz-2
Boltz-2 is the open-weights diffusion co-folder closest in surface to
AlphaFold3: a YAML describing protein, DNA, RNA, and ligand chains in, mmCIF
plus pTM/ipTM/pLDDT confidences out, with an optional small-molecule affinity
head. Among our four co-fold skills it is the default for binder-validation
campaigns — fully open MIT weights and the fastest sampler; pick chai1 when
you want a second independent model for consensus, openfold3 when AF3-faithful
settings matter, and esmfold2 when you can live without an MSA. Code and
weights are MIT (PyPI boltz, github.com/jwohlwend/boltz).
Running it
# complex.yaml
version: 1
sequences:
- protein:
id: A
sequence: MVTPEGNVSLVDESLLVGVTDEDRAVRS... # target
- protein:
id: B
sequence: AIQRTPKIQVYSRHPAENG... # binder
- ligand:
id: L
smiles: 'N[C@@H](Cc1ccc(O)cc1)C(=O)O' # or ccd: SAH
boltz predict complex.yaml \
--use_msa_server --out_dir out/ --recycling_steps 3 --diffusion_samples 5
Each protein chain needs an MSA; without one the run exits before the model
loads. --use_msa_server queries api.colabfold.com (expect a 30–90 s pause
per chain) and is the right default unless you already have an .a3m to name
under msa: in the YAML. Setting msa: empty forces single-sequence mode —
that is an accuracy sacrifice, not a speed or memory optimization, because the
MSA search runs on CPU before the GPU stage starts.
Per input the output lands at out/boltz_results_complex/predictions/complex/.
Read confidence_complex_model_0.json first: iptm > 0.5 is the community
pass line for an interface, complex_plddt > 0.7 for the fold itself, and
confidence_score is the weighted aggregate the structures are ranked by.
Structures themselves are complex_model_{0..N-1}.cif (or .pdb with
--output_format pdb).
Affinity head
Add a properties: block naming one ligand chain as the binder and Boltz-2
predicts protein–small-molecule binding affinity alongside the structure:
properties:
- affinity:
binder: L # the ligand chain id, not the protein
Output gains affinity_complex.json next to the confidence file:
affinity_pred_value is log10(IC50 in μM) — lower is tighter (≈0 → 1 μM,
−3 → 1 nM); affinity_probability_binary is the 0–1 binder-vs-non-binder
score and is what to rank hits by. One affinity ligand per input; the binder
must be a ligand chain (no protein–protein affinity), and Boltz v2.2.x caps
affinity ligands at 128 atoms. FASTA inputs cannot request affinity at all.
msa: empty is an accuracy hit, not a memory save
Single-sequence mode has been suggested elsewhere as a way to fit smaller GPUs.
It does not help: the MSA search is CPU-side, so --use_msa_server versus
msa: empty changes nothing about peak VRAM. If you OOM, lower
--diffusion_samples or --max_parallel_samples, or move to an 80 GB tier;
do not trade away the MSA for it.
Missing fast kernels are slow, not fatal
ImportError for cuequivariance_ops_torch or its libcue_ops.so means the
compiled triangle-kernel package is not on the loader path. --no_kernels
falls back to the reference PyTorch path — roughly 2× slower, numerically
identical, so it is the right unblock for a one-off and the wrong choice for a
campaign.
Errors worth recognizing
| You see | It means / do this |
|---|---|
Missing MSA's in input and --use_msa_server flag not set |
A protein chain has no MSA — add --use_msa_server or set msa: to an .a3m path in the YAML. |
ImportError: ... cuequivariance_ops_torch / libcue_ops.so |
Fast-kernel wheel not visible — add --no_kernels (slower, correct) or fix the env's LD_LIBRARY_PATH. |
KeyError: 'iptm' reading the confidence JSON |
Single-chain input — ipTM is interface-only; read ptm instead. |
No affinity_*.json in output |
Used FASTA input, or the YAML is missing the properties: block — see Affinity head above. |
Next: compute clash and interface metrics on passing complexes, or feed them back to `prote
FAQ
Does it need multiple sequence alignments?
Yes, for protein chains. The skill says the run stops without one unless an alignment file is given.
Is it free to use?
The skill says the code and weights are under the MIT license.
When should I choose another model?
The skill suggests Chai-1 for a second opinion and OpenFold3 when AlphaFold3-faithful settings matter.
Details
Original description by the author
Structure prediction for protein, nucleic-acid, and small-molecule complexes with Boltz-2 (Passaro & Wohlwend et al. 2025, github.com/jwohlwend/boltz). Reach for this skill to validate designed binders against a target, to co-fold a protein with a SMILES or CCD ligand, or to get an open-source AlphaFold3 alternative with optional binding-affinity prediction.
repo: aipoch/open-science
Popularity
- GitHub stars
- 5.4k
- Ranking position
- #14850
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
alphafold2
5.4kHelps your agent predict a protein's 3D structure from its sequence, including protein complexes, using AlphaFold2 through the ColabFold runner.
borzoi
5.4kHelps your agent predict genome-wide activity tracks, such as expression and accessibility, from DNA sequence, and compare variants by their predicted effect.
chai1
5.4kHelps your agent predict the structure of protein, nucleic acid, and ligand complexes from one FASTA file, using the Apache-licensed Chai-1 model.
compute-env-setup
5.4kHelps your agent prepare a reusable software environment on an Open Science SSH compute host, so remote jobs can load the packages they need.
Similar skills
pytorch-patterns
280kHelps your agent use PyTorch for machine learning models. It applies best practices for efficient model training and ensures reproducible results.
evm-token-decimals
280kHelps your agent avoid errors with decimal numbers across different blockchain networks. It ensures token values are accurate in transactions and calculations.
ito-inference
280kLets your agent check the availability of AI models for use. It connects the compute request with the ready model service.