packmol-generate-mixture

Generate packed molecular XYZ configurations for mixtures using Packmol.

124|25|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/jinzhezenggroup/computational-chemistry-agent-skills --skill packmol-generate-mixture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: packmol-generate-mixture
Source: https://github.com/jinzhezenggroup/computational-chemistry-agent-skills/tree/main/data-processing/packmol-generate-mixture
Command: npx skills add https://github.com/jinzhezenggroup/computational-chemistry-agent-skills --skill packmol-generate-mixture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

A tool for generating initial packed molecular configurations (XYZ format) from single-molecule structures by calculating box dimensions, writing input scripts, and executing Packmol.

Core Features & Use Cases

  • Compute cubic box dimensions from density or a fixed box length.
  • Generate Packmol input and run Packmol to produce packed XYZ configurations for multiple species.
  • Provide a clear results report with input/output paths and box size.

Quick Start

Provide inputs for species files and counts, specify density or box length, and run Packmol to generate the packed XYZ and input file.

Frequently Asked Questions about packmol-generate-mixture

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

FAQPage Schema
How do I generate initial packed molecular configurations for MD simulations?

Generate initial packed molecular configurations by computing cubic box dimensions, writing Packmol input scripts, and executing Packmol to output packed XYZ files for MD simulations. Provide single-molecule structures and species counts to start.

How do I calculate box dimensions for a molecular mixture from a target density?

Calculate cubic box dimensions for a molecular mixture by inputting a target packing density and species counts, or by specifying a fixed box edge length, which determines the simulation volume for Packmol.

Does Packmol work with XYZ files for packing multiple molecular species?

Packmol works with XYZ files to pack multiple molecular species into a cubic box, taking single-molecule XYZ structures and species counts to yield a packed XYZ configuration file.

What do I need to provide to create a packed mixture with Packmol?

To create a packed mixture, provide single-molecule structure files, species counts, and either a target packing density or a fixed box edge length to compute the necessary cubic box dimensions.

Can I convert the packed XYZ output for downstream MD simulation tools?

You can convert the packed XYZ output for downstream MD simulation tools using the optional conversion steps provided, ensuring the starting geometries integrate smoothly into subsequent workflows.

Why does my molecular packing workflow require inputs validation and result reporting?

Molecular packing requires inputs validation and result reporting to ensure accurate box-size decisions, prevent packing failures, and provide clear input/output file paths and parameters for MD simulations.