/nvidia-bionemo:cupotential-validatefrom NVIDIA BioNeMo Agent Toolkit
Validates cuPotential/OpenMM energy and force results via saved-array audits, model mismatch checks, finite differences, and energy drift analysis. Routes simulation force-conversion plans to cupotential-openmm.
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; scripts run unread.
Deliver a reproducible conclusion with the comparison actually performed, its acceptance criteria, measured errors, and remaining uncertainty.
The upstream library is NVIDIA/cuPotential. This skill was reviewed against v0.3.5; match version-specific behavior to the user's selected runtime.
Snapshot comparison and analytic checks can run on CPU. If generating a stock
OpenMM reference on CPU or Reference, record that platform explicitly and
keep it separate from cuPotential CUDA results. Missing candidate GPU results
remain unavailable; CPU reference success cannot establish candidate agreement.
Separate preservation of the requested physical model, numerical evaluation accuracy, and physical/statistical validity of a trajectory. Establish the installed versions and the smallest faithful reproduction before changing a run. Preserve the failing inputs and original observations.
Read reference protocols and snapshot format. Match coordinates, particle order, box, units, exceptions, switching and tail conventions. For electrostatic accuracy, assess stock and cuPotential against an appropriately converged reference. Default Prolate and stock PME can have different approximation errors. For truncated LJ, keep the same physical cutoff and correction model. Higher precision alone does not prove reference convergence.
Select checks and budgets before examining candidate results, according to the user's requested claim and independently assessed reference/precision error. Retain a failed required check. A later calibration is a separately documented protocol change, not a reinterpretation of the original pass/fail outcome.
Use fixed configurations first. Report absolute energy difference, force RMS,
largest force-component difference, and a defined relative-force metric when
appropriate. Avoid relative normalization by zero or a nearly cancelling energy
without an absolute budget. The bundled scripts/compare_snapshots.py checks
canonical JSON snapshots without importing OpenMM. With no thresholds it produces
diagnostics; with thresholds it judges only those declared checks.
Compute each budget-exceedance ratio from that metric and its own tolerance;
an energy ratio cannot stand in for a force ratio. Include units and distinguish
a model/parameter mismatch from a numerical evaluator error.
For custom interactions, compare finite differences across step sizes away from nonsmooth boundaries, then inspect cutoff behavior separately. For unstable trajectories, investigate units, overlapping particles, forces, constraints and integration settings. A deliberate diagnostic change should retain a baseline and should not silently alter the production model.
Use NVE conservation/timestep diagnostics for a suitable constant-energy test, and ensemble/kinetic checks for thermostatted or barostatted simulations. A stable temperature or matching checkpoint state is only evidence for that observation. Statistical conclusions require adequate equilibrated, effectively independent data.
Return commands, input/build identities, reference construction, metrics, budgets, and passed, failed or unavailable checks. Do not score skipped tests or empty test selections as executed coverage. CPU analysis of saved arrays can establish their numeric differences; it does not establish that a GPU execution occurred.
| Script | Inputs and output |
|---|---|
scripts/compare_snapshots.py | Candidate and reference JSON snapshots plus optional budget flags; writes JSON metrics and declared-check results. Exit 0: diagnostics/pass; 1: failed checks; 2: invalid input or an unevaluable requested check. See the snapshot contract. |
Request: "Compare these saved candidate and reference snapshots and explain what the differences establish. I have not selected acceptance budgets yet."
python /path/to/cupotential-validate/scripts/compare_snapshots.py candidate.json reference.json
This produces diagnostics, not a passing accuracy test. To judge a declared
protocol, supply its preselected budget flags; use --help and the
metric definitions to match their units. Keep reference
convergence, model equivalence and GPU execution evidence separate from this
array comparison.
When supplied arrays are synthetic isolated-contribution inputs, label them as such in both the saved diagnosis and final answer. Their CPU comparison does not validate GPU execution, a complete System or a trajectory.
BENCHMARK.md (opens in a new tab)agents/openai.yaml (opens in a new tab)evals/evals.json (opens in a new tab)evals/files/different-box.json (opens in a new tab)evals/files/exception-comparison.json (opens in a new tab)evals/files/nonfinite.json (opens in a new tab)evals/files/reference-refinement.json (opens in a new tab)evals/files/reference.json (opens in a new tab)evals/files/zero-reference.json (opens in a new tab)references/protocols.md (opens in a new tab)scripts/compare_snapshots.py (opens in a new tab)skill-card.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nvidia-bionemo/bionemo-agent-toolkit --plugin nvidia-bionemo43 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.