Skip to content
Back to skills

Models Atomistic

ASecurity

"Build, inspect, customize, and troubleshoot SchNetPack atomistic

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
devopspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill models-atomistic --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Models Atomistic?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Models Atomistic
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-models-atomistic/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-models-atomistic)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: models-atomistic
description: "Build, inspect, customize, and troubleshoot SchNetPack atomistic
  neural network components in Python and Hydra configs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# SchNetPack Models and Atomistic Components

Use this sub-skill when the task is about composing SchNetPack atomistic model objects, output modules, representation networks, response properties, radial/cutoff layers, postprocessors, or model/task key alignment.

## Read First

- `references/api-reference.md` for constructor signatures, object contracts, and Python assembly patterns.
- `references/model-components.md` for choosing representations, input modules, output modules, response layers, and Hydra snippets.
- `references/property-keys-and-units.md` for tensor keys, target names, units, dtype, offsets, and postprocessor behavior.
- `references/troubleshooting.md` for common atomistic model failures and fixes.

## Core Mental Model

SchNetPack atomistic models pass a mutable dictionary of tensors through `input_modules`, one `representation`, `output_modules`, and optional `postprocessors`. `NeuralNetworkPotential` collects `required_derivatives` and `model_outputs` from child modules, initializes requested gradients on input tensors, runs modules sequentially, applies postprocessors only when enabled, and returns only the collected output keys.

## Route Boundaries

- Use this sub-skill for `NeuralNetworkPotential`, `AtomisticTask`, `ModelOutput`, `SchNet`, `PaiNN`, `SO3net`, `FieldSchNet`, `GaussianRBF`, `BesselRBF`, `CosineCutoff`, `Atomwise`, `Forces`, `Response`, `DipoleMoment`, `Polarizability`, Coulomb/ZBL priors, `StaticExternalFields`, `PairwiseDistances`, key mapping, and postprocessing.
- Route dataset creation, `ASEAtomsData`, `AtomsDataModule`, splitting, and dataset unit declarations to `../data-pipelines/SKILL.md`.
- Route CLI/Hydra run assembly, experiment directory layout, trainers, loggers, checkpoint callbacks, and `spktrain` overrides to `../training-configs/SKILL.md`.
- Route ASE calculators, `AtomsConverter`, `SpkCalculator`, MD, deployment, and LAMMPS integration to `../interfaces-md/SKILL.md`.

## Safe Working Pattern

1. Pick one property-key vocabulary and reuse it in model outputs, task targets, losses, metrics, data properties, and postprocessors.
2. Ensure neighbor-list transforms are present before `PairwiseDistances`; representation modules require `_Rij`, `_idx_i`, and `_idx_j`.
3. Add derivative modules such as `Forces` or `Response` as output modules, not task outputs alone.
4. Match every predicted output in `model.output_modules` with a `task.outputs` `ModelOutput` when it participates in supervised training.
5. Keep postprocessors for inference-scale outputs; `AtomisticTask.predict_without_postprocessing()` disables them while computing losses.

## Avoid

- Do not run long training, downloads, GPU molecular dynamics, or native repository tests from this sub-skill.
- Do not reference local checkout paths or machine-specific environment details in generated configs.
- Do not put data-loading, CLI workflow, or calculator deployment details here beyond routing links.

Files in this skill

  • SKILL.md3.1 KB
  • references/api-reference.md9.9 KB
  • references/model-components.md9.1 KB
  • references/property-keys-and-units.md7.5 KB
  • references/troubleshooting.md6.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.