/atomistic-skills:chem-sorption-gcmcfrom Atomistic Skills
Runs BVT/GCMC Monte Carlo simulations to predict gas adsorption isotherms in porous frameworks using MLIPs (MACE, FairChem, MatGL).
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 predict the macroscopic adsorption uptake of a gas (or gas mixture) in a porous material at a specific temperature and pressure. The skill relies on Grand Canonical Monte Carlo (GCMC) simulations where the host-guest and guest-guest interactions are calculated using a Machine Learning Interatomic Potential (MLIP: MACE, FairChem, MatGL).
fairchem for FairChem; mlip for MACE and MatGL).run_gcmc.py.# (or other MLIP-specific env)
${CLAUDE_SKILL_DIR}/../../venv/run fairchem python ${CLAUDE_SKILL_DIR}/scripts/run_gcmc.py \
--cif path/to/relaxed_supercell.cif \
--calculator fairchem \
--model-name uma-s-1p1 \
--task-name omol \
--steps 50000 \
--temperature-K 298 \
--pressure-bar 1.0 \
--adsorbate CO2 \
--output-dir ./results/single_gcmc
run_gcmc_multi.py.${CLAUDE_SKILL_DIR}/../../venv/run fairchem python ${CLAUDE_SKILL_DIR}/scripts/run_gcmc_multi.py \
--cif path/to/relaxed_supercell.cif \
--calculator fairchem \
--model-name uma-s-1p1 \
--task-name omol \
--steps 50000 \
--temperature-K 298 \
--gases CO2 N2 \
--y 0.15 0.85 \
--p-total-bar 1.0 \
--output-dir ./results/multi_gcmc
--cif: Path to the relaxed host framework.--calculator: The backend MLIP (fairchem, mace, matgl).--model-name: Name or path to the MLIP weights (e.g., uma-s-1p1.pt, MACE-MH-1).--task-name: Optional, required by some models (omol for UMA and MACE-MH).--steps: Number of Monte Carlo steps (minimum 50,000 recommended for equilibration).--temperature-K: Sim temperature.--pressure-bar (Single): Gas pressure in bar.--p-total-bar (Multi): Total mixture pressure in bar.--gases / --y (Multi): Species list and corresponding mole fractions in the vapor phase.Example 1: Generating an Isotherm Point (CO2, 0.1 bar, 298K) with UMA:
${CLAUDE_SKILL_DIR}/../../venv/run fairchem python ${CLAUDE_SKILL_DIR}/scripts/run_gcmc.py \
--cif ./data/MOF-5_supercell.cif \
--calculator fairchem \
--model-name uma-s-1p1 \
--task-name omol \
--steps 50000 \
--temperature-K 298 \
--pressure-bar 0.1 \
--adsorbate CO2 \
--output-dir ./out/0.1_bar
--device cuda).nmols.png and energy.png inside the output-dir to visually confirm that the number of molecules and energy have plateaued (equilibrated). If the trend is still rising/falling at the end of the simulation, you must re-run with more --steps (or restart the trajectory).--restart-traj ./out/mc.traj to continue a previous run.Author: Artur Lyssenko Contact: GitHub @arturlyssenko12
examples/README.md (opens in a new tab)examples/multi_gas/input_configs.yaml (opens in a new tab)examples/single_gas/input_configs.yaml (opens in a new tab)examples/test_gcmc.sh (opens in a new tab)scripts/ase_mc/AtomisticSkills.code-workspace (opens in a new tab)scripts/ase_mc/__init__.py (opens in a new tab)scripts/ase_mc/ensembles.py (opens in a new tab)scripts/ase_mc/logger.py (opens in a new tab)scripts/ase_mc/mc.py (opens in a new tab)scripts/ase_mc/moves.py (opens in a new tab)scripts/ase_mc/moveset.py (opens in a new tab)scripts/ase_mc/utility.py (opens in a new tab)scripts/gcmc_common.py (opens in a new tab)scripts/run_gcmc.py (opens in a new tab)scripts/run_gcmc_multi.py (opens in a new tab)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