skills/pymatgen-ext/SKILL.md
Use for external data access via pymatgen.ext: Materials Project (MPRester), OPTIMADE endpoints, and COD lookups.
npx skillsauth add Hongyu-yu/matsci-ai-skills pymatgen-extInstall 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 external data helpers provide access to Materials Project, OPTIMADE endpoints, and COD structures.
Ensure pymatgen is installed in your Python environment:
pip install pymatgen mp-api
# or
conda install -c conda-forge pymatgen mp-api
Example usage pattern:
from mp_api.client import MPRester
# your code here
Structure and export as needed.Executable examples in the scripts/ directory:
2013-01-01-Calculating_Reaction_Energies_with_the_Materials_API.py - Reaction energies using Materials Project data.2013-01-01-Plotting_and_Analyzing_a_Phase_Diagram_using_the_Materials_API.py - Phase diagram plotting and analysis with MP data.2017-03-02-Getting_data_from_Materials_Project.py - Querying Materials Project for structures and data.2018-09-25-Structure_Prediction_using_Pymatgen_and_the_Materials_API.py - Structure prediction with Materials Project data.Note: These scripts require Materials Project API access; set your API key before running.
Detailed reference material (load as needed):
references/external-data.md - External data access patternsreferences/docs/pymatgen.ext.md - Local API docstools
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.