If you're doing computational materials science, this is the standard library for crystal structure manipulation and analysis. It handles structure I/O across 100+ formats (CIF, POSCAR, XYZ), symmetry analysis, phase diagram construction, and electronic structure processing from codes like VASP and Quantum ESPRESSO. The Materials Project integration is the standout feature, letting you pull computed materials data directly into your workflows. The learning curve is real since it's a massive library, but the documentation is solid with specific scripts for common tasks like batch format conversion and automated structure analysis. If you're already working with DFT calculations or need to manipulate crystal structures programmatically, you'll use this constantly.

skills.sh installs
2K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pymatgen --agent claude-code

Installs into .claude/skills of the current project.

Files

pymatgen

Use pymatgen for explicit, provenance-preserving work with compositions, molecules, periodic structures, computed entries, symmetry, phase diagrams, electronic structures, and electronic-structure-code files. Treat every parse, conversion, symmetry assignment, transformation, and database result as method- and parameter-dependent.

The MIT frontmatter license covers this skill. pymatgen and pymatgen-core are MIT; mp-api declares BSD-3-Clause-LBNL. Materials Project data is generally CC BY 4.0, while contributed data remains owned by its contributors. Check the exact artifact and data terms before redistribution.

Verified snapshot (2026-09-30)

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Category
AI & Agent Building
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1k-dense-ai avatartorchdrugk-dense-ai/scientific-agent-skillsBuild and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, pr2Kskills.sh installs
2k-dense-ai avatarfluidsimk-dense-ai/scientific-agent-skillsPlan, configure, inspect, restart, and analyze bounded FluidSim computational-fluid-dynamics simulations with explicit numerical-validity and HPC safety checks.2Kskills.sh installs
3k-dense-ai avatarimaging-data-commonsk-dense-ai/scientific-agent-skillsQuery and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data 2Kskills.sh installs
4k-dense-ai avatarpaperzillak-dense-ai/scientific-agent-skillsChat with your agent about projects, recommendations, and canonical papers in Paperzilla. Use when users ask for recent project recommendations, canonical paper2Kskills.sh installs
5k-dense-ai avatarzarr-pythonk-dense-ai/scientific-agent-skillsChunked N-D arrays for cloud storage (Zarr-Python 3). Compressed arrays, parallel I/O, S3/GCS via fsspec, NumPy/Dask/Xarray compatible, for large-scale scientif2Kskills.sh installs
6k-dense-ai avatarpyhealthk-dense-ai/scientific-agent-skillsBuild clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot)2Kskills.sh installs