python-ase

Build ASE atomistic structures and run simulations with calculators.

34|7|Updated Nov 29, 2025
One-click install
npx skills add https://github.com/jkitchin/skillz --skill python-ase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-ase
Source: https://github.com/jkitchin/skillz/tree/main/skills/programming/python-ase
Command: npx skills add https://github.com/jkitchin/skillz --skill python-ase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Expert guidance for using the Atomic Simulation Environment (ASE) to build structures, set up calculators, run geometry optimizations and molecular dynamics, and analyze results with automation patterns.

Core Features & Use Cases

  • Structure Building: create molecules, surfaces, bulk crystals, and nanoparticles.
  • Calculator Setup: attach EMT, VASP, GPAW, QE, and other calculators.
  • Dynamics & Optimization: geometry optimization, MD, and NEB workflows.
  • Analysis & Automation: extract energies, forces, trajectories; automate high-throughput scripts.

Quick Start

Ask the skill to build a Pt(111) surface, add CO as adsorbate, attach an EMT calculator, and run a quick relaxation.

Frequently Asked Questions about python-ase

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

FAQPage Schema
How do I set up and run geometry optimization with ASE?

Geometry optimization in ASE attaches a calculator (EMT, VASP, GPAW, or QE) to an Atoms object, then applies an optimizer like BFGS or LBFGS to relax atomic positions until forces converge, yielding a relaxed structure and final energy.

What calculators does ASE support for atomistic simulations?

ASE supports multiple calculators including EMT for rapid prototyping, VASP for density-functional theory, GPAW for all-electron calculations, and Quantum ESPRESSO (QE) for solid-state physics, each suited to different accuracy and speed trade-offs.

How do I build crystal surfaces and molecules in ASE?

ASE provides built-in structure builders to create bulk crystals by lattice parameters, cleave surfaces like Pt(111), construct molecules from atomic symbols and positions, and assemble nanoparticles, all returned as Atoms objects ready for calculation.

Can I automate high-throughput workflows with ASE?

Yes, ASE supports scripting entire workflows—structure building, calculator attachment, geometry optimization, molecular dynamics, and result extraction—enabling production-ready automation for batch simulations across multiple structures or parameters.

How do I extract and analyze energies and forces from ASE trajectories?

ASE stores simulation trajectories with energy and force data; you retrieve energies via the get_potential_energy() method, access per-atom forces with get_forces(), and parse trajectory files to plot convergence or analyze structural dynamics.

Does ASE support molecular dynamics simulations?

Yes, ASE includes MD integrators (Verlet, Langevin, others) to propagate atomic motion under calculator forces, producing time-evolving trajectories and temperature-dependent properties for studying thermal behavior and reaction pathways.