/atomistic-skills:mat-lattice-thermal-conductivityfrom Atomistic Skills
Calculates lattice thermal conductivity of non-metallic materials using anharmonic lattice dynamics with MLIPs. Requires band gap verification and phonon calculation first.
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 lattice thermal conductivity of materials using anharmonic lattice dynamics with Machine Learning Interatomic Potentials (MLIPs).
[!WARNING] Lattice thermal conductivity only considers phonon-phonon interactions. It can be considered that lattice thermal conductivity accurately models the thermal conductivity of non-metallic materials. For metallic materials, electron-phonon interactions also need to be considered to accurately calculate thermal conductivity, which is beyond the scope of this skill.
MACEWrapper, MatGLWrapper, or FAIRCHEMWrapper).matcalc, phonopy, and phono3py are included in the mlip and fairchem environments.phono3py 3.x renamed ConductivityRTA.kappa_TOT_RTA to .kappa. Apply the following one-line fix in matcalc/src/matcalc/_phonon3.py:
-kappa = np.asarray(phonon3.thermal_conductivity.kappa_TOT_RTA)
+kappa = np.asarray(phonon3.thermal_conductivity.kappa)
Phonon and thermal conductivity 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.
First of all, using the mat-electronic-structure skill to calculate the band gap of the given material or retrieve the band gap from Materials Project. If the band gap does not exist, the material is a metal, and this skill cannot give a meaningful prediction on thermal conductivity. Otherwise, the material is an insulator, and we can proceed to next step.
Before calculating thermal conductivity (which is related to higher order force constants), we need to calculate phonon properties which is related to second order force constants. Use the mat-phonon skill to calculate phonon properties.
Check the phonon_results.json file and phonon band structure to see if the phonon properties are reasonable, especially for imaginary frequencies in phonon band. If there are imaginary frequencies, the structure is not stable. In this case, redo the structure optimization first, and if it does not work, try different models/methods. Only after validating the phonon properties, proceed to calculate thermal conductivity.
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/calculate_thermal_conductivity.py \
--structure Si.cif \
--model_type mace \
--model_name MACE-OMAT-0-small \
--output_dir si_mace_thermal_conductivity
See examples/README.md for detailed usage scenarios.
lattice_thermal_conductivity_results.json: Summary.phonon3.yaml: Third order force constants and supercell data.See examples/ for detailed usage scenarios.
Author: Bohan Li Contact: GitHub @bkhli
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skills133 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.Other plugins' skills for the same job