/atomistic-skills:mat-solid-free-energyfrom Atomistic Skills
Calculates absolute solid Helmholtz free energy via Frenkel-Ladd thermodynamic integration using MLIP wrappers on pre-equilibrated periodic structures. Optionally computes Gibbs free energy.
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 calculates the absolute free energy of a crystalline solid using Frenkel-Ladd switching, which is a specific form of Thermodynamic Integration (TI).
Thermodynamic integration computes the free energy difference between two states by integrating the derivative of the Hamiltonian along a continuous coupling path. In this skill, the path interpolates between a physical MLIP Hamiltonian (the target state) and a harmonic Einstein-crystal reference (where the exact absolute free energy is analytically known).
Compute the Helmholtz free energy $F$ of a pre-equilibrated periodic solid at a target temperature, and optionally the Gibbs free energy $G = F + PV$ if pressure is supplied.
src.utils.mlips.loader.load_wrapper(...).mlip and fairchem environments.[!IMPORTANT] This skill only performs the Frenkel-Ladd free-energy workflow. It does not relax the structure, build a supercell, equilibrate the volume, perform alchemical switching, or apply center-of-mass corrections.
Frenkel-Ladd switching is an MD-based free-energy method, so both energy and force stability matter.
[!IMPORTANT]
- Prefer materials models intended for PES or MD use, such as
MACE-OMAT-0-small,MACE-MH-1,CHGNet-MatPES-*, orTensorNet-MatPES-*.- Use smaller or faster models for long switching trajectories when practical.
- Avoid changing model family between preparation and Frenkel-Ladd unless you intentionally want a different free-energy reference.
Refer to the foundation-potentials skill for model selection guidance.
This skill assumes the input structure is already appropriate for the target thermodynamic state point. For production workflows, the most useful upstream skills are:
Run the standalone Frenkel-Ladd script:
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/run_frenkel_ladd.py \
--structure path/to/pre_equilibrated_structure.cif \
--name my_solid \
--calculator mace \
--model-name MACE-OMAT-0-small \
--temperature 300 \
--pressure-gpa 0.0 \
--output-dir research/my_folder/frenkel_ladd
--structure: Pre-equilibrated periodic solid at the target state point.--calculator: MLIP backend: mace, fairchem, or matgl.--model-name: Model name or checkpoint path.--task-name: Optional task head for multitask models.--temperature: Temperature in K.--pressure-gpa: Optional pressure in GPa. If provided, the script also reports Gibbs free energy.--msd-equilibration-steps: NVT equilibration before MSD collection.--msd-production-steps: NVT production used to estimate per-atom spring constants.--equilibration-steps: Harmonic-reference equilibration between forward and backward switching.--switching-steps: Number of MD steps in each switching direction.--switching-type: linear or polynomial. Default is the smoother polynomial schedule.--record-interval: Record every N MD steps.The script defaults are:
timestep_fs = 1.0thermostat_damping_fs = 100.0msd_equilibration_steps = 1000msd_production_steps = 10000equilibration_steps = 5000switching_steps = 25000switching_type = polynomialrecord_interval = 1symmetrize_spring_constants = Truefrenkel_ladd_results.json: Summary including Helmholtz free energy, optional Gibbs free energy, dissipated energy, calculator metadata, and settings.frenkel_ladd_traces.npz: Raw recorded arrays:
lambda_stepsforward_energy_contributionsbackward_energy_contributionsspring_constantsmean_squared_displacementinput_structure.cif: Copy of the starting structure.final_structure.cif: Final structure after backward switching.See examples/Si_MACE/ for a minimal silicon example using MACE with reduced step counts for demonstration.
${CLAUDE_SKILL_DIR}/../../venv/run mlip python ${CLAUDE_SKILL_DIR}/scripts/run_frenkel_ladd.py \
--structure ${CLAUDE_SKILL_DIR}/examples/Si_MACE/Si.cif \
--name Si_demo \
--calculator mace \
--model-name MACE-OMAT-0-small \
--temperature 300 \
--msd-equilibration-steps 50 \
--msd-production-steps 200 \
--equilibration-steps 100 \
--switching-steps 500 \
--record-interval 5 \
--output-dir research/frenkel_ladd/Si_demo
[!NOTE] The example is a smoke-test style demonstration. For production free-energy work, start from a genuinely pre-equilibrated structure and use the heavier default settings or stricter settings appropriate for your system.
mlip for MACE and MatGL/CHGNet modelsfairchem for FairChem/UMA modelsabs(dissipated_energy) / num_atoms. Values much larger than about 0.05 eV/atom suggest poor switching reversibility and should be treated with caution.Author: Juno Nam Contact: GitHub @recisic
What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job