/atomistic-skills:mat-dft-lobsterfrom Atomistic Skills
Constructs VASP-to-LOBSTER computational workflows for chemical bonding analysis (COHP, atomic charges, DOS) using atomate2.
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.
[!NOTE] Steps written
server.toolare MCP tool calls:atomate2.run_atomate2_vasp_calculationis therun_atomate2_vasp_calculationtool of theatomate2server (mcp__atomate2__run_atomate2_vasp_calculation, ormcp__plugin_atomistic-skills_atomate2__run_atomate2_vasp_calculationwhen installed as a plugin). Without a connected server, run the same tools from the shell. Tools named in one command share a process, so a model loaded byload_modelstays loaded:${CLAUDE_SKILL_DIR}/../../venv/run cpu python -m src.mcp_server.cli atomate2 run_atomate2_vasp_calculation key=value
To calculate advanced chemical bonding properties—like Crystal Orbital Hamilton Populations (COHP), atomic charges, projected DOS, and bonding integrands (ICOHP)—by projecting converged plane-wave Density Functional Theory (DFT) wavefunctions onto a localized, atomic-like basis set using the LOBSTER code.
Standard plane-wave DFT (e.g., VASP) distributes electron density uniformly across reciprocal space, which is computationally robust but lacks explicit chemical intuition regarding localized bonds. LOBSTER (Local Orbital Basis Suite Towards Electronic-Structure Reconstruction) takes the massive WAVECAR from VASP and projects it back to an atomic orbital basis to recover classical chemical bonding insights.
Because WAVECAR files are extremely large (often tens or hundreds of gigabytes), LOBSTER analysis must be performed on the same remote node directly after the VASP static loop. The atomate2 VaspLobsterMaker automates this sequentially (Relax -> Static -> Lobster) and ensures the massive WAVECAR is deleted once the projection completes.
LOBSTER is free to download for non-commercial use from http://www.cohp.de/.
To use this skill, deploy the compiled lobster binary to your remote HPC worker or local testing environment and ensure its path is exported in your environment PATH. All required Python packages (lobsterpy, ijson) are already provided by the cpu environment.
To submit a LOBSTER workflow, utilize the built-in MCP tool. This natively maps the VaspLobsterMaker directed acyclic graph (DAG) to your HPC resources:
Tool: atomate2.run_atomate2_vasp_calculation
Arguments:
structures_path: Path to your POSCAR or CIF.calculation_type: "lobster"execution_mode: "remote" (to execute on the HPC worker)CRITICAL: Do not run this locally unless you are purely generating testing DAGs (check_only=True). The generated flow contains heavy VASP iterations and high-memory LOBSTER matrix projections.
Once completed, the termination node returns a LobsterTaskDocument. The most critical file generated is COHPCAR.lobster, which contains the Crystal Orbital Hamilton Populations (COHP).
To analyze COHP outputs, the standard package is LobsterPy. It offers both CLI and Python API tools:
Via CLI:
${CLAUDE_SKILL_DIR}/../../venv/run cpu lobsterpy automatic-plot
Via Python API:
Use the provided analyze_lobster.py script as a baseline to parse and visualize the COHPCAR out of the compute node limits.
You can test the DAG generation by running the MCP tool with check_only=True on a structure, or if testing scripts manually:
cd ${CLAUDE_SKILL_DIR}/examples/GaAs
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ../../scripts/generate_inputs.py --output gaas_flow.json
To plot a sample COHPCAR:
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/analyze_lobster.py --cohpcar COHPCAR.lobster --poscar POSCAR --save cohp_plot.png
cpu environment.WAVECAR sizes exceed optimal transfer limits. Ensure both vasp_std and lobster binaries are available to the workers.VaspLobsterMaker optimally restricts VASP settings (e.g., setting ISYM=-1, generating all $k$-points explicitly) to comply with LOBSTER's mathematical constraints. Do not manually override these strict geometry settings unless required by standard pseudopotential edge cases.Author: Bowen Deng Contact: GitHub
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dft, vasp, lobster, cohp, electronic-structure, materials-science
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