/atomistic-skills:mat-md-probability-densityfrom Atomistic Skills
Calculates and visualizes spatial probability density of diffusing ions from MD trajectories to identify conduction pathways and preferred occupation sites.
Ships in Atomistic Skills. 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; scripts run unread.
To visualize the spatial probability density of mobile ions (e.g., Li, Na) from an MD simulation trajectory. This helps in understanding conduction pathways and identifying preferred occupation sites within the crystal structure. The output is a volumetric data object in CHGCAR format, which can be easily visualized using VESTA.
MD Simulation: Run an MD simulation at an appropriate temperature to observe sufficient diffusion events.
Note: Short MD trajectories (e.g., ≤10 ps) often have too few discrete ion hops to naturally form continuous probability density tubes. The resulting density will look like isolated blobs exactly at the crystal lattice sites. To visualize continuous macroscopic diffusion pathways for short trajectories, use the
--logcompression flag to mathematically connect the sparse pathways.
trajectory.traj.supercell_min_length is reasonably large (>10 Å) to avoid finite-size artifacts in the density mapping.Calculate Probability Density: Use the provided script to extract the fractional coordinates of the targeted species over time and convert them into a spatial density grid.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/calculate_probability_density.py \
results/md_600K/trajectory.traj \
--species Li \
--interval 0.2 \
--ignore_ps 5.0 \
--output_chgcar results/md_600K/CHGCAR_proba
--species: The specific diffusing ion to visualize.--interval: Grid spacing in Angstroms (0.1 to 0.5 is recommended). Smaller values give smoother isosurfaces but take longer to process and generate larger files. Defaults to 0.2 Å.--ignore_ps: The equilibration time to discard from the beginning of the trajectory..log file is available alongside the .traj file.Visualize in VESTA:
CHGCAR (or CHGCAR_proba) file in VESTA.--log compression on a sparse timeline, the peak values may be spread out. If you don't see any 3D clouds, your Isosurface level is too high. Try lowering it (e.g., to 0.001 or lower) until you see continuous 3D ion diffusion channels connecting the lattice sites. If you used --log, the default Isosurface level will usually connect the pathway out of the box.ASE .traj format.--interval too small ($< 0.1$) on large supercells, as this may result in extremely large 3D grid sizes and out-of-memory errors.Author: Bowen Deng Contact: GitHub @learningmatter-mit
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
133 skills in this plugin
/chem-bond-dissociationCalculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation./chem-conformer-searchGenerate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting./chem-db-mofQuery multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al. via Materials Cloud) and download CIF structures with optional element or identifier filters./chem-db-qmofQuery the Quantum MOF (QMOF) database via Materials Project's MPContribs platform for DFT-computed properties (bandgap) and optimized crystal structures of Metal-Organic Frameworks./chem-db-spectraSearch and download experimental InfraRed (IR), Mass spectra, and UV-Vis spectra data (JCAMP-DX format) for molecules./chem-dft-orca-advanced-calculationWrite and run custom ORCA input files for advanced electronic structure methods or settings not available through the SCINE wrapper, including multi-reference methods, excited states, relativistic effects, advanced SCF, NMR/EPR, and more.npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skillsOther plugins' skills for the same job