nvalchemi-toolkit
БесплатноБез исполняемых скриптовНе проверенBuild and change NVIDIA ALCHEMI Toolkit (nvalchemi) workflows for atomistic simulation and machine-learned interatomic potentials (MLIPs). Use for batched…
от nvidia375 установок в других каталогахОб этом скилле
NVIDIA ALCHEMI Toolkit
This skill helps you write and change code that uses nvalchemi, the Python
package of the NVIDIA ALCHEMI Toolkit. It scopes the request, checks the
installed version, and routes to one note per kind of task. The notes say which
component fits which need, how the components connect, which mistakes are
common, and how to check the result. They link to the docs and examples for
the full details.
Purpose and scope
Use it when the code imports nvalchemi, or when the user asks for a workflow
that the toolkit covers, including batched GPU simulation where nvalchemi
is installed or acceptable: AtomicData and Batch, Zarr storage, model
wrappers, relaxation and MD, reaction paths, enhanced sampling, training,
fine-tuning, distillation, generative sampling, or a custom hook, integrator,
loss, or reporter.
Do not use it when:
- The task is plain ASE, OpenMM, LAMMPS, GROMACS, or another package, and
the user did not ask for
nvalchemi. Solve it with that package and do not importnvalchemi. - The task is a Warp or CUDA kernel inside ALCHEMI Toolkit-Ops
(
nvalchemiops). That is a different package with its own rules. - The question is general PyTorch with no atomistic workflow.
Prerequisites
- Python 3.11 to 3.13 with
nvalchemi-toolkitinstalled (piporuv). - PyTorch with the CUDA build that matches the host, or the CPU build.
- Optional model backends are extras:
mace,aimnet,uma-cu12/uma-cu13,ase,pymatgen,tensorboard. UMA conflicts with MACE, so it lives in its own environment.
Instructions
Work through these steps for every request.
Scope the request first
Before you write or run code, go through this checklist. Ask about unknown scientific choices, hardware, workload, correctness checks, and permissions (items 2, 7, 8, 9, 10). For items 1, 3, 4, 5, 6, state a one-line assumption if needed. Check the installed software before execution.
- Intended result. What number, file, or model does the user want at the end?
- Scientific choices. Model and checkpoint, ensemble (NVE, NVT, NPT), temperature, pressure, timestep, convergence threshold, run length. Do not pick these silently.
- Inputs. Structure files and their format, units, which fields they carry (energies, forces, velocities, cells). Read the files first and ask only for what they do not say.
- Deliverables. Script, data store, checkpoint, plot, or a short report.
- Reuse. Which shipped component already does this (see the reuse rule).
- Software environment. Installed
nvalchemiversion and extras. - Hardware. CPU only, one GPU, or several. Memory limits.
- Workload. Number of systems, atoms, and steps.
- Correctness check. How the result will be checked (see each note).
- Permissions. What you can write, download, or delete.
Limit exploratory runs to at most 3 systems and 100 steps, with a wall-time limit under one minute. Do not start a production-length trajectory or a long training run to "see what happens". Scale up only after the user agrees to the settings.
Check the installed version
The notes describe the API of release 0.3.0. Their links point at the v0.3.0 tag. Check what is installed before you apply any advice:
python - <<'EOF'
import importlib.util as u
for parts in ((), ("data",), ("dynamics",), ("models",), ("gen",),
("dynamics", "mep"), ("enhanced_sampling",),
("training", "distillation")):
m = ".".join(("nvalchemi", *parts))
try:
found = u.find_spec(m) is not None
except ModuleNotFoundError:
found = False
print(m, found)
if u.find_spec("nvalchemi") is not None:
import nvalchemi
print(nvalchemi.__version__, nvalchemi.__file__)
EOF
If the toolkit is not installed, say so. Write the code anyway, but stop before running it. Do not fetch source or install packages to fill the gap.
For a version mismatch or missing module, tell the user what it affects:
- If version 0.2.0 or newer has the core modules nvalchemi.data, nvalchemi.dynamics, and nvalchemi.models, proceed with the 0.3.0 patterns. Flag each 0.3.0-only feature used. Check its API in the installed source before execution. If it is absent, write the code but do not run it.
- If a core module is missing or the version is below the 0.2.0 floor, stop execution and ask before any upgrade. Do not install or upgrade on your own.
The installed wheel ships no docs or examples. Read the installed package source and the linked docs and example pages only. Each note names the source module. Locate its file with Python's inspect.getfile, then read it in site-packages. Links are for reading, never for downloading code to run. If the network is unavailable, use installed source.
Run on the GPU
Pick the device once: use cuda when torch.cuda.is_available(), otherwise
cpu. Put the model, batch or dataset, and optimizer on that same device
Установить nvalchemi-toolkit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл nvalchemi-toolkit?
Build and change NVIDIA ALCHEMI Toolkit (nvalchemi) workflows for atomistic simulation and machine-learned interatomic potentials (MLIPs). Use for batched structure relaxation, molecular dynamics, reaction paths, training or fine-tuning an MLIP, atomistic datasets in Zarr, generative structure workflows, model wrapping, and custom hooks or integrators, with the ALCHEMI Toolkit (nvalchemi), or when the user asks for batched GPU atomistic simulation and nvalchemi is installed or acceptable. Not for other simulation packages the user asked for (ASE-only, OpenMM, LAMMPS, GROMACS) when the request does not involve nvalchemi, ALCHEMI Toolkit-Ops (nvalchemiops) kernel work, or plain PyTorch questions.
Как установить скилл nvalchemi-toolkit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nvalchemi-toolkit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic