/bionemo-agent-toolkit:kermt-inferfrom NVIDIA BioNeMo Agent Toolkit
Runs predictions with a finetuned KERMT checkpoint on a SMILES CSV. Validates checkpoint and data, prepares features (clean + rdkit_2d), then launches inference inside a Docker container with GPU support.
Ships in NVIDIA BioNeMo Agent Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run predictions with a finetuned KERMT checkpoint on a SMILES-only CSV. The skill is the workflow orchestrator: validate ckpt, validate CSV, prepare data, launch the runner blocking, return the predictions CSV.
batch_size 32.Required:
--ckpt <path> — finetuned checkpoint (must have task FFN heads). The
validator refuses pretrain ckpts with a redirect to kermt-finetune.--csv <path> — SMILES-only CSV. First column is smiles; other columns
are ignored.Optional:
--batch-size N — override the configured default (32).--seed N — random seed for inference (deterministic featurization paths).--gpus 0 — single GPU id (default 0). Multi-GPU rejected.--from-prepare <dir> — skip the prepare step and reuse an existing
prepare_data.json in <dir>.Let $KERMT_REPO be the path to your kermt repo checkout, and assume
kermt-setup has built kermt:latest.
Pre-flight: ensure container + system probe.
$KERMT_REPO/agent/scripts/kermt_container.sh check_system
Refuse to proceed on ok: false.
Compute run directory.
RUN_DIR=$KERMT_REPO/runs/infer_$(date -u +%Y-%m-%dT%H-%M-%SZ)
Validate the checkpoint.
$KERMT_REPO/agent/scripts/kermt_container.sh run --ckpt <user-ckpt> -- \
"python agent/scripts/check_checkpoint.py --mode inference --ckpt /ckpt"
Parse the JSON. Abort on ok: false. The validator rejects pretrain ckpts
(has_task_ffn: false) with a redirect to kermt-finetune.
Validate the data.
$KERMT_REPO/agent/scripts/kermt_container.sh run --data <user-csv> -- \
"python agent/scripts/check_data.py --mode inference --csv /data/<basename>"
Abort on ok: false.
Prepare the data.
$KERMT_REPO/agent/scripts/kermt_container.sh run --data <user-csv> --run-dir $RUN_DIR -- \
"python agent/scripts/prepare_data.py --mode inference \\
--csv /data/<basename> --out /runs/data"
Outputs land at $RUN_DIR/data/prepare_data.json with clean_csv +
clean_npz paths (rdkit_2d_normalized features).
Launch the runner (blocking).
$KERMT_REPO/agent/scripts/kermt_container.sh run \\
--ckpt <user-ckpt> --run-dir $RUN_DIR -- \\
"python agent/scripts/run_inference.py \\
--ckpt /ckpt \\
--prepare-manifest /runs/data/prepare_data.json \\
--out /runs \\
[--gpus 0 --batch-size N --seed N]"
Returns the predictions CSV path on success.
Report to the user. Output a short summary:
$RUN_DIR/out/predictions.csv (smiles + per-target columns)$RUN_DIR/run.json (cmd_replay + image digest + applied args)$RUN_DIR/logs/inference.log<out>/ckpt_link/ subdir so main.py predict --checkpoint_dir
picks it up; the source file stays untouched.run.json but does not pass arch flags into
main.py predict — predict reads them from the loaded ckpt's saved_args.args_applied field of run.json records
every flag's value + source (user / default-config). Surface a short
summary of any default-filled flag.inference requires a finetuned ckpt with task FFN heads → ckpt is a
pretrain ckpt; use kermt-finetune first.prepare_data manifest reports ok=False → check the manifest errors for
the failed step (typically clean_smiles or save_features).could not convert string to float: '<value>' from save_features or main.py
predict → input CSV has a non-numeric passthrough column (e.g. a 'split'
label). The prep step now strips the CSV to SMILES-only at inference; if
this error still surfaces, the CSV is being read by a runner that bypassed
prepare_data. Re-run via the skill, not main.py directly.--gpus '0,1' is single-GPU only → pass a single id.The run.json cmd_replay field is a single-line command that re-runs the
inference with the same inputs. To replay inside the kermt container:
$(jq -r .cmd_replay $RUN_DIR/run.json)
If ok_to_replay: false (dirty kermt repo worktree at launch time), pin
the commit via repo.commit and git checkout it first.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nvidia-bionemo/bionemo-agent-toolkit --plugin bionemo-agent-toolkit47 skills in this plugin
/boltz2-nimUse Boltz2 NIM for biomolecular structure prediction and binding affinity. Invoke for Boltz2, protein structures, protein-ligand/DNA/RNA complexes, SMILES or CCD ligands, pIC50/IC50 affinity scoring, mmCIF output, hosted NVIDIA API calls, or local Docker deployment.
/codonfm-embedValidate coding-sequence CSVs, extract public CodonFM/Encodon embeddings, and choose checkpoints for downstream property modeling./codonfm-finetuneFine-tune public CodonFM Encodon checkpoints on labeled coding-sequence or coding-variant data using LoRA, head-only, or full fine-tuning. Use when a user explicitly asks to fine-tune CodonFM or Encodon for regression or classification. Support generic public-v1 Encodon workflows only; reject Decodon, MissenseDataset, missense_synom_agg, and generation workflows./codonfm-scoreValidate, prepare, or run public CodonFM Encodon masked-codon variant scoring and review compatibility of its scoring workflows. Use only when the user explicitly requests CodonFM or Encodon, or that context is already established in the conversation. Do not select this skill for a generic variant-scoring request without that context; ask for the variant and intended analysis first./codonfm-setupSet up the public CodonFM v1 repository and download public Encodon checkpoints. Use for requests to build or launch the CodonFM development container, configure local data/checkpoint mounts, verify GPU access, or download public Encodon 80M, 600M, 1B, or Cdwt-1B weights. Do not use for Decodon, Encodon 5B/10B, missense-aggregation, or codon-optimization setup because those implementations are not in the public repository./complexa-binder-designRun a complete protein binder design campaign with NVIDIA Proteina-Complexa: resolve a target structure and hotspots from a name/sequence/PDB, co-design binder sequence+structure with reward-guided test-time search (best-of-n, beam search, FK steering, MCTS), select with the internal AF2 reward gate, then INDEPENDENTLY validate each binder by refolding the complex with Boltz2 (default) or OpenFold3 and rank on interface confidence, pLDDT, ipSAE, apo/holo stability, and hotspot contact. Use whenever the user wants de novo binders against a named target, sequence, or PDB, hotspot/epitope-targeted design, Proteina-Complexa / Complexa, or ranked validated binders from one request. Sibling of protein-binder-design (RFdiffusion + ProteinMPNN); this skill uses Proteina-Complexa.
Other plugins' skills for the same job