Rfd4 Proteina Generateのロゴ

Rfd4 Proteina Generate

組織
NVIDIA-BioNeMo
rfd4-proteina-generate

Use when generating RFD4-Proteina designs from annotated inputs with task, sampling, batch, and inline-metric choices.

概要

公開者NVIDIA-BioNeMo
リポジトリbionemo-agent-toolkit
スキル名rfd4-proteina-generate
スター
495
フォーク
77
同梱ファイル
11
ライセンスCC-BY-4.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 11個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    NVIDIA-BioNeMoがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Rfd4 Proteina Generate」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/open-models-skills/rfd4-proteina/rfd4-proteina-generate
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit.git /tmp/bionemo-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/bionemo-agent-toolkit/open-models-skills/rfd4-proteina/rfd4-proteina-generate .claude/skills/rfd4-proteina-generate
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRfd4 Proteina Generateを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRfd4 Proteina Generateを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Rfd4 Proteina Generateは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

RFD4-Proteína Generate

Purpose

Single-shot generation for RFD4-Proteína. One entry point drives every design task — unconditional monomers/complexes, folding & inverse folding, motif scaffolding, enzyme design, small-molecule binders, protein binders, and DNA binders. The skill's job is to route the request to the right example input and the right overrides, then run one command. Deep input construction, reward-guided search, and oracle metrics live in sibling skills; this skill points at them.

Run everything from the repository root (the directory containing .project-root). All model arguments are Hydra key=value, never --key value.

Prerequisites

A model environment that passes setup preflight, supported GPU, checkpoints, and a validated annotated input or benchmark example.

Use the user-selected model checkout at RFPROTEINA_ROOT for model commands, configs, and upstream manuals. This catalog contains the skills, not that checkout. In helper examples, resolve open-models-skills/rfd4-proteina/<name>/... to its absolute installed path when the catalog and model checkout are separate.

Inputs

Required: the user's task, input CIF or benchmark path, output directory, and design count. Optional: batch size, seed, sampling overrides, and metric tags. Preserve explicit choices and use the documented defaults only for unspecified values.

Instructions

Step 1 — Preflight

Never launch a long run against a broken environment. Confirm venv, GPU, and checkpoints first:

bash
bash open-models-skills/rfd4-proteina/rfd4-proteina-setup/scripts/preflight.sh

Fix every FAIL (see rfd4-proteina-setup) before generating. scripts/download_example_data.sh fetches the release pair composed by configs/inference.yaml, so the default run needs no checkpoint override.

Step 2 — Route the task

Pick the design case, then open its reference for the exact command, example input, task-specific overrides, and gotchas:

Design taskExample input(s) in data/benchmarks/Reference
Unconditional monomermonomer, adherence/monomer_helical, adherence/monomer_igtasks/unconditional.md
Folding / inverse foldingannotated CIF (backbone-only vs C_SEQ)tasks/folding-inverse.md
Motif scaffoldingmotif_scaffolding/motif_indexed, motif_scaffolding/motif_unindexed, motif_scaffolding/motif_indexed_internal_coordstasks/motif.md
Enzyme design (active site)mcsa/mcsa_37, mcsa/mcsa_37_fixed_ligand, mcsa/mcsa_37_no_ligandtasks/enzyme.md
Small-molecule bindersmall_molecule_binder/sm_binder, small_molecule_binder/SAM_hbonds.ciftasks/sm-binder.md
Protein binderppi/ppi_all_atom/tasks/protein-binder.md
DNA binderdna_binder/dna_binder_denovo_valtasks/dna-binder.md

Need an input the request doesn't have? Annotated CIF is the recommended, lossless format. When the task needs coordinate/sequence conditioning, hotspots, fixed ligands, H-bonds, RASA, or unindexed motifs, hand off to rfd4-proteina-annotated-cif to build and validate the CIF, then come back and pass it via inputs=<file>.cif.

Step 3 — Run

General form:

bash
rfd4-generate inputs=<file> num_replicates=<N> out_dir=<dir> [overrides...]

Use the Python environment activated during setup. The installed command runs in that environment; see the installation guide for environment and scheduler settings.

The four parameters you almost always set (defaults are only right for a smoke test):

ParameterWhat to set it toDefault
out_dira real output path./runs/<run_name>
num_replicatesdesigns per example (e.g. 8-80); 1 is a smoke test1
batch_sizestart at 8, but first confirm the longest input fits at batch_size=11
metrics_tagsinline metrics as a bracket-quoted Hydra list; only refolding tags need a container[]

Useful extras: subset_to_examples=monomer-short (run only named keys), seed=<int> (reproducibility), skip_existing=true (resume a run), save_chain_of_interest=true (required for later foldseek clustering).

bash
# 80 designs of each monomer example, 8 at a time
rfd4-generate \
    inputs=data/benchmarks/monomer \
    num_replicates=80 batch_size=8 out_dir=./runs/monomers

Scheduler intent

For any batch run, read the selected scripts/.user_info_<cluster> and the launcher before constructing the command. Preserve the user's partition, account, QoS/priority options, GPU request, runtime, memory, and CPU settings. Use a resource override only when the user explicitly requested it. State the resolved scheduler values before submission; use dry-run or non-submitting tests when validating the workflow.

Step 4 — Pick your overrides

Full cheat sheet: references/overrides.md. The knobs that matter most:

  • Diversity (stochasticity). Backbone temperature generation.model.bb_ca.simulation_step_params.sc_scale_noise (default 0.3) and sidechain/sequence temperature generation.model.local_latents.simulation_step_params.sc_scale_noise (default 0.1). Roughly: (0.1,0.1) = high designability, (0.5,0.5) = natural UniProt-like sequences, (0.9,0.9) = maximum diversity.
  • Partial diffusion (refine an existing structure). Simple: generation.args.partial_trajectory_fraction_steps=<f> (fraction of nsteps). Advanced: generation.args.partial_t_backbone=<t> / generation.args.partial_t_latent=<t> (floats in (0,1); near 1 stays close to the input, near 0 approaches full generation), optionally generation.args.couple_partial_t=true. partial_t is a corruption level, not Angstroms.
  • Deterministic (ODE) sampling (no mid-trajectory noise): generation.model.bb_ca.gt.mode=ode generation.model.local_latents.gt.mode=ode.
  • Steps / recycling. The default 1x schedule uses 60 model evaluations and 185 trunk passes, with twice the integration-step density in the final 20% of each modality's clock. Select recycle_strategy=thinking_high for the 1.5x recycle-depth variant.

Step 5 — Inline metrics (optional)

Pass metrics_tags='[...]' to compute metrics right after each design; results land in per_example_metrics.csv alongside the CIFs. Common tags include design, unconditional_refolding, ppi_refolding, dna_refolding, motif_scaffold_refolding, sm_binder_refolding, ame_refolding, disco_refolding, hotspot_conditioning, 3d_coordinate_conditioning, rasa_conditioning, and interchain_interactions. Check docs/workflow/metrics.md and the composed metric configs before treating any list as exhaustive.

[!NOTE] Every *_refolding tag runs the AF3 oracle, which needs an apptainer/docker container (see rfd4-proteina-setup for the container, rfd4-proteina-evaluate for what the metrics mean and how to read them). Plain generation needs no container. Deep metric detail belongs to rfd4-proteina-evaluate — this skill only turns the tags on.

bash
rfd4-generate \
    inputs=data/benchmarks/monomer num_replicates=50 batch_size=8 \
    out_dir=./runs/monomers_scored metrics_tags='[unconditional_refolding]'

Reward-guided / beam search

For "generate many, keep the best under an AF3 reward", do not hand-roll it here — use rfd4-proteina-search, which drives configs/inference_experiment/inference_beam_example.yaml and the search config knobs (beam width, branching, checkpoints, metric weights).

Reusable configs

For a repeatable experiment instead of one-off CLI overrides, copy configs/inference_experiment/TEMPLATE.yaml — it documents the three ways to run (in-tree experiment config, CLI overrides, config file anywhere on the filesystem). The default group is inference_on_user_inputs.

Outputs

Each design is an annotated CIF with per-atom provenance columns (SA_SRC, SA_CRDSRC, SA_IDXGRPSRC, SA_UII) tying output atoms back to the input spec. With metrics on, a per_example_metrics.csv is written alongside. Full column table and how to read annotations: references/outputs.md.

Troubleshooting

SymptomFix
Out of memoryLower batch_size; confirm your longest input fits at batch_size=1 first
--inputs/--out_dir not recognized / Hydra config errorUse = not --: inputs=file.cif, never --inputs file.cif
checkpoint not foundConfirm DATA_PATH, then compare ckpt_name and ckpt_path with configs/inference.yaml; override only when intentionally using another checkpoint
DATA_PATH / checkpoint not foundexport DATA_PATH=... then ./scripts/download_example_data.sh "$DATA_PATH"
atomworks not foundRe-run make setup to install the public AtomWorks dependency
hydra not found / import errorssource .venv/bin/activate
Missing runtime data-path or cluster configurationFollow the setup environment reference for the selected checkout; preserve the requested cluster and scheduler settings. Export DATA_PATH in the process environment for local use.
AF3 / *_refolding errorsRefolding metrics need an AF3 container — see rfd4-proteina-setup + rfd4-proteina-evaluate
Segfault in rdkit/posebustersVerify the supported Python and C++ runtime versions using the setup environment reference. Use the checkout-maintained launcher for any required ABI workaround.

For deeper detail: overrides · outputs · per-task guides under references/tasks/.

Limitations

A generated CIF verifies the inference path, not folding, binding, or experimental function. Checkpoints, available conditions, and metrics depend on the selected model revision.

Examples

The Step 3 command generates 80 designs per monomer example. The task table links to conditioned examples; use the user-requested count and validate a single input before scaling.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Rfd4 Proteina Generate」では何ができますか?

Use when generating RFD4-Proteina designs from annotated inputs with task, sampling, batch, and inline-metric choices.

TypingMindでRfd4 Proteina Generateを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Rfd4 Proteina Generateはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRfd4 Proteina Generateをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/open-models-skills/rfd4-proteina/rfd4-proteina-generateを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Rfd4 Proteina Generateを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Rfd4 Proteina Generateで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRfd4 Proteina Generateを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Rfd4 Proteina Generate」は無料ですか?

はい。NVIDIA-BioNeMoがCC-BY-4.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇