mat-dft-mixing-functionals

Official

Fix MLIP energies for MP2020 phase hulls

Authorlearningmatter-mit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

MLIP-predicted energies can be incompatible with Materials Project (MP) convex-hull and phase-diagram calculations when the underlying training data mixes GGA (PBE) and GGA+U for different chemistries, causing incorrect stability rankings.

Core Features & Use Cases

  • Applies MP2020 Compatibility energy shifts: Adjusts MLIP energies using pymatgen’s MaterialsProject2020Compatibility to match MP’s mixed-theory conventions.
  • Selective U-correction handling: Detects when a given structure composition requires Hubbard U treatment (GGA vs GGA+U) and applies the corresponding adjustment logic.
  • Model/head-aware workflows: Works alongside a compatibility check script driven by gga-ggau-mixed-mlips.yaml so you only correct models/heads that need it (and avoid r2SCAN explicitly).

Quick Start

Run the skill’s batch correction on your structures by executing the apply_correction script on your structure directory with the uncorrected total energy inputs.

Dependency Matrix

Required Modules

pymatgenpyyaml

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: mat-dft-mixing-functionals
Download link: https://github.com/learningmatter-mit/AtomisticSkills/archive/main.zip#mat-dft-mixing-functionals

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.