geometry-optimizer

Optimize molecular geometries from SMILES or XYZ inputs using xTB.

52|11|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/InternScience/ChemClaw --skill geometry-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: geometry-optimizer
Source: https://github.com/InternScience/ChemClaw/tree/main/skills/geometry-optimizer
Command: npx skills add https://github.com/InternScience/ChemClaw --skill geometry-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdkit, subprocess, and includes scripts (resource) and references (resource) components.

What problem does it solve?

使用半经验方法 (xTB) 对分子三维几何结构进行几何优化,支持 SMILES 自动转 3D、XYZ 文件输入,输出优化后坐标、能量、收敛状态。

Core Features & Use Cases

  • ✅ SMILES → 3D → 优化:自动从 SMILES 生成初始 3D 构象并进行 xTB 优化
  • ✅ XYZ 文件输入:直接对已有 3D 坐标进行优化
  • ✅ GFN-xTB 方法:GFN2-xTB 为默认,GFN1-xTB、GFN-FF 选项可用
  • ✅ 完整结果输出:优化后坐标、能量、梯度、收敛状态、日志文件
  • ✅ 批量处理:支持 JSON 批量输入,多分子连续优化

Quick Start

请对一个分子执行 SMILES 自动生成 3D 构象并进行 xTB 几何优化,输出优化后的坐标和能量到指定目录。

Frequently Asked Questions about geometry-optimizer

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

FAQPage Schema
How do I optimize molecular geometry from SMILES using xTB?

To optimize molecular geometry from SMILES using xTB, the Skill automatically converts SMILES strings into initial 3D conformers via RDKit and then runs xTB to produce optimized coordinates and energies.

Can I batch process multiple molecules for 3D structure optimization?

Yes, you can batch process multiple molecules for 3D structure optimization by providing a JSON batch input, allowing continuous xTB geometry optimization for numerous compounds with exported coordinates and energies.

Does xTB geometry optimization support different methods like GFN1 and GFN-FF?

xTB geometry optimization supports multiple methods including the default GFN2-xTB, as well as GFN1-xTB and GFN-FF, allowing you to select the appropriate level of theory for your 3D structure optimization.

Do I need RDKit to optimize XYZ inputs with xTB?

RDKit is required for SMILES handling and 3D conformer generation, but you can directly input existing XYZ files for xTB geometry optimization without needing SMILES-to-3D conversion.

What does xTB geometry optimization output include?

xTB geometry optimization output includes optimized 3D coordinates, total energies, gradients, convergence status, and log files, exported in both JSON and XYZ formats for downstream analysis.

Can I apply solvent models during xTB geometry optimization?

Yes, you can apply solvent models during xTB geometry optimization, alongside selecting methods like GFN2-xTB or GFN-FF, to calculate optimized coordinates and energies under specific solvent conditions.