Agent skill

pymatgen

Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill pymatgen --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 9
SKILL.md size: 20 KB
Bundled scripts: yes
Path: skills/10-材料科学与物理计算/pymatgen/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 ## Quick St

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Quick Start Guide
  4. Installation
  5. Basic Structure Operations
  6. Materials Project Integration
  7. Core Capabilities
  8. 1. Structure Creation and Manipulation
  9. 2. File Format Conversion
  10. 3. Structure Analysis and Symmetry
  11. 4. Phase Diagrams and Thermodynamics
  12. 5. Electronic Structure Analysis
  13. 6. Surface and Interface Analysis
  14. 7. Materials Project Database Access
Ships with 8 files
  • references/analysis_modules.md
  • references/core_classes.md
  • references/io_formats.md
  • references/materials_project_api.md
  • references/transformations_workflows.md
  • scripts/phase_diagram_generator.py
  • scripts/structure_analyzer.py
  • scripts/structure_converter.py
Commands it runs
Core pymatgen
uv pip install pymatgen
With Materials Project API access
uv pip install pymatgen mp-api
Optional dependencies for extended functionality
uv pip install pymatgen[analysis]  # Additional analysis tools
uv pip install pymatgen[vis]       # Visualization tools
Set up API key
export MP_API_KEY="your_api_key_here"
Single file conversion
More from qinyan-academic-skills
All skills →
About this skill
What does the pymatgen skill do?

Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill pymatgen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going