pymatgen

Automate crystallographic analysis and materials simulation using Pymatgen.

3|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill pymatgen-ramanebrahimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pymatgen
Source: https://github.com/RamanEbrahimi/raman-marketplace/tree/main/plugins/agentic-research/skills/scientific-skills/pymatgen
Command: npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill pymatgen-ramanebrahimi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymatgen, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Pymatgen is a materials analysis and discovery framework. It streamlines materials discovery workflows in research, design, and simulation.

Core Features & Use Cases

  • Structure Analysis and Manipulation: Create, manipulate, and analyze crystal structures.
  • File Format Conversion: Supports 100+ file formats, from CIF, POSCAR to VASP input formats.
  • Computational Code Integration: Supports VASP, Gaussian, Quantum ESPRESSO, etc., with pre-configured input sets.
  • Use Case: For example, you can use Pymatgen to analyze the structure of a material, calculate its band structure, and perform high-throughput calculations.

Quick Start

To install Pymatgen and use it for structure analysis, run:

uv pip install pymatgen

Then, load a structure:

from pymatgen.core import Structure
struct = Structure.from_file("POSCAR")

Frequently Asked Questions about pymatgen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert crystallographic file formats like CIF to POSCAR for materials simulation?

Crystallographic file format conversion supports over 100 formats, including CIF and POSCAR. You can load a structure from a file and export it directly to VASP input formats using Python-based structure manipulation libraries.

What is the best way to calculate a band structure using Python?

Calculating a band structure requires loading a crystal structure and applying electronic structure computation. This Python framework automates generating the necessary inputs for simulation codes like VASP to compute the band structure.

Can I automate high-throughput calculations for computational materials science discovery?

Automating high-throughput calculations is supported for computational materials science discovery. The framework provides pre-configured input sets for codes like VASP and Quantum ESPRESSO to streamline large-scale materials simulation workflows.

Does this materials analysis framework work with Quantum ESPRESSO and Gaussian?

Yes, this materials analysis framework works with Quantum ESPRESSO and Gaussian. It integrates with various computational codes by providing pre-configured input sets for computational materials science workflows.

What Python version is required to run crystal structure manipulation scripts?

Python version 3.10 or higher is required to run crystal structure manipulation scripts. The framework relies on modern Python installations and the materials analysis library version 2023.x or newer to execute structure analysis and electronic structure computation.

Related Skills