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.
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
Not loaded · from alterlab-writing-tools
Claude Code won't load this skill
It ships in alterlab-writing-tools at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
Generated from the plugin's indexed repository (alterlab-ieu/alterlab-academic-skills) — no native marketplace selected
npx claudepluginhub p/alterlab-ieu-alterlab-writing-tools2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
241 skills in this plugin
/alterlab-abm-mesaBuilds agent-based models of social systems with Mesa 3 — the current AgentSet API (model.agents.shuffle_do('step'), auto-assigned unique_id, mandatory super().__init__(rng=...)), cell spaces (mesa.discrete_space OrthogonalMooreGrid / classic mesa.space grids), the DataCollector, batch_run parameter sweeps, and SolaraViz — for emergence, segregation, diffusion, opinion dynamics, and cooperation models. It uses the Mesa 3.x API (the old mesa.time schedulers like RandomActivation are removed) and treats the model as a generative theory to be validated, not just run. Use when the request mentions an agent-based model, Mesa, simulating interacting agents, or emergent macro behavior from micro rules. For discrete-event (queueing/process) simulation prefer alterlab-simpy; for reinforcement learning prefer alterlab-stable-baselines3. Part of the AlterLab Academic Skills suite./alterlab-academic-careerPrepares academic career documents and professional-development materials for faculty and researchers. Use when drafting academic CVs, research statements, teaching philosophies, diversity statements, faculty-position cover letters, tenure dossiers, promotion narratives, academic portfolios, or mentorship statements, and when planning conference-networking strategy, building academic web presence, setting up ORCID profiles, or understanding impact metrics. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job