mat-lammps-md

mat-lammps-md is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 43 tokens per session (1,198 once invoked), scanned A, original, MIT.

Build and run LAMMPS molecular dynamics with isolated MLIP-specific binaries (MACE, MatGL/CHGNet, FairChem) to avoid Python and Torch stack conflicts.

Skill for Claude CodeCodex

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/learningmatter-mit/atomisticskills/mat-lammps-md
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill mat-lammps-md
Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills

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 mat-lammps-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-lammps-md.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-lammps-md)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/mat-lammps-md"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/mat-lammps-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00043 $0.01198
Opus 5 $0.00022 $0.00599
Sonnet 5 $0.00009 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured today against content hash 2a626b97e761, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mat-lammps-md 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 today.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/fairchem/run_fairchem_co_cu111_adsorption.sh, examples/mace/generate_na2si3o7_structure.py, examples/mace/run_mace_na2si3o7_quench.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/mat-lammps-md/SKILL.md · 105 lines

How it starts

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

LAMMPS Molecular Dynamics with MLIPs

Goal

Run GPU-accelerated LAMMPS molecular dynamics with MLIP backends using three isolated binaries (MACE, MatGL/CHGNet, FairChem) so Python embedding through ML-IAP/mliappy remains stable and reproducible.

Instructions

  1. Select the MLIP backend and model family first using the foundation-potential guide:

  2. Check system prerequisites.

# Env: base-agent
nvidia-smi
nvcc --version
g++ --version
cmake --version
mpicxx --version
  1. Identify GPU compute capability and set Kokkos arch flag.
# Env: base-agent
nvidia-smi --query-gpu=name,compute_cap --format=csv,noheader
  • Example mapping:
    • 8.0 -> Kokkos_ARCH_AMPERE80
    • 8.6 -> Kokkos_ARCH_AMPERE86
    • 8.9 -> Kokkos_ARCH_ADA89
    • 9.0 -> Kokkos_ARCH_HOPPER90
  1. Build the environment-matched LAMMPS binary (choose one of the three paths below).

    Path A: MACE

# Env: base-agent
bash conda-envs/mace-agent/install.sh
KOKKOS_ARCH_FLAG=Kokkos_ARCH_AMPERE86 \
LAMMPS_REF="stable_2Aug2023_update2" \
bash conda-envs/mace-agent/install_lammps.sh
  • Binary: ./lammps/mace-agent/lmp
  • Runtime env: mace-agent

Path B: MatGL/CHGNet

# Env: base-agent
bash conda-envs/matgl-agent/install.sh
KOKKOS_ARCH_FLAG=Kokkos_ARCH_AMPERE86 \
LAMMPS_REF="stable_2Aug2023_update2" \
bash conda-envs/matgl-agent/install_lammps.sh
  • Binary: ./lammps/matgl-agent/lmp
  • Runtime env: matgl-agent

Path C: FairChem

# Env: base-agent
bash conda-envs/fairchem-agent/install.sh
KOKKOS_ARCH_FLAG=Kokkos_ARCH_AMPERE86 \
LAMMPS_REF="stable_2Aug2023_update2" \
bash conda-envs/fairchem-agent/install_lammps.sh
  • Binary: ./lammps/fairchem-agent/lmp
  • Runtime env: fairchem-agent
  1. Run the selected binary with its matching conda environment.
# Env: mace-agent (example; switch env/binary pair as needed)
conda activate mace-agent
./lammps/mace-agent/lmp -h

Read the full file on GitHub · 105 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. today First seen · 105 lines · 43 tokens per session scan A 2a626b97e761

Subscribe to this mod's changes

mat-lammps-md is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (158 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 1,198 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

Abhinavbwj/Claude-skills-for-Computational-Designers · 30 tokens

cd-calculator

Python calculators for geometry analysis, structural checking, solar calculations, panel optimization, mesh analysis, material estimation, and fabrication cost estimation for AEC computational design.

marcinfinitesimal533/Claude-skills-for-Computational-Designers · 30 tokens

prepared-environment-designer

Redesign a classroom as a prepared environment optimised for independent learning, calm transitions, and material access. Use when classroom layout hinders independence or self-directed work.

GarethManning/education-agent-skills · 39 tokens

gamedev-shaders

Use when authoring or debugging a shader, material, VFX, or full-screen post-process in a game engine — Godot 4.x .gdshader, Unity 6 URP/HDRP, Unreal 5.x Materials, effect recipes, shader performance. NOT gameplay or engine-API code (that is godot/unity/unreal), NOT physics (gamedev-physics), NOT build variant…

ericrisco/rsc-harness · 102 tokens

technical-artist

!cat skills/shared/protocols/3d-spatial-foundations.md 2>/dev/null || echo "=== 3D Foundations not loaded ===".

buiphucminhtam/forgewright · 54 tokens

unity-shader-artist

!cat skills/shared/game-visual-foundations.md 2>/dev/null || echo "=== Visual Foundations not loaded ===" !cat skills/shared/protocols/ux-protocol.md 2>/dev/null || true !cat skills/shared/protocols/game-test-protocol.md 2>/dev/null || true !cat skills/shared/protocols/quality-gate.md 2>/dev/null || true !cat…

buiphucminhtam/forgewright · 52 tokens