cupotential-validate
Investigate cuPotential energy or force differences, validate a converted simulation, and assess numerical or physical simulation failures. Use for comparison with OpenMM, custom-force finite differences, cutoff artifacts, energy drift, or questionable simulation results.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install skills-cupotential-validateManual setup by platform
Claude Code
~/.claude/skills/skills-cupotential-validate/SKILL.md
Instructions
Validate cuPotential results
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.
Instructions
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.
Choose the question and reference
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.
Measure and investigate
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.
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.
State the supported conclusion
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.
Bundled helper
| 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. |
Examples
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.
Security
Reviews (0)
Related skills
Browse all →More from skills
View source →More Build skills
Browse category →Frequently asked questions about cupotential-validate
What does the cupotential-validate skill do?
Investigate cuPotential energy or force differences, validate a converted simulation, and assess numerical or physical simulation failures. Use for comparison with OpenMM, custom-force finite differences, cutoff artifacts, energy drift, or questionable simulation results. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the cupotential-validate skill?
Run `npx @skills-hub-ai/cli install skills-cupotential-validate` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-cupotential-validate/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does cupotential-validate work with?
cupotential-validate runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the cupotential-validate skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use cupotential-validate after installing it?
In Claude Code, type `/skills-cupotential-validate` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the cupotential-validate skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.