Pymatgen Crystal Structure Parsing Starter
SkillAI & modelsUse this skill to parse one crystal structure file with pymatgen and return a deterministic structural summary with lattice, composition, density, and symmetry metadata.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Pymatgen Crystal Structure Parsing Starter skill
About this capability
A framework for discovering, compiling, and validating reusable skills for scientific agents.
What this skill tells your AI
The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/materials-science-and-engineering/pymatgen-crystal-structure-parsing-starter/SKILL.md and read by ahel’s review.
Use this skill to parse one crystal structure file with pymatgen and return a deterministic structural summary with lattice, composition, density, and symmetry metadata.
What it does
- Loads a structure file such as CIF with
pymatgen.core.Structure. - Summarizes formula, reduced formula, lattice parameters, volume, density, and species counts.
- Uses
SpacegroupAnalyzerto report a space-group symbol, number, and crystal system when symmetry analysis succeeds.
When to use it
- You need a runnable starter for the
crystal structure parsingleaf. - You want a lightweight structure summary before feature engineering or property modeling.
Example
slurm/envs/materials/bin/python skills/materials-science-and-engineering/pymatgen-crystal-structure-parsing-starter/scripts/run_pymatgen_structure_summary.py \
--input skills/materials-science-and-engineering/pymatgen-crystal-structure-parsing-starter/examples/cscl.cif \
--out scratch/materials/cscl_structure_summary.json
Verification
- Skill-local tests:
python3 -m unittest discover -s skills/materials-science-and-engineering/pymatgen-crystal-structure-parsing-starter/tests -p 'test_*.py' - Repository smoke:
python3 -m unittest tests.smoke.test_phase28_network_materials_cheminformatics_skills -v
Signals
- GitHub stars
- 39
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
pymatgen-crystal-structure-parsing-starter- Source
- github.com/ma-compbio-lab/skillfoundry