ALCHEMI Toolkit is a Python framework that uses GPUs to run atomic simulations and train machine-learned models for chemistry and materials science. Researchers and developers use it for molecular dynamics, geometry relaxation, and model training across one or multiple GPUs. Its catalogue add-ons guide coding agents in using the toolkit’s APIs and repository conventions.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA/nvalchemi-toolkit --skill nvalchemi-model-wrappinggit clone --depth 1 https://github.com/NVIDIA/nvalchemi-toolkitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-model-wrapping)<a href="https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-model-wrapping"><img src="https://agentmods.dev/badge/skills/nvidia/nvalchemi-toolkit/nvalchemi-model-wrapping.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.03219 |
| Opus 5 | $0.00047 | $0.01610 |
| Sonnet 5 | $0.00019 | $0.00644 |
| Haiku 4.5 | $0.00009 | $0.00322 |
Grade A, and why
nvalchemi-model-wrapping scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 361 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nvalchemi Model Wrapping
Overview
To use an arbitrary MLIP (Machine Learning Interatomic Potential) within nvalchemi,
pair it with the BaseModelMixin interface. This standardizes how models receive
AtomicData/Batch inputs and produce ModelOutputs.
from nvalchemi.models.base import BaseModelMixin, ModelConfig, NeighborConfig
from nvalchemi.data import AtomicData, Batch
from nvalchemi._typing import ModelOutputs
Architecture
A wrapper subclasses nn.Module and BaseModelMixin, and holds the
underlying model by composition (self.model = ...). This is the pattern
used by every built-in wrapper (DemoModelWrapper, MACEWrapper,
AIMNet2Wrapper, LennardJonesModelWrapper).
┌──────────────────────┐ ┌──────────────────┐
│ YourModel(nn.Module)│ │ BaseModelMixin │
│ - forward() │ │ - model_config │
│ - your layers │ │ - adapt_input() │
└──────────────────────┘ │ - adapt_output() │
held via └────────┬─────────┘
composition │
┌──────────▼───────────────────────┐
│ YourModelWrapper │
│ (nn.Module, BaseModelMixin) │
│ self.model = YourModel(...) │
│ self.model_config = ModelConfig(…)│
└───────────────────────────────────┘
nn.Module must come first in the bases so PyTorch initializes correctly.
Step-by-step guide
1. Set model_config in __init__ (capabilities & runtime control)
ModelConfig unifies two kinds of fields:
- Capability fields (frozen
frozenset/bool at construction) describe what the checkpoint can do:outputs,autograd_outputs,autograd_inputs,required_inputs,optional_inputs,supports_pbc,needs_pbc,neighbor_config. - Runtime fields (mutable) control what to compute each pass:
active_outputs(defaults tooutputs) andgradient_keys.
BaseModelMixin enforces that every wrapper sets self.model_config in
__init__ (a missing one raises TypeError at construction).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 361 lines · 94 tokens per session scan A 5c8e5a25dffb
nvalchemi-model-wrapping is a skill published in the GitHub repository NVIDIA/nvalchemi-toolkit (159 stars, last pushed 3d ago), licensed Apache-2.0. It adds 94 tokens to every session and 3,219 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
torchdrug
Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.
arboreto
Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…
pyhealth
Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…
deepspot-m
Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…
pick-a-pii-model
Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.
esm
Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…