/atomistic-skills:mat-dft-mixing-functionalsfrom Atomistic Skills
Applies MP2020 compatibility energy corrections to MLIP-predicted energies for GGA/GGA+U mixed models (e.g., MACE-MP, MACE-OMAT) when constructing convex hulls or phase diagrams. Not for r2SCAN models.
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 apply Materials Project 2020 Compatibility schemes to MLIP-predicted energies. This is required for models trained on GGA/GGA+U mixed data (e.g., MPtrj data) when constructing convex hulls or phase diagrams to ensure compatibility with the Materials Project database.
[!IMPORTANT] Do NOT apply this to r2SCAN models. Only use this for models trained on GGA/GGA+U mixed data.
The Materials Project (MP) database mixes calculations from two levels of theory: GGA (PBE) and GGA+U. Transition metals (e.g., Mn, Fe, Co, Ni) are calculated with a Hubbard U correction only when present in oxides or fluorides; otherwise, they use standard PBE. To construct a unified convex hull, MP applies the MP2020 Compatibility scheme (energy shifts) to align these distinct potential energy surfaces.
MLIPs trained on MP data (e.g., MACE-MP-0) typically learn these mixed energies. To accurately predict stability against the MP hull, one must apply the same MP2020 corrections to the MLIP outputs.
Selective application of U introduces discontinuities in the Potential Energy Surface (PES) that are difficult for MLIPs to model physically.
This correction is REQUIRED for:
omat_pbe head (default)omat_pbe headomat head)This correction is NOT for:
CHGNet-PES-MatPES-r2SCAN-1M-2026.9)[!NOTE] The full list of compatible models can be found in
resources/gga-ggau-mixed-mlips.yaml.
Use the check_compatibility.py script to programmatically determine if a model/head requires correction.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/check_compatibility.py --name "MACE-MH-1" --head "omat_pbe"
# Exit code 0 if required, 1 if not.
Use the apply_correction.py script to calculate the corrected energy for a single structure.
To run on a directory of structure files (batch mode):
# Energy defaults to 0.0 if not specified (useful for just checking corrections)
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/apply_correction.py /path/to/structure_dir/
To run on a specific file with known energy:
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/apply_correction.py structure.cif --energy -123.45
For referencing or phase diagram generation, apply this correction to every entry before computing E_hull.
cpu (requires pymatgen).Author: Bowen Deng Contact: GitHub @learningmatter-mit
examples/fe2o3_mp2020_reproduction/Al2O3_mp-1143.cif (opens in a new tab)examples/fe2o3_mp2020_reproduction/Fe2O3_mp-19770.cif (opens in a new tab)examples/fe2o3_mp2020_reproduction/FeS2_mp-226.cif (opens in a new tab)examples/fe2o3_mp2020_reproduction/README.md (opens in a new tab)examples/fe2o3_mp2020_reproduction/apply_correction_output.txt (opens in a new tab)examples/fe2o3_mp2020_reproduction/check_compatibility_output.txt (opens in a new tab)examples/fe2o3_mp2020_reproduction/mp_reference_entries.json (opens in a new tab)resources/gga-ggau-mixed-mlips.yaml (opens in a new tab)scripts/apply_correction.py (opens in a new tab)scripts/check_compatibility.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
materials-project, gga+u, convex-hull, phase-diagram, mace-mp, energy-correction
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.npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skillsOther plugins' skills for the same job