Alterlab Rfdiffusion logo

Alterlab Rfdiffusion

Community
AlterLab-IEU
alterlab-rfdiffusion

Generate de-novo protein backbones with RFdiffusion (Watson 2023) — a diffusion model for unconditional monomer generation, motif scaffolding, binder design against a target, and symmetric oligomers. Use when generating a new protein backbone from scratch, scaffolding a functional motif into a fold, designing a binder backbone to a target surface, or building symmetric assemblies; RFdiffusion produces the STRUCTURE, then alterlab-proteinmpnn designs its sequence and alterlab-alphafold validates it. For sequence design of an existing backbone prefer alterlab-proteinmpnn (or alterlab-ligandmpnn with a ligand); to fold a known sequence prefer alterlab-alphafold; for generative multimodal design prefer alterlab-esm. Part of the AlterLab Academic Skills suite.

Overview

PublisherAlterLab-IEU
RepositoryAlterLab-Academic-Skills
Skill namealterlab-rfdiffusion
Stars
84
Forks
16
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AlterLab-IEU on GitHub. Read the source before you install it.

Installation

Install the Alterlab Rfdiffusion AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-rfdiffusion
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills.git /tmp/AlterLab-Academic-Skills
mkdir -p .claude/skills
cp -r /tmp/AlterLab-Academic-Skills/skills/bioinformatics/alterlab-rfdiffusion .claude/skills/alterlab-rfdiffusion
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Alterlab Rfdiffusion in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Alterlab Rfdiffusion on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Alterlab Rfdiffusion is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

RFdiffusion (de-novo backbone generation)

Overview

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.

When to Use This Skill

Use this skill when the user wants to:

  • Generate a novel protein backbone from scratch (unconditional).
  • Scaffold a functional motif (e.g. a binding loop / catalytic geometry) into a new fold.
  • Design a binder backbone against a given target protein surface / hotspots.
  • Build symmetric oligomers (cyclic/dihedral) as backbones.

Does NOT Trigger

ScenarioUse instead
Design the sequence for an existing backbonealterlab-proteinmpnn
Design a pocket sequence with a ligand/metal presentalterlab-ligandmpnn
Fold a known sequence into a structurealterlab-alphafold
Generative multimodal (sequence+structure) designalterlab-esm

Core Capabilities

1. Unconditional generation

bash
# 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.

2. Motif scaffolding

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:

bash
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.

3. Binder design

Provide a target structure and hotspot residues; RFdiffusion generates binder backbones docked against that surface. Hotspots are the target residues the binder must contact:

bash
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).

4. Which RFdiffusion (2026-09)

Three generations coexist; they are separate codebases, not upgrades of one CLI.

ModelWhereRun viaPick it for
RFdiffusion (1)RosettaCommons/RFdiffusionrun_inference.py + Hydrathe documented workhorse — monomers, motif scaffolding, binders, symmetry; everything in this skill
RFdiffusion2RosettaCommons/RFdiffusion2its own inference CLIatom-level enzyme active-site scaffolding (Ahern et al. 2025); inference only, still marked under construction upstream
RFdiffusion3 (RFD3)RosettaCommons/foundrypip install rc-foundry[rfd3]; foundry install rfd3; rfd3 design out_dir=… inputs=spec.jsonall-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.

5. The full design → fold → score loop

  1. Generate backbones here (RFdiffusion).
  2. Design sequences with alterlab-proteinmpnn (or alterlab-ligandmpnn if a ligand is present).
  3. Score by refolding with alterlab-alphafold and keeping only self-consistent designs.

GPU-heavy — dispatch generation and the fold sweep via alterlab-remote-compute.

Resources

  • 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Alterlab Rfdiffusion AI skill do?

Generate de-novo protein backbones with RFdiffusion (Watson 2023) — a diffusion model for unconditional monomer generation, motif scaffolding, binder design against a target, and symmetric oligomers. Use when generating a new protein backbone from scratch, scaffolding a functional motif into a fold, designing a binder backbone to a target surface, or building symmetric assemblies; RFdiffusion produces the STRUCTURE, then alterlab-proteinmpnn designs its sequence and alterlab-alphafold validates it. For sequence design of an existing backbone prefer alterlab-proteinmpnn (or alterlab-ligandmp...

Why use Alterlab Rfdiffusion on TypingMind?

Because you install it once and use it with any model. Alterlab Rfdiffusion is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Alterlab Rfdiffusion in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlterLab-IEU/AlterLab-Academic-Skills/tree/main/skills/bioinformatics/alterlab-rfdiffusion. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Alterlab Rfdiffusion?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Alterlab Rfdiffusion?

As many as you like. As long as a model supports skills, you can use Alterlab Rfdiffusion with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Alterlab Rfdiffusion AI skill free?

Yes. It is published on GitHub by AlterLab-IEU under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇