Agent skill

interface

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/interface

SKILL.md

Interface and Defect Structure Workflows

Sub-skills

Skill Path Description
Grain Boundary grain-boundary/SKILL.md Construct CSL grain boundaries with pymatgen, relax with MACE, compute GB energies
Heterostructure heterostructure/SKILL.md Build lattice-matched heterostructures, relax with MACE, compute adhesion energy and interface properties

General Pattern

  1. Build interface -- use pymatgen generators (GrainBoundaryGenerator, ZSLGenerator, SubstrateAnalyzer) to create atomistic models.
  2. Relax with MACE -- fast geometry optimization with selective dynamics (fix bulk-like atoms).
  3. Compute interface energy -- compare slab/interface energy to bulk references.
  4. Validate with QE -- single-point or full relaxation for key structures.
  5. Analyze -- energy vs. geometric descriptor plots, structure visualization.

Prerequisites

  • Python packages: pymatgen, ase, mace-torch, numpy, matplotlib.
  • For QE validation: Quantum ESPRESSO 7.5 (pw.x) with appropriate pseudopotentials.

Didn't find tool you were looking for?

Be as detailed as possible for better results