lib-pymatgen

Create, manipulate, and analyze crystal structures with pymatgen.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-pymatgen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lib-pymatgen
Source: https://github.com/biomaps-infra/blender-opencode/tree/main/.opencode/skills/lib-pymatgen
Command: npx skills add https://github.com/biomaps-infra/blender-opencode --skill lib-pymatgen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies complex materials science tasks, from structure manipulation and file conversion to advanced analysis of properties like phase diagrams and electronic structures.

Core Features & Use Cases

  • Structure Handling: Create, manipulate, and convert crystal structures and molecules.
  • Materials Analysis: Analyze symmetry, coordination, phase diagrams, electronic structure, surfaces, and more.
  • Materials Project Integration: Seamlessly access and utilize data from the Materials Project database.
  • Use Case: You need to convert a VASP POSCAR file to CIF format, analyze its space group, and then calculate its band gap using data from the Materials Project.

Quick Start

Use the lib-pymatgen skill to read a structure from 'POSCAR' and save it as 'structure.cif'.

Frequently Asked Questions about lib-pymatgen

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

FAQPage Schema
How do I convert a VASP POSCAR file to CIF format for crystal structure analysis?

To convert a VASP POSCAR file to CIF format, use the structure handling capabilities to read the POSCAR file and save the crystal structure as a CIF file. This enables standard crystallographic structure analysis and file format conversion.

How do I analyze the space group and symmetry of a crystal structure?

You can analyze the space group and symmetry of a crystal structure by using the materials analysis features. These features evaluate symmetry and coordination properties directly from the imported structural data.

Can I access Materials Project database data to calculate electronic structure and band gaps?

Yes, you can access the Materials Project database to retrieve data for calculating electronic structures and band gaps. The integration allows seamless access to utilize the database for advanced materials property analysis.

What is the best way to construct and analyze phase diagrams in computational chemistry?

The best way to construct and analyze phase diagrams is by using the computational chemistry toolkit to process structural data. It facilitates phase diagram construction and analysis directly from molecular and crystal system inputs.

Do I need prior Python environment experience to manipulate crystal structures and molecules?

Yes, you need a Python environment to manipulate crystal structures and molecules effectively. The library provides a comprehensive Python-based framework for creating, manipulating, and analyzing molecular systems.

Why does computational chemistry require specific file format conversion for structure handling?

Computational chemistry requires file format conversion because different simulation software uses distinct formats like POSCAR and CIF. Structure handling tools ensure compatibility by converting between these formats for accurate molecular analysis.