SkillAgentSearch skills...

cupotential-openmm

Adapt an OpenMM simulation to cuPotential, run NVT or NPT, and save or resume checkpoints while preserving the supplied force field and simulation settings. Use for nv_openmm_plugin force replacement, simulation setup, parameter changes, and restart problems.

Install / Use

npx skills add NVIDIA/skills --skill bionemo-cupotential-openmm

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

82/100

Supported Platforms

Universal

Our assessment of cupotential-openmm

cupotential-openmm scores 82/100 on our quality scale, 3349th of 4,722 Development & Engineering skills we index.

Its SKILL.md is 4.9 KB long, split into 7 sections and no code examples: a solid amount of guidance for an agent.

With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
11/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so cupotential-openmm is actively maintained.
  • Our last check on 2026-11-27 found the source still online.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

cupotential-openmm compared with similar skills

All 4 of these similar skills score higher than cupotential-openmm; compare them before choosing.

SkillScoreStarsUpdatedFormat
cupotential-openmm (this skill)by NVIDIA823.4k2mo agoSKILL.md
taste-skillby Leonxlnx100122.3k1d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
ai-job-searchby ai-job-search-dev10073.7ktodayCLAUDE.md
claude-howtoby luongnv8910047.6k7d agoCLAUDE.md

Frequently asked questions

How do I install cupotential-openmm?
Run npx skills add NVIDIA/skills --skill cupotential-openmm. The install tabs above show the steps for each supported agent.
Which AI agents does cupotential-openmm work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is cupotential-openmm safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is cupotential-openmm still maintained?
The repository was last updated about 2 months ago, so cupotential-openmm is actively maintained.

name: cupotential-openmm description: Adapt an OpenMM simulation to cuPotential, run NVT or NPT, and save or resume checkpoints while preserving the supplied force field and simulation settings. Use for nv_openmm_plugin force replacement, simulation setup, parameter changes, and restart problems. license: Apache-2.0 metadata: author: Ohad Mosafi omosafi@nvidia.com tags: [cupotential, openmm, molecular-dynamics, checkpoints] status: alpha version: "0.1.0"

Run OpenMM simulations with cuPotential

<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. --> <!-- SPDX-License-Identifier: Apache-2.0 -->

Produce an adapted simulation and evidence for the requested execution or restart. Use the user's application and selected interpreter; installed-plugin users do not need a cuPotential source checkout.

The upstream library is NVIDIA/cuPotential. This skill was reviewed against v0.3.5; match version-specific behavior to the user's selected runtime.

Instructions

Establish the simulation contract

Inventory the input System, coordinates, box, forces, exceptions, constraints, virtual sites, masses, precision, integration settings, and requested ensemble. Keep an independent stock System for comparisons. Preserve supplied files. Determine whether the task requests a force replacement alone or also cuPotential's integrator and barostat. The blog's example settings describe its benchmark system; retain the user's timestep and hydrogen-mass/constraint policy.

Read conversion, execution and restart for the chosen operation. Confirm the installed release's supported source methods and numerical settings before converting. The reviewed 0.3.5 API accepts standard PME/LJPME conversion with its fixed numerical policy; it does not accept arbitrary pinned meshes or accuracy targets. Explain incompatible requirements before changing them. Geometry restrictions also need checking for the supplied box and cutoff.

CPU reference fallback

When CUDA/cuPotential is unavailable and a CPU fallback is permitted, run a separate stock OpenMM control on CPU or Reference, preserving the input model. Keep the stock integrator, COM remover and, for NPT, stock barostat in that control. The CPU procedure and bundled scripts/run_cpu_reference.py exercise energy/forces and a fresh-process restart. An isolated stock OpenMM installation is an option when package changes are allowed.

Label its result CPU_REFERENCE_PASS or CPU_REFERENCE_FAILED and record cuPotential/CUDA as NOT_RUN. A stock checkpoint does not test native cuPotential serialization, COM transfer or barostat state. Prepare those conversions separately. If the request requires CUDA, the requested cuPotential execution remains incomplete. Retain failed attempts; use python -B to avoid bytecode cache cleanup.

Adapt and execute

Construct each replacement before removing its source force, and replace it once. OpenMM owns and deletes removed forces: extract everything needed from a source before removal. Preserve untouched forces and particle ordering. Check the final inventory for omissions and double-counting.

If replacing the integrator, transfer the existing center-of-mass removal policy explicitly; cuPotential's default frequency can otherwise introduce a change. If retaining the stock integrator, retain its remover. Use one intended barostat, preserving pressure, temperature, frequency, and the requested seed policy.

Create the Context only after configuring the System. Observe initial finite energy/forces, then execute the requested duration with appropriate reporting and checkpoint output. Global value changes use Context.setParameter; supported particle values use updateParametersInContext. Changes to force structure, expression layout, or certain policies require reinitialization.

Verify the requested outcome

Check state restoration in a fresh compatible Context when restart is requested. Distinguish restored positions, velocities, box, time and parameters from identical future stochastic trajectories, especially for NPT barostat bookkeeping.

Report actual steps and outputs, preserved settings, deliberate changes and unresolved errors. A running simulation or a restored checkpoint does not establish numerical accuracy; compare fixed configurations when accuracy is part of the task.

Examples

Request: "Convert my periodic OpenMM simulation to cuPotential, retain my NPT settings, run 1,000 steps, and verify a checkpoint restart."

Use the conversion and restart procedure. Return the adapted script, before/after force inventory, observed step count and checkpoint restoration checks from a fresh compatible Context. Preserve the supplied thermostat, barostat and COM policy unless the request changes them.

Related Skills

View on GitHub
GitHub Stars3.4k
CategoryDevelopment
Updated2mo ago
Forks412

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions