rfdiffusion

rfdiffusion is a skill for Claude Code, Codex from naity/FM4Life. It costs 132 tokens per session (2,680 once invoked), scanned A, original, MIT.

A tool for designing new protein backbones, meaning the three-dimensional structural framework of a protein, with RFdiffusion.

In plain words
What is it for?
Use it to make proteins around functional regions, design binders for target molecules, create symmetrical protein assemblies, or vary an existing structure.
Why use it?
It helps researchers create possible protein structures for designs that do not already exist.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../...

Good fit Use it to make proteins around functional regions, design binders for target molecules, create symmetrical protein assemblies, or vary an existing structure.

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/naity/FM4Life
agentmods
npx agentmods add skills/naity/fm4life/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/naity/fm4life/rfdiffusion/github.svg)](https://agentmods.dev/skills/naity/fm4life/rfdiffusion)
Your own site
<a href="https://agentmods.dev/skills/naity/fm4life/rfdiffusion"><img src="https://agentmods.dev/badge/skills/naity/fm4life/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/naity/fm4life/rfdiffusion"><img src="https://agentmods.dev/badge/skills/naity/fm4life/rfdiffusion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,680 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.00132 $0.02680
Opus 5 $0.00066 $0.01340
Sonnet 5 $0.00026 $0.00536
Haiku 4.5 $0.00013 $0.00268

Measured 9d ago against content hash cffe85dce3f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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/6f5902ac237024bdd0c176cb93063dc4/Base_ckpt.pt
skills/rfdiffusion/SKILL.md · 256 lines

How it starts

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

RFdiffusion: De Novo Protein Backbone Generation

Overview

RFdiffusion generates protein backbones via a denoising diffusion process. It starts from random noise and iteratively refines toward a plausible protein structure. It is the backbone generation half of the modern protein design pipeline:

RFdiffusion (backbone) → ProteinMPNN (sequence) → AlphaFold2 (validation)

Core design modes:

  • Unconditional generation — design monomers of specified length
  • Motif scaffolding — build a new protein around a fixed functional motif
  • Binder design — create proteins that bind a target surface
  • Symmetric oligomers — cyclic (Cn), dihedral (Dn), tetrahedral, octahedral, icosahedral
  • Partial diffusion — diversify an existing backbone (keep fold, vary details)
  • Active site scaffolding — design enzymes around catalytic residues
  • Cyclic peptides — macrocyclic monomers and binders
  • Sequence inpainting — redesign selected residues in context

Installation

git clone https://github.com/RosettaCommons/RFdiffusion.git
cd RFdiffusion

# Create environment
conda env create -f env/SE3nv.yml
conda activate SE3nv

# Install SE3-Transformer
cd env/SE3Transformer
pip install --no-cache-dir -r requirements.txt
python setup.py install
cd ../..

# Install RFdiffusion
pip install -e .

Download model weights

mkdir models && cd models
# Base (unconditional + motif scaffolding)
wget http://files.ipd.uw.edu/pub/RFdiffusion/6f5902ac237024bdd0c176cb93063dc4/Base_ckpt.pt
# Binder / PPI design
wget http://files.ipd.uw.edu/pub/RFdiffusion/e29311f6f1bf1af907f9ef9f44b8328b/Complex_base_ckpt.pt
# Active site scaffolding
wget http://files.ipd.uw.edu/pub/RFdiffusion/5532d2e1f3a4738decd58b19d633b3c3/ActiveSite_ckpt.pt
# Sequence inpainting
wget http://files.ipd.uw.edu/pub/RFdiffusion/74f51cfb8b440f50d70878e05361d8f0/InpaintSeq_ckpt.pt
# Epoch 8 (metal binding, symmetric oligomers)
wget http://files.ipd.uw.edu/pub/RFdiffusion/12fc204edeae5b57713c5ad7dcb97d39/Base_epoch8_ckpt.pt

Read the full file on GitHub · 256 lines

Files

What ships with it

1 file 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. 9d ago First seen · 256 lines · 132 tokens per session scan A cffe85dce3f2

Subscribe to this mod's changes

rfdiffusion is a skill published in the GitHub repository naity/FM4Life (2 stars, last pushed 5mo ago), licensed MIT. It adds 132 tokens to every session and 2,680 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

drug-repurposing

Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining.

inflexa-ai/inflexa · 30 tokens

genomic-variants

Analysis of called genomic variants — filtering, annotation, GWAS, and population-genetics summaries from VCF and PLINK-format data.

inflexa-ai/inflexa · 31 tokens

omics-general

Cross-cutting principles for all omics analysis — AnnData/MuData universal containers, Python-first policy, data format detection, analysis phases, and shared analytical methods.

inflexa-ai/inflexa · 36 tokens

external-model-validation

Use when validating an existing prognostic risk signature on an external bulk expression cohort with survival outcomes, producing risk scores, Kaplan-Meier curves, risk distribution plots, heatmap, and time-dependent ROC curves. NOT for: model training, feature selection, nomogram construction, calibration analysis…

aipoch/medical-research-skills · 66 tokens

gsva-analysis-and-visualization

Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…

aipoch/medical-research-skills · 88 tokens

medical-research-literature-reader-pro

A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…

aipoch/medical-research-skills · 199 tokens