一键导入
molecular-structure-creation
Methods for building isolated molecules (ASE database, SMILES via RDKit, organometallics, endohedral cages, NEB pathways).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Methods for building isolated molecules (ASE database, SMILES via RDKit, organometallics, endohedral cages, NEB pathways).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build common bulk crystal structures (FCC/BCC/HCP/diamond/zincblende/...) using ASE.
Build a coherent lattice-matched interface between two bulk structures using the pymatgen ZSL algorithm.
Workflow, lattice-matching strategies, and pitfalls for building interfaces between two crystals/surfaces.
Strategies for searching, filtering, and downloading structures from the Materials Project (MP) database.
Workflow for building Metal-Organic Framework (MOF) structures (MOF-5, Cu-BTC, IRMOF series, custom).
Workflows for nanoparticles, carbon nanotubes, nanoshells, confined/filled systems, and atomic text patterns.
| name | molecular-structure-creation |
| description | Methods for building isolated molecules (ASE database, SMILES via RDKit, organometallics, endohedral cages, NEB pathways). |
| when_to_use | Use when constructing a single molecule, an organometallic compound, or a molecule-in-cage system. |
Search for existing structure data
Determine construction method
Build molecular structure
ase.build.molecule() functionValidate molecular geometry
NEB pathway generation (if needed)
Geometry optimization (if needed)
Save and document
Cage Size Calculation:
Cage Construction Methods:
ase.build.molecule('C60')Fibonacci Sphere Algorithm:
def fibonacci_sphere(radius, n_points):
points = []
phi = np.pi * (3.0 - np.sqrt(5.0)) # golden angle
for i in range(n_points):
y = 1.0 - (i / (n_points - 1)) * 2.0
r = np.sqrt(1.0 - y * y)
theta = phi * i
x = np.cos(theta) * r
z = np.sin(theta) * r
points.append([x * radius, y * radius, z * radius])
return points
RDKit SMILES to 3D:
from rdkit import Chem
from rdkit.Chem import AllChem
mol = Chem.MolFromSmiles("CN1C=NC2=C1C(=O)N(C(=O)N2C)C") # Caffeine
mol = Chem.AddHs(mol)
AllChem.EmbedMolecule(mol)
AllChem.MMFFOptimizeMolecule(mol)
molecule('H2O') - Water with O-H=0.97Å, H-O-H=104°molecule('C60') - Buckminsterfullerenemolecule('C6H6') - Benzene| Pitfall | Symptom | Fix |
|---|---|---|
| MP doesn't have molecule | Search returns no results | Build manually using experimental parameters |
| EMT calculator unsupported | Optimization fails for transition metals | Use experimental parameters directly |
| Wrong coordination geometry | Metal center has wrong coordination | Verify against known structures (CSD, literature) |
| Unrealistic bond lengths | Bonds too short or too long | Check experimental values from databases |
| Wrong molecular conformation | Unexpected shape/stereochemistry | Choose appropriate conformer (staggered vs. eclipsed) |
| Guest too large for cage | Severe steric clash | Use larger cage; calculate needed radius from molecule extent |
| Cage too small for molecule | Cannot encapsulate | Fibonacci sphere for custom cage size |