
Pymatgen
This is the main computational materials science library in Python, powering the Materials Project. You use it to manipulate crystal structures, convert between 100+ file formats (CIF, POSCAR, XYZ), analyze symmetry and space groups, compute phase diagrams, and process electronic structure data like band structures and DOS. It integrates directly with Materials Project's database and handles output from VASP, Gaussian, and Quantum ESPRESSO. The API is straightforward: Structure.from_file() reads anything, structure.to() writes to any format, and SpacegroupAnalyzer gives you symmetry info. If you're doing DFT calculations or working with crystallographic data, you're probably already using this or you should be.
- skills.sh installs
- 368
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill pymatgen --agent claude-codeInstalls into .claude/skills of the current project.
Files
Pymatgen - Python Materials Genomics
Overview
Pymatgen is a comprehensive Python library for materials analysis that powers the Materials Project. Create, analyze, and manipulate crystal structures and molecules, compute phase diagrams and thermodynamic properties, analyze electronic structure (band structures, DOS), generate surfaces and interfaces, and access Materials Project's database of computed materials. Supports 100+ file formats from various computational codes.
When to Use This Skill
This skill should be used when:
- Working with crystal structures or molecular systems in materials science
- Converting between structure file formats (CIF, POSCAR, XYZ, etc.)
- Analyzing symmetry, space groups, or coordination environments
- Computing phase diagrams or assessing thermodynamic stability
- Analyzing electronic structure data (band gaps, DOS, band structures)
- Generating surfaces, slabs, or studying interfaces
- Accessing the Materials Project database programmatically
- Setting up high-throughput computational workflows
- Analyzing diffusion, magnetism, or mechanical properties
- Working with VASP, Gaussian, Quantum ESPRESSO, or other computational codes
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Code Review & Quality, Marketing & SEO
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Deepspeed367
- Figma Implement Design367
- Copy Editing366
- Codex Review365
- Instructor365
- Notebooklm365
- Behavioral Modes364
- Unsloth364
- Test Driven Development363
- Accessibility362
- Networkx362
- Pymc Bayesian Modeling362
- Analytics Tracking361
- Outlines359
- Python Patterns359
- Biorxiv Database358
- Plan Writing358
- Risk Management Specialist358
- Langsmith Observability357
- Moe Training357
- Ab Test Setup356
- Codex356
- Javascript Mastery356
- Model Merging356