/lammpsio:lammpsiofrom lammpsio
Reads and writes LAMMPS data and dump files with Python. Also converts between LAMMPS and GSD formats for molecular dynamics workflows.
Ships in lammpsio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Pure Python package for reading and writing LAMMPS data and dump files, with optional HOOMD-blue GSD interconversion. Version 0.9.0. All indexes follow the LAMMPS 1-indexed convention. Per-particle arrays use lazy initialization — accessing a property allocates it; use has_*() methods to check without allocating.
pip install lammpsio
# or: conda install -c conda-forge lammpsio
import lammpsio
# Read a data file
snap = lammpsio.DataFile("atoms.data").read()
# Write a data file
lammpsio.DataFile.create("atoms.data", snapshot)
# Iterate a dump file
for snap in lammpsio.DumpFile("trajectory.lammpstrj"):
print(snap.step, snap.N)
See references/api_reference.md for complete documentation of Box, Snapshot, DataFile, DumpFile, Topology classes, and LabelMap.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub wugroup-xjtlu/cc-skills-zhenghaowu-group --plugin lammpsio