skills/pymatgen-electronic-structure/SKILL.md
Use for electronic structure analysis with pymatgen.electronic_structure: DOS, band structures, COHP/COOP, and plotting utilities.
npx skillsauth add Hongyu-yu/matsci-ai-skills pymatgen-electronic-structureInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pymatgen electronic structure utilities handle band structures, DOS, and COHP/COOP data, plus plotting helpers for common DFT outputs.
Ensure pymatgen is installed in your Python environment:
pip install pymatgen
# or
conda install -c conda-forge pymatgen
Example usage pattern:
from pymatgen.electronic_structure.dos import Dos
from pymatgen.electronic_structure.bandstructure import BandStructure
# your code here
vasprun.xml/BSVasprun or other output objectsExecutable examples in the scripts/ directory:
2013-01-01-Plotting_the_electronic_structure_of_Fe.py - Electronic structure plotting for Fe.2017-09-03-Analyze_and_plot_band_structures.py - Band structure analysis and plotting.2018-03-14-Plotting_COHP_from_LOBSTER.py - COHP plotting from LOBSTER outputs.2020-07-15-How_to_plot_a_Fermi_surface_with_Boltztrap_-_notest.py - Fermi surface plotting with BoltzTraP (example).Detailed reference material (load as needed):
references/electronic-structure.md - Key classes and examplesreferences/docs/ - Local API docs for pymatgen.electronic_structuretools
Spreadsheet toolkit (.xlsx/.csv). Create/edit with formulas/formatting, analyze data, visualization, recalculate formulas, for spreadsheet processing and analysis.
tools
Expert assistant for VASP (Vienna Ab initio Simulation Package) calculations - input file generation, parameter selection, workflow setup, and best practices for accurate DFT calculations
data-ai
This skill should be used when working with pre-trained transformer models for natural language processing, computer vision, audio, or multimodal tasks. Use for text generation, classification, question answering, translation, summarization, image classification, object detection, speech recognition, and fine-tuning models on custom datasets.
tools
Graph Neural Networks (PyG). Node/graph classification, link prediction, GCN, GAT, GraphSAGE, heterogeneous graphs, molecular property prediction, for geometric deep learning.