Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cuPotential custom potentials

БесплатноБез исполняемых скриптовНе проверен

Build and validate cuPotential custom pair potentials through its OpenMM expression API, including WCA, LJ fusion, soft-core interactions and live globals…

nvidiaот nvidia122 установки в других каталогах

Об этом скилле

Implement a custom pair potential

Deliver a supported expression, its physical conventions, and checks of its energy, forces and requested parameter changes. This workflow uses nv_openmm_plugin; caller-written CUDA evaluators and experimental C ABI integration need separate version-specific work.

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

Select the requested deliverable

For an implementation task, use the selected interpreter and available runtime. Read the supplied model and bundled recipes first. Inspect the installed constructor/setter signatures once, then build and exercise the requested model. Resolve installed files from module locations and package metadata; use matching official documentation for a specific unresolved API question. Limit diagnostic output to interpreter/module paths, package versions, platform names and the specific failure. Avoid dumping the full environment, credentials or package index configuration while diagnosing an import or CUDA failure. For preinstalled-runtime tasks, preserve the supplied environment instead of substituting a different package stack. If an import or CUDA probe fails, retain the exact failure and prepare the remaining code and independent checks. Bound runtime discovery to the selected environment instead of scanning the filesystem root; identify which requested execution remains blocked.

For an assessment based on a supplied API contract, use that contract directly. Write the requested decision artifact with the required observable, the relevant contract provision, the implementation/protocol decision, and remaining evidence needs. Importing packages, installing software and running a simulation are unnecessary for this mode.

CPU reference fallback

If CPU fallback is permitted, execute independent analytic/finite-difference checks and, when stock OpenMM is available, a separate stock CPU or Reference definition. For WCA, retain unequal-particle mixing, nonzero and outside-support controls, exclusions and the reversible strength sequence. For a fused expression, the stock control must retain full LJ, electrostatics and the addition. An isolated stock OpenMM installation is an option only when package changes are allowed.

Record CPU results separately from the prepared cuPotential definition. Label cuPotential CUDA evaluation, live native parameter updates and native-versus-stock comparisons NOT_RUN until actually exercised. If CUDA was required, the requested execution remains incomplete. Keep failed checks and temporary caches rather than cleaning away evidence; python -B avoids creating bytecode caches.

Define the interaction before implementing it

Establish the complete pair energy, physical units, symmetric combining rules, cutoff, switching, exclusions, exceptional pairs, and any periodic lattice terms. Identify which existing interactions are being replaced and which remain. For alchemical inputs, identify the meanings of the lambda parameters and the unchanged bonded/exception terms as well as the nonbonded expression.

Read expression recipes and checks for the appropriate construction and its limitations. The reviewed expression API uses nanometers and kJ/mol; parameter arrays contain numbers in the expression's declared units.

Choose the supported construction

Convert a supported periodic-cutoff openmm.CustomNonbondedForce for a standalone custom interaction. To combine custom LJ with standard periodic electrostatics, use a standard cuPotential force and its setCutoffInteraction API. That operation replaces the complete ordinary LJ contribution. Include the ordinary interactions that must remain in the new expression.

Custom cutoff expressions do not acquire a reciprocal sum automatically. A declared lattice term describes the decomposition of a bare term already present in the full expression. Check the installed release's supported kernels and corrections. Apply a switch once, and account for its derivative and tail treatment. Interaction groups, tabulated functions, and requested energy-parameter derivatives need explicit compatibility checks rather than automatic conversion assumptions.

Exercise the definition

Start with a small nonzero interaction having an independent analytic or stock reference. Check force sign and symmetry, finite differences over several step sizes, exceptional/excluded pairs, and both sides of the cutoff. Keep the chosen acceptance checks separate from exploratory diagnostics. The reference contains an independent WCA formula and a complete LJ-plus-Gaussian construction pattern.

Полный SKILL.md на ClawHub

Установить cuPotential custom potentials в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл cuPotential custom potentials?

Build and validate cuPotential custom pair potentials through its OpenMM expression API, including WCA, LJ fusion, soft-core interactions and live globals. Review path-specific support for alchemical estimators and analytic energy-parameter derivatives.

Как установить скилл cuPotential custom potentials?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cuPotential custom potentials запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cuPotential custom potentials с