nvalchemi-data-storage

nvalchemi-data-storage is a skill for Claude Code, Codex from NVIDIA/nvalchemi-toolkit. It costs 90 tokens per session (2,614 once invoked), scanned A, original, Apache-2.0.

A storage pipeline for saving and loading atomic data—such as the positions and types of atoms in a simulation—using Zarr files. It also prepares that data for model training.

In plain words
What is it for?
Saving simulation outputs or trajectories, converting ASE or extxyz structures into Zarr stores, and assembling training datasets with batch loading.
Why use it?
It gives simulation results a structured format that can be written to disk, combined, and read back in batches instead of handled as separate files and objects.

Skill for Claude CodeCodex

About the project

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.

NVIDIA/nvalchemi-toolkit · 159 stars · on GitHub · nvidia.github.io

Install

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.

agentmods
npx agentmods add skills/nvidia/nvalchemi-toolkit/nvalchemi-data-storage
Any agent
npx skills add NVIDIA/nvalchemi-toolkit --skill nvalchemi-data-storage
Clone the repo
git clone --depth 1 https://github.com/NVIDIA/nvalchemi-toolkit

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nvalchemi-data-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/nvidia/nvalchemi-toolkit/nvalchemi-data-storage.svg)](https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-data-storage)
Your own site
<a href="https://agentmods.dev/skills/nvidia/nvalchemi-toolkit/nvalchemi-data-storage"><img src="https://agentmods.dev/badge/skills/nvidia/nvalchemi-toolkit/nvalchemi-data-storage.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,614 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.02614
Opus 5 $0.00045 $0.01307
Sonnet 5 $0.00018 $0.00523
Haiku 4.5 $0.00009 $0.00261

Measured 6d ago against content hash 497fa31b64bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

nvalchemi-data-storage 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 6d 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.

.claude/skills/nvalchemi-data-storage/SKILL.md · 382 lines

How it starts

The opening of the file, as written. The whole thing — 382 lines — stays where its author put it; the contents beside it link to each section on GitHub.

nvalchemi Data Storage

Overview

nvalchemi provides a composable pipeline for persisting and loading atomic data:

Writer                          Reader
(AtomicData/Batch -> Zarr)      (Zarr -> dict[str, Tensor])
                                    |
                                Dataset
                                (dict -> AtomicData, load_batches, prefetch)
                                    |
                    optional MultiDataset composition
                                    |
                                DataLoader
                                (Batch iteration)
from nvalchemi.data.datapipes import (
    AtomicDataZarrWriter,
    AtomicDataZarrReader,
    Dataset,
    MultiDataset,
    DataLoader,
    MultiDatasetBatchSampler,
)

Writing Data

AtomicDataZarrWriter serializes AtomicData, list[AtomicData], or Batch into a Zarr store.

from nvalchemi.data import AtomicData, Batch
from nvalchemi.data.datapipes import AtomicDataZarrWriter
import torch

writer = AtomicDataZarrWriter("dataset.zarr")

# Write a single system
data = AtomicData(
    positions=torch.randn(10, 3),
    atomic_numbers=torch.ones(10, dtype=torch.long),
    energy=torch.tensor([[0.5]]),
)
writer.write(data)

# Write a list of systems
writer.write([data1, data2, data3])

# Write a Batch
batch = Batch.from_data_list([data1, data2])
writer.write(batch)

write() creates the store and refuses to run twice: a second call raises FileExistsError: Zarr store already exists at <path>. To add samples to an existing store use append(); to rebuild from scratch, write to a fresh path. Keep scripts re-runnable by doing one or the other explicitly.

Appending to an existing store

writer = AtomicDataZarrWriter("dataset.zarr")
writer.append(new_data)          # single AtomicData
writer.append([data1, data2])    # list
writer.append(batch)             # Batch

Adding custom arrays

writer.add_custom("my_feature", torch.randn(total_atoms, 32), level="atom")

Read the full file on GitHub · 382 lines

Changes

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.

  1. 6d ago First seen · 382 lines · 90 tokens per session scan A 497fa31b64bd

Subscribe to this mod's changes

nvalchemi-data-storage is a skill published in the GitHub repository NVIDIA/nvalchemi-toolkit (159 stars, last pushed 2d ago), licensed Apache-2.0. It adds 90 tokens to every session and 2,614 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.

Related

Other skills, from other repositories

lamindb

Use when working with LaminDB, the open-source lineage-native lakehouse for biological datasets and models. Covers setup, artifact registration, query/search, lineage tracking, validation, ontology-backed annotation with Bionty, collections, branches, storage, and workflow integrations.

K-Dense-AI/scientific-agent-skills · 56 tokens

tiledbvcf

Efficient storage and retrieval of genomic variant data using TileDB. Scalable VCF/BCF ingestion, incremental sample addition, compressed storage, parallel queries, and export capabilities for population genomics.

K-Dense-AI/scientific-agent-skills · 46 tokens

defining-cohort-phenotypes

Authors computable phenotype and cohort definitions in the OHDSI ATLAS / CIRCE style over the OMOP CDM, combining standard concept sets with NLP-derived features that OpenMed extracts. Use when the user wants to define a patient cohort, write a computable phenotype, reuse PheKB or OHDSI Phenotype Library logic, build…

maziyarpanahi/openmed · 191 tokens

benchling-integration

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

synthetic-sciences/openscience · 44 tokens

chembl-database

Query the ChEMBL database for bioactive molecules, drug targets, bioactivity data, approved drugs, and chemical structures. Use when the user asks about compounds, targets, IC50/Ki values, drug mechanisms, or structure searches.

google-deepmind/science-skills · 53 tokens

sun-simiao-perspective

唐代「药王」孙思邈的临床思维框架与表达方式。基于 3,200 行一手与权威二手研究提炼, 覆盖 6 个维度、5 朝代评价(唐/宋/金元/明清/现代)、30+ 一手文献、100+ 条原文引用、 10 个经典医案、5 个关键决策。包含 9 个核心心智模型、12 条决策启发式和完整的医古文表达 DNA。 用途:作为中医临床思维顾问,用孙思邈的视角分析辨证思路、审视临床决策、 提供食疗与养生建议、讨论医德与患者沟通。 触发词: 视角类——「用孙思邈的视角」「药王会怎么看」「孙真人怎么看」「切换到药王」 经典类——「千金要方」「千金翼方」「大医精诚」「大医习业」「新修本草」…

digoal/blog · 950 tokens