/atomistic-skills:mat-phononfrom Atomistic Skills
Calculates phonon dispersions, density of states, and thermal properties using MLIPs (MACE, MatGL, FAIR-CHEM). Supports DFT reference retrieval from Materials Project for validation.
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.
This skill provides tools for calculating vibrational properties of materials using Machine Learning Interatomic Potentials (MLIPs).
MACEWrapper, MatGLWrapper, or FAIRCHEMWrapper).matcalc, phonopy, and phono3py are included in the mlip and fairchem environments.Phonon calculations are highly sensitive to the quality of the potential energy surface (PES).
[!IMPORTANT]
- Use OMAT or MatPES trained models: These models (e.g.,
MACE-OMAT-0-small,TensorNet-MatPES-r2SCAN) are specifically optimized for forces and vibrational stability.- Avoid MPtrj-trained models: Models trained primarily on the
MPtrjdataset (e.g.,MACE-MP-small,MACE-MP-medium) suffer from the "softening" problem, where the calculated phonon frequencies are significantly lower than DFT values.
Refer to the foundation-potentials skill for more details.
To calculate phonon properties using machine learning potentials, use the calculate_phonon.py script.
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_phonon.py \
--structure path/to/relaxed_structure.cif \
--model_type mace \
--model_name MACE-MP-small \
--supercell_matrix '[[2,0,0],[0,2,0],[0,0,2]]' \
--output_dir research/my_folder/phonon
For validation and benchmarking, retrieve pre-computed DFT phonon data:
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/get_mp_phonon.py \
--material_id mp-149 \
--phonon_method dfpt \
--output si_phonon_mp.json \
--plot
Available phonon methods: dfpt, phonopy, pheasy
When to use MP retrieval vs. MLIP calculations:
# 1. Calculate with MLIP
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_phonon.py \
--structure Si.cif \
--model_type mace \
--model_name MACE-OMAT-0-small \
--output_dir si_mace_phonon
# 2. Get DFT reference from MP
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/get_mp_phonon.py \
--material_id mp-149 \
--phonon_method dfpt \
--output si_mp_phonon.json \
--plot
# 3. Compare phonon frequencies (manual inspection of plots)
# - Check if MLIP frequencies match DFT
# - Look for imaginary modes (structural instability)
# - Validate thermal properties
phonon_results.json: Summary.phonon.yaml: Phonon data.band_structure.yaml: Band structure.total_dos.dat: Density of states.examples/ for detailed usage scenarios.Author: Bowen Deng Contact: GitHub @learningmatter-mit
examples/Li_BCC_TensorNet/README.md (opens in a new tab)examples/Li_BCC_TensorNet/band_structure.yaml (opens in a new tab)examples/Li_BCC_TensorNet/phonon.yaml (opens in a new tab)examples/Li_BCC_TensorNet/phonon_results.json (opens in a new tab)examples/Li_BCC_TensorNet/total_dos.dat (opens in a new tab)scripts/calculate_phonon.py (opens in a new tab)scripts/get_mp_phonon.py (opens in a new tab)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