Skip to content

Pymatgen Skill (K-Dense)

K-Dense Inc. / K-Dense Inc.

Pymatgen Skill (K-Dense) provides agent instructions and Python helpers for validating materials structures, examining symmetry, planning conversions, building local phase diagrams, and bounding Materials Project queries.

Catalog updated ·

Overview

Pymatgen Skill (K-Dense) is an individual resource in the Scientific Agent Skills collection. It supplies procedural instructions, references, and optional Python helpers for working with pymatgen; it is neither the upstream library nor an independently running agent. Its role is to guide materials-analysis workflows while preserving assumptions, parser warnings, and artifact provenance.

Inputs include composition strings, molecular or periodic structures, structure files, local computed-energy entries, and explicitly scoped Materials Project query criteria. Documented outputs include validation reports, symmetry-sensitivity reports, converted structures, local phase-diagram analyses, query plans, and artifact manifests. The workflow asks users to establish units, coordinate conventions, occupancies, and oxidation-state treatment before downstream analysis. Conversion is preceded by a representation-loss plan, with new output paths and checks of scientifically relevant properties after round-tripping.

Local analysis is separated from external retrieval. The bundled Materials Project helper plans queries without network access by default; execution requires explicit approval, bounded filters and fields, and authentication. Materials Project is the upstream data service, while mp-api is its client dependency—not a service supplied by this Skill. Phase diagrams depend on compatible energies and the supplied competing phases; computed hull membership does not establish experimental stability.

The source reports execution of its local CLI suite and synthetic examples, but identifies authenticated retrieval and file-dependent VASP/Q-Chem examples as illustrative rather than executed. The Skill does not run those electronic-structure packages or provide their licences. Structure validation also has documented limits, including incomplete contact checking across very short lattice vectors. These boundaries should inform any intended evaluation on real research data.

Key Features

  • Composition and structure validation helpers report parser warnings, units, coordinate mode, periodicity, occupancy, disorder, oxidation states, and minimum inter-site distances.
  • A symmetry-sensitivity helper evaluates space-group assignments across explicit distance and angle tolerance grids.
  • Separate conversion planning and execution helpers identify representation loss and write converted structures to new paths.
  • An offline phase-diagram helper accepts strict JSON entries with total energies and provenance, supporting local hull analysis and optional plotting.
  • A Materials Project query helper defaults to dry-run planning and supports explicitly approved, bounded summary retrieval with selected fields and new output files.
  • An artifact-manifest helper records checksums, software versions, sources, and workflow provenance.

Use Cases

  • Intended evaluation: assess CIF intake for a materials-screening workflow by inspecting parser corrections, partial occupancies, and structural warnings before analysis.
  • Intended evaluation: test whether a reported space group is sensitive to symmetry tolerances rather than relying on one assignment.
  • Intended evaluation: convert structures between supported representations while checking lattice, species ordering, site properties, and other potentially lost information.
  • Intended evaluation: construct a local phase diagram from compatible computed entries, or plan a narrowly scoped Materials Project retrieval with retained provenance.

How to Use

  1. Read the named Skill and locate its helpers in the collection repository. Treat it as workflow guidance, not an autonomous application.
  2. Prepare an isolated Python environment using the Skill’s documented dependency setup. Preserve the dependency lock and environment details; planning helpers do not require the scientific packages, but local analysis does.
  3. Select a small evaluation input. Record whether it is molecular or periodic, its units and coordinate mode, then use the documented validator and inspect all warnings before proceeding.
  4. Choose the relevant local workflow: sweep symmetry tolerances, plan conversion before writing a new artifact, or supply provenance-bearing energy entries for a phase diagram. Consult the pymatgen documentation for API contracts.
  5. For external data, inspect a dry-run plan first and obtain explicit network approval. Follow the Materials Project API guide, keeping authentication outside saved artifacts.
  6. Save analysis outputs and an artifact manifest. Review representation changes, excluded entries, and scientific assumptions before using results in research.

Related resources

ALIGNN

Model

ALIGNN provides atomistic graph neural networks for materials property prediction, with training workflows, pretrained predictors and ALIGNN-FF force fields for structural optimization.

Open sourcePython

Materials Discovery

Allegro

Model

Allegro implements an E(3)-equivariant interatomic potential as a NequIP extension, with documented GPU acceleration options and a separate plugin for LAMMPS simulations.

Open sourcePython

Computational Chemistry · Materials Discovery

An ASE routing Skill in the computational-chemistry-agent-skills collection that separates workflow preparation from calculator configuration and delegates execution elsewhere.

Computational Chemistry · Materials Discovery

CGCNN

Model

CGCNN implements crystal graph convolutional neural networks for learning material properties from crystal structures, with custom-data training and prediction using pre-trained models.

Open sourcePython

Materials Discovery

ChatMOF

Agent

ChatMOF is a code-available research system that uses language-model-guided tools to retrieve MOF data, predict properties and generate structures from natural-language requests.

Open sourcePython

Materials Discovery

ChemAgent (AI4Chem) is a research framework for chemistry and materials tool use, linked to the CheMatAgent paper on tree-search planning, tool execution and ChemToolBench-based training.

Computational Chemistry · Materials Discovery

Related guides

Workflows

AI for Materials Science: Tools, Agents and Skills

A practical guide to materials databases, research agents and scientific Skills: how to organize crystal screening, computation and analysis while keeping convex-hull, equilibrium, phonon and experimental-stability claims distinct.

Skills

AI Skills for Chemistry: What They Are and How They Work

Understand chemistry AI Skills as reusable procedure modules: what SKILL.md contains, how hosts load instructions, how Skills differ from MCP and agents, and how to select, combine, and evaluate them without confusing guidance with scientific validation.

Overview

How to Build a Chemistry AI Agent Stack

Design a chemistry AI agent stack by separating language models, orchestration, Skills, MCP interfaces, APIs, libraries and data. Follow proposed molecular and materials workflows, define input/output contracts, and plan permissions, evaluation and reproducible deployment.