rfdiffusion

rfdiffusion is a skill for Claude Code, Codex from zongtingwei/Bioclaw_Skills_Hub. It costs 130 tokens per session (2,843 once invoked), scanned A, original, MIT.

A skill for generating new protein backbones with RFdiffusion, a machine-learning method for proposing protein structures. It supports designing binders, building around functional regions, and creating structures from scratch.

In plain words
What is it for?
Use it to generate protein backbones from a target PDB structure, design binder scaffolds, place functional motifs, or create new protein structures with local or cloud GPU runs.
Why use it?
It automates the generation of candidate protein shapes instead of requiring every backbone to be designed manually.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **First time?** See [Installation Guide](../../docs/installation.md) to set up Modal and biomodals..

Good fit Use it to generate protein backbones from a target PDB structure, design binder scaffolds, place functional motifs, or create new protein structures with local or cloud GPU runs.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/zongtingwei/Bioclaw_Skills_Hub
agentmods
npx agentmods add skills/zongtingwei/bioclaw_skills_hub/rfdiffusion

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rfdiffusion

README.md
[![agentmods](https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion/github.svg)](https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion)
Your own site
<a href="https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion"><img src="https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rfdiffusion

Your own site · 80×15
<a href="https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion"><img src="https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/rfdiffusion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00130 $0.02843
Opus 5 $0.00065 $0.01422
Sonnet 5 $0.00026 $0.00569
Haiku 4.5 $0.00013 $0.00284

Measured 12d ago against content hash 07abd491021c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

rfdiffusion scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

wget http://files.ipd.uw.edu/pub/RFdiffusion/models/Complex_base_ckpt.pt
skills/protein-design/skills/rfdiffusion/SKILL.md · 328 lines

How it starts

The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RFdiffusion Backbone Generation

Prerequisites

Requirement Minimum Recommended
Python 3.9+ 3.10
CUDA 11.7+ 12.0+
GPU VRAM 16GB 24GB (A10G)
RAM 16GB 32GB

How to run

First time? See Installation Guide to set up Modal and biomodals.

Option 1: Modal (recommended)

# Clone biomodals
git clone https://github.com/hgbrian/biomodals && cd biomodals

# Basic binder design
modal run modal_rfdiffusion.py \
  --pdb target.pdb \
  --contigs "A1-150/0 70-100" \
  --hotspot "A45,A67,A89" \
  --num-designs 100

# With custom GPU/timeout
GPU=A100 TIMEOUT=60 modal run modal_rfdiffusion.py \
  --pdb target.pdb \
  --contigs "A1-150/0 70-100" \
  --num-designs 100

GPU: A10G (24GB) | Timeout: 30min default

Option 2: Local installation

# Clone and install
git clone https://github.com/RosettaCommons/RFdiffusion.git
cd RFdiffusion && pip install -e .

# Download weights
wget http://files.ipd.uw.edu/pub/RFdiffusion/models/Complex_base_ckpt.pt

# Run inference
python run_inference.py \
  inference.input_pdb=target.pdb \
  contigmap.contigs=[A1-150/0 70-100] \
  ppi.hotspot_res=[A45,A67,A89] \
  inference.num_designs=100

Config Schema (Hydra)

Contigmap Syntax

# De novo single chain (50-100 residues)
contigmap.contigs=[50-100]

# Binder + target (A = target chain, fixed with /0)
contigmap.contigs=[A1-150/0 70-100]

# Motif scaffolding (preserve residues, /0 = fixed)
contigmap.contigs=[20-40/0 A10-30/0 20-40]

# Multi-chain binder
contigmap.contigs=[A1-100/0 B1-100/0 60-80]

# Variable length ranges
contigmap.contigs=[A1-150/0 50-100]  # Binder 50-100 AA

Hotspot Specification

# Residues for interface (chain + resnum, no spaces)
ppi.hotspot_res=[A45,A67,A89]

Common mistakes

Contig Syntax

Correct:

contigmap.contigs=[A1-150/0 70-100]  # Target fixed (/0), binder variable

Read the full file on GitHub · 328 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 328 lines · 130 tokens per session scan A 07abd491021c

Subscribe to this mod's changes

rfdiffusion is a skill published in the GitHub repository zongtingwei/Bioclaw_Skills_Hub (26 stars, last pushed 5mo ago), licensed MIT. It adds 130 tokens to every session and 2,843 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

rfdiffusion

Generate protein backbones using RFdiffusion, a diffusion-based generative model for de novo protein structure generation. Use this skill when: (1) Designing binder scaffolds for a target protein, (2) Generating novel protein backbones from scratch, (3) Scaffolding functional motifs into new proteins, (4) Specifying…

BioTender-max/awesome-bio-agent-skills · 119 tokens

rfdiffusion

Generate protein backbones using RFdiffusion, a diffusion-based generative model for de novo protein structure generation. Use this skill when: (1) Designing binder scaffolds for a target protein, (2) Generating novel protein backbones from scratch, (3) Scaffolding functional motifs into new proteins, (4) Specifying…

adaptyvbio/protein-design-skills · 119 tokens

boltzgen

All-atom protein design using BoltzGen diffusion model. Use this skill when: (1) Need side-chain aware design from the start, (2) Designing around small molecules or ligands, (3) Want all-atom diffusion (not just backbone), (4) Require precise binding geometries, (5) Using YAML-based configuration. For backbone-only…

BioTender-max/awesome-bio-agent-skills · 103 tokens

protein-structure-design-boltzgen

All-atom protein design using BoltzGen diffusion model. Use this skill when: (1) Need side-chain aware design from the start, (2) Designing around small molecules or ligands, (3) Want all-atom diffusion (not just backbone), (4) Require precise binding geometries, (5) Using YAML-based configuration. For structure…

PharMolix/OpenBioMed · 89 tokens

boltzgen

All-atom protein design using BoltzGen diffusion model. Use this skill when: (1) Need side-chain aware design from the start, (2) Designing around small molecules or ligands, (3) Want all-atom diffusion (not just backbone), (4) Require precise binding geometries, (5) Using YAML-based configuration. For backbone-only…

adaptyvbio/protein-design-skills · 103 tokens

bindcraft

End-to-end binder design using BindCraft hallucination. Use this skill when: (1) Designing protein binders with built-in AF2 validation, (2) Running production-quality binder campaigns, (3) Using different design protocols (fast, default, slow), (4) Need joint backbone and sequence optimization, (5) Want high…

FreedomIntelligence/OpenClaw-Medical-Skills · 104 tokens