Skip to content
Join free
NVIDIA

Cupotential Openmm skill

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.

$npx alyn-cli add cupotential-openmm
View this skill on GitHubNVIDIA/skills/skills/bionemo-cupotential-openmm/SKILL.md
Pack stars
4,135
Pack installs
432k
Alyn Score
77/99
Updated
1 h ago
License
Apache-2.0

NVIDIA

Cupotential Openmm

What is the Cupotential Openmm skill?

Cupotential Openmm is a coding skill by NVIDIA for Claude Code, Cursor, Codex and other AI coding agents. 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.

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.

When to use it

Use for nv_openmm_plugin force replacement, simulation setup, parameter changes, and restart problems.

What the SKILL.md covers

  • Instructions
  • Establish the simulation contract
  • CPU reference fallback
  • Adapt and execute
  • Verify the requested outcome
  • Examples
Author
NVIDIA
Pack
NVIDIA/skills (30 skills)
Category
Coding, #359 of 1826
Alyn Score
77 / 99
Files
9, includes scripts, includes references
License
Apache-2.0
Last updated
1 h ago
Works with
Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot

Cupotential Openmm compared to similar skills

SkillAlyn ScoreGitHub starsUpdated
Cupotential Openmm · NVIDIA774.1k1 h ago
Setup Deploy · Garry Tan84143k31 min ago
Skill Curator · laolaoshiren5692733 h ago
Configure · bitwize-music-studio686972 days ago

Install Cupotential Openmm

Pick your agent. Every command is ready to paste.

$npx alyn-cli add cupotential-openmm

Detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

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

Or use the open skills CLI directly.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads cupotential-openmm when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the cupotential-openmm skill”. In Codex, type $cupotential-openmm.

The skill itself

SKILL.md

FolderGitHub

Run OpenMM simulations with cuPotential

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.

Tips for Cupotential Openmm

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Cupotential Openmm

What does the Cupotential Openmm skill do?

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.

How do I install Cupotential Openmm?

Run "npx alyn-cli add cupotential-openmm" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Cupotential Openmm work in Cursor and Codex?

Yes. Cupotential Openmm uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

When should I use the Cupotential Openmm skill?

Use for nv_openmm_plugin force replacement, simulation setup, parameter changes, and restart problems.

What is inside the Cupotential Openmm skill?

The SKILL.md covers Instructions, Establish the simulation contract, CPU reference fallback, Adapt and execute, Verify the requested outcome, Examples, and the skill folder has 9 files including scripts.

What is a good alternative to Cupotential Openmm?

Setup Deploy by Garry Tan is the highest-ranked similar skill from another creator, with an Alyn Score of 84 compared to 77 for Cupotential Openmm.

Is Cupotential Openmm free?

Cupotential Openmm is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Cupotential Openmm?

Cupotential Openmm is published by NVIDIA in the NVIDIA/skills repository, together with 29 other skills.

Similar skills. From other creators.