Rfdiffusion3 logo

Rfdiffusion3

Community
makabaka007x
rfdiffusion3

Install, validate, teach, and run RosettaCommons Foundry/RFdiffusion3 workflows on a local or cluster Python/GPU environment. Use when the user mentions RFdiffusion3, RFD3, Foundry, rc-foundry, RF3, ProteinMPNN, LigandMPNN, checkpoint downloads, official RFD3 tutorials, RFD3 design JSON/YAML inputs, protein binders, nucleic-acid binders, small-molecule binders, enzyme scaffolds, partial diffusion, or asks to package/run/debug RFD3 jobs.

Overview

Publishermakabaka007x
Repositorycadd-skill
Skill namerfdiffusion3
Stars
54
Forks
6
Bundled files
10
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.

  • 10 bundled files

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

  • Open source

    Published by makabaka007x on GitHub. Read the source before you install it.

Installation

Install the Rfdiffusion3 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/makabaka007x/cadd-skill/tree/main/skills/rfdiffusion3
  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/makabaka007x/cadd-skill.git /tmp/cadd-skill
mkdir -p .claude/skills
cp -r /tmp/cadd-skill/skills/rfdiffusion3 .claude/skills/rfdiffusion3
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rfdiffusion3 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 Rfdiffusion3 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 Rfdiffusion3 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.

RFdiffusion3

Defaults

Use these paths unless the user gives different ones:

text
env_prefix=/path/to/conda-envs/foundry-py312
checkpoint_dir=/path/to/foundry/checkpoints
workspace=/path/to/foundry/workspace
run_root=/path/to/foundry/workspace/rfd3_runs
conda_pkgs_dir=/path/to/conda-pkgs
pip_cache_dir=/path/to/pip-cache

Prefer a dedicated Python 3.12 Foundry environment unless the user provides a different supported installation.

First Step

For any install/debug/run request, inspect the live state before making claims:

bash
conda info --envs
nvidia-smi
test -d /path/to/conda-envs/foundry-py312
test -d /path/to/foundry/checkpoints

When running commands:

bash
source ${CONDA_BASE:-$HOME/miniconda3}/etc/profile.d/conda.sh
conda activate /path/to/conda-envs/foundry-py312
export FOUNDRY_CHECKPOINT_DIRS=/path/to/foundry/checkpoints
mkdir -p /path/to/foundry/workspace/rfd3_runs

Validate

Use the bundled script before expensive GPU work:

bash
python /path/to/foundry/workspace/skills/rfdiffusion3/scripts/check_foundry_env.py \
  --checkpoint-dir /path/to/foundry/checkpoints

For official demo smoke tests:

bash
python /path/to/foundry/workspace/skills/rfdiffusion3/scripts/prepare_rfd3_demo.py \
  --workdir /path/to/foundry/workspace/rfd3_demo \
  --checkpoint-dir /path/to/foundry/checkpoints
cd /path/to/foundry/workspace/rfd3_demo/verify_installation
FOUNDRY_CHECKPOINT_DIRS=/path/to/foundry/checkpoints rfd3 design out_dir=demo_output inputs=demo_compat.json skip_existing=False prevalidate_inputs=True diffusion_batch_size=1 n_batches=1 low_memory_mode=True dump_trajectories=False

Use demo_compat.json for this machine's smoke test; the upstream demo file included an unsupported allow_ligand_on_existing_chain field for the installed package version.

Run RFD3

Minimum command:

bash
FOUNDRY_CHECKPOINT_DIRS=/path/to/foundry/checkpoints rfd3 design out_dir=<out_dir> inputs=<input.json>

First-pass low-memory settings:

bash
rfd3 design out_dir=<out_dir> inputs=<input.json> prevalidate_inputs=True skip_existing=False diffusion_batch_size=1 n_batches=1 low_memory_mode=True dump_trajectories=False

Before writing an input file, inspect the user's PDB/CIF for chain IDs, residue numbers, and ligand residue names. Prefer absolute input paths or paths relative to the run directory.

References

Read only the reference needed for the task:

  • references/foundry-rfd3-workflow.md: installation, local path policy, checkpoints, and environment validation.
  • references/rfd3-usage-workflows.md: official tutorial distilled workflows, input fields, templates for PPI, NA, small molecule, enzyme scaffold, and partial diffusion.
  • references/foundry-postprocess-workflow.md: RFD3 outputs into ProteinMPNN/LigandMPNN, RF3 fold/review, Python API in-memory pipeline, and RMSD/QC.

User-facing tutorials live outside the skill:

  • /path/to/foundry/workspace/RFdiffusion3_Foundry_安装教程.md
  • /path/to/foundry/workspace/RFdiffusion3_使用教程.md
  • /path/to/foundry/workspace/Foundry_RFD3_MPNN_RF3_后处理教程.md

Bundled scripts:

  • scripts/check_foundry_env.py: validate Python, torch/CUDA, Foundry CLIs, and checkpoints.
  • scripts/prepare_rfd3_demo.py: download official demo inputs and create demo_compat.json.
  • scripts/prepare_rfd3_tutorial_assets.py: download official tutorial/example assets by profile when available.
  • scripts/make_foundry_postprocess_case.py: generate an MPNN JSON config plus runnable MPNN/RF3 shell scripts for a chosen RFD3 structure.
  • scripts/foundry_python_api_pipeline_demo.py: template for notebook-style in-memory RFD3 -> MPNN -> RF3 -> RMSD workflow.
  • scripts/qc_foundry_backbone_rmsd.py: file-based backbone RMSD/QC between an RFD3 design and RF3 refolded structure.

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 Rfdiffusion3 AI skill do?

Install, validate, teach, and run RosettaCommons Foundry/RFdiffusion3 workflows on a local or cluster Python/GPU environment. Use when the user mentions RFdiffusion3, RFD3, Foundry, rc-foundry, RF3, ProteinMPNN, LigandMPNN, checkpoint downloads, official RFD3 tutorials, RFD3 design JSON/YAML inputs, protein binders, nucleic-acid binders, small-molecule binders, enzyme scaffolds, partial diffusion, or asks to package/run/debug RFD3 jobs.

Why use Rfdiffusion3 on TypingMind?

Because you install it once and use it with any model. Rfdiffusion3 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 Rfdiffusion3 in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/makabaka007x/cadd-skill/tree/main/skills/rfdiffusion3. 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 Rfdiffusion3?

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 Rfdiffusion3?

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

Is the Rfdiffusion3 AI skill free?

It is published on GitHub by makabaka007x. Check the repository for licensing terms. 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 👇