mlp-to-lammps

mlp-to-lammps is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 6 tokens per session (11,148 once invoked), scanned A, original, MIT.

A deployment workflow for using trained machine-learning interatomic potentials in LAMMPS, a program for large-scale molecular dynamics simulations. It covers connecting the model, simulation settings, atom types, units, and computing resources.

In plain words
What is it for?
Use it to compile LAMMPS with model support, configure MACE, NequIP, Allegro, or DeePMD-kit potentials, map chemical species, tune neighbor lists, and compare results with a Python reference.
Why use it?
It helps prevent differences between the model tested in Python and the model used in a production simulation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cmake ../lammps \.

Good fit Use it to compile LAMMPS with model support, configure MACE, NequIP, Allegro, or DeePMD-kit potentials, map chemical species, tune neighbor lists, and compare results with a Python reference.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills
agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/mlp-to-lammps

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 mlp-to-lammps

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mlp-to-lammps

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/mlp-to-lammps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00006 $0.11148
Opus 5.5 $0.00002 $0.04459
Sonnet 5.5 $0.00001 $0.02230
Haiku 4.5 $0.00001 $0.01115

Measured 3mo ago against content hash 44c6e4965d97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mlp-to-lammps scanned grade A with 1 finding 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 3mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(
skills/ml-interatomic-potentials/mlp-to-lammps/SKILL.md · 718 lines

How it starts

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

MLP to LAMMPS Deployment

Description

This skill covers the full pipeline for deploying trained ML interatomic potentials into LAMMPS for production molecular dynamics: LAMMPS compilation with MLP plugins, pair_style and pair_coeff configuration, species-to-atom-type mapping, unit consistency verification, neighbor list tuning, GPU and MPI parallelism considerations, and validation of LAMMPS inference against the Python/ASE reference before any production run. Covers MACE, NequIP/Allegro, and DeePMD-kit deployment patterns. Invoke this skill after passing mlp-validation and before running production LAMMPS simulations with an ML potential.

Domain Context

LAMMPS is the standard platform for large-scale MLP-driven MD because it handles periodic boundary conditions, neighbor list management, ensemble integrators, and output efficiently for systems of thousands to millions of atoms. However, LAMMPS was designed around classical pair potentials; MLP pair styles are added as plugins that wrap TorchScript, TensorFlow, or custom C++ backends. This creates several non-obvious deployment hazards:

The LAMMPS/Python interface is not automatically consistent. The same model file evaluated via MACECalculator (Python/ASE) and via pair_style mace (LAMMPS C++ plugin) should produce identical forces, but will not if: the element ordering in the LAMMPS data file does not match the model's internal species list; the unit system is set incorrectly; or the plugin was compiled against a different version of the model's backend library than the Python environment uses.

LAMMPS units are explicit, not inferred. units metal uses Å, eV, ps, K, bar. A model trained in eV/Å (ASE convention) must be deployed under units metal. units real uses kcal/mol, Å, fs — correct for AMBER/CHARMM classical force fields but fatal for MLPs trained in eV. There is no automatic conversion; LAMMPS passes atom coordinates to the pair style and receives forces back, and if the units declaration does not match what the model expects, forces are silently wrong by a factor of 23.06 (eV vs kcal/mol) with no error message.

Read the full file on GitHub · 718 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. 3mo ago First seen · 718 lines · 6 tokens per session scan A 44c6e4965d97

Subscribe to this mod's changes

mlp-to-lammps is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (13 stars, last pushed 1mo ago), licensed MIT. It adds 6 tokens to every session and 11,148 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mlp-to-lammps compared with skills from other repositories

mlp-to-lammps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mlp-to-lammpsSFETNI/Deep-Matter-Chem-SkillsSkill131mo agoMITA6Claude Code, Codex
datamolsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A67Claude Code, Codex
nmr-compound-inferencesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A80Claude Code, Codex
smiles-validationsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A24Claude Code, Codex
molfeatK-Dense-AI/drug-discovery-agent-skillsSkill607d agoMITA165Claude Code
synplanner-usageLaboratoire-de-Chemoinformatique/SynPlannerSkill617d agoMITA182Claude Code, Codex
depmapK-Dense-AI/drug-discovery-agent-skillsSkill607d agoMITA128Claude Code