Generates de-novo protein backbones using RFdiffusion for unconditional monomer generation, motif scaffolding, binder design, and symmetric oligomers. Outputs backbone PDBs for sequence design with alterlab-proteinmpnn and validation with alterlab-alphafold.
Ships in alterlab-bioinformatics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
RFdiffusion (Watson et al., Nature 2023; RosettaCommons/RFdiffusion) is a diffusion
model that generates protein backbones — new 3D structures, not sequences. It supports
unconditional generation, motif scaffolding (build a fold around a fixed functional
motif), binder design (generate a backbone that binds a target surface), and symmetric
assemblies. It is the structure-generation step that starts the de-novo design pipeline;
alterlab-proteinmpnn then designs sequences for the backbone and alterlab-alphafold
validates them.
Use this skill when the user wants to:
| Scenario | Use instead |
|---|---|
| Design the sequence for an existing backbone | alterlab-proteinmpnn |
| Design a pocket sequence with a ligand/metal present | alterlab-ligandmpnn |
| Fold a known sequence into a structure | alterlab-alphafold |
| Generative multimodal (sequence+structure) design | alterlab-esm |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-proteinmpnn) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
# RosettaCommons/RFdiffusion — run from the repo root. RFD points at the repo's
# scripts directory, where run_inference.py lives; it is driven by a Hydra config.
RFD=./scripts
python "$RFD"/run_inference.py \
'contigmap.contigs=[100-100]' \
inference.output_prefix=out/uncond \
inference.num_designs=10
contigmap.contigs specifies what to build (here, a 100-residue monomer). Quote the contig
string — the brackets and / are shell metacharacters. Outputs backbone PDBs with no sequence,
plus a .trb metadata file recording which output residues came from the motif.
Fix a functional motif (residues from an input PDB) and let RFdiffusion build a supporting fold around it — the way to transplant a binding/catalytic geometry into a new, stable scaffold. The contig string mixes generated lengths with fixed ranges named by chain+index:
python "$RFD"/run_inference.py inference.input_pdb=motif.pdb \
'contigmap.contigs=[5-15/A10-25/30-40]' contigmap.length=55-55 \
inference.output_prefix=out/scaffold inference.num_designs=10
Here 5-15 and 30-40 are generated segments resampled per design, A10-25 is the fixed
motif, and /0 (with the trailing space) would start a new chain. Only the residues named in
the contig are shown to the model — other chains and residues in the input PDB are ignored, so
you do not need to pre-trim the file.
Provide a target structure and hotspot residues; RFdiffusion generates binder backbones docked against that surface. Hotspots are the target residues the binder must contact:
python "$RFD"/run_inference.py inference.input_pdb=target.pdb \
'contigmap.contigs=[B1-100/0 100-100]' 'ppi.hotspot_res=[A30,A33,A34]' \
inference.output_prefix=out/binder inference.num_designs=10
Follow with sequence design (alterlab-proteinmpnn) and an interface validation refold
(alterlab-alphafold, read ipTM).
Three generations coexist; they are separate codebases, not upgrades of one CLI.
| Model | Where | Run via | Pick it for |
|---|---|---|---|
| RFdiffusion (1) | RosettaCommons/RFdiffusion | run_inference.py + Hydra | the documented workhorse — monomers, motif scaffolding, binders, symmetry; everything in this skill |
| RFdiffusion2 | RosettaCommons/RFdiffusion2 | its own inference CLI | atom-level enzyme active-site scaffolding (Ahern et al. 2025); inference only, still marked under construction upstream |
| RFdiffusion3 (RFD3) | RosettaCommons/foundry | pip install rc-foundry[rfd3]; foundry install rfd3; rfd3 design out_dir=… inputs=spec.json | all-atom design against DNA/ligands, atom-level hotspots, JSON/YAML input instead of contig strings |
RFD3 replaces the Hydra/contig interface with a JSON or YAML input specification, so RFdiffusion-1 command lines do not carry over. Reach for it when the design target involves non-protein atoms or per-atom constraints; stay on RFdiffusion 1 for ordinary backbone generation, where its recipes and published benchmarks are what the field has replicated.
alterlab-proteinmpnn (or alterlab-ligandmpnn if a ligand is
present).alterlab-alphafold and keeping only self-consistent designs.GPU-heavy — dispatch generation and the fold sweep via alterlab-remote-compute.
references/rfdiffusion_usage.md — install/pinning, contig grammar, motif/binder/symmetry
configs, and loop integration. Loaded on demand.Part of the AlterLab Academic Skills suite.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/alterlab-bioinformatics:alterlab-rfdiffusionfrom alterlab-bioinformatics
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-bioinformatics38 skills in this plugin
/alterlab-alphafoldPredict protein 3D structures with AlphaFold2 via ColabFold — MMseqs2-accelerated MSAs, monomer and AlphaFold2-Multimer complex folding, and confidence-based validation (pLDDT, pTM/ipTM, PAE). Use when folding a protein sequence or complex from FASTA, generating a predicted structure with confidence metrics, ranking models, or checking self-consistency of a design. For co-folding a protein WITH a small-molecule ligand or predicting binding affinity prefer alterlab-boltz; for antibody–antigen or one-FASTA multi-entity complexes prefer alterlab-chai; to LOOK UP an already-computed structure prefer alterlab-alphafold-db; for ESM embeddings or inverse folding prefer alterlab-esm. Part of the AlterLab Academic Skills suite./alterlab-anndataBuild, slice, concatenate, read, and write AnnData annotated data matrices (obs, var, X, layers, obsm, uns) — the scverse data STRUCTURE, not an analysis pipeline. Use when creating or wrangling .h5ad/zarr files, managing cell and gene annotations, concatenating batches, or handling layers/obsm/backed-mode; for the QC, normalization, clustering, UMAP, and differential-expression analysis pipeline prefer alterlab-scanpy instead, and for RNA velocity from spliced/unspliced layers prefer alterlab-scvelo instead. Part of the AlterLab Academic Skills suite.2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
Other plugins' skills for the same job