技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
structure-generation【数据与研究】Guides agents using datamol to generate and manipulate molecular structures, including conformers, SASA, alignment, fragmentation, scaffolds, reactions, attachments, and isomer enumeration.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks to create, enumerate, transform, align, fragment, assemble, scaffold, or react molecular structures with datamol beyond basic molecule conversion.
dm.conformers.generate, dm.conformers.cluster, dm.conformers.rmsd, dm.conformers.sasa, dm.conformers.get_coords, dm.conformers.center_of_mass, and dm.conformers.keep_conformers; see workflows and API guidance.dm.align.template_align, dm.align.auto_align_many, dm.conformers.align_conformers, and dm.reorder_mol_from_template; see workflows and API guidance.dm.fragment.brics, frag, recap, anybreak, mmpa_cut, break_mol, build, and assemble_fragment_order; see workflows and API guidance.dm.to_scaffold_murcko, dm.make_scaffold_generic, dm.strip_mol_to_core, dm.compute_ring_system, and dm.scaffold.fuzzy_scaffolding; see workflows.dm.reactions.rxn_from_smarts, apply_reaction, select_reaction_output, is_reaction_ok, can_react, inverse_reaction, convert_attach_to_isotope, num_attachment_points, and open_attach_points; see workflows.dm.enumerate_tautomers, dm.enumerate_stereoisomers, dm.count_stereoisomers, dm.enumerate_structisomers, dm.canonical_tautomer, and dm.remove_stereochemistry; see workflows.molecule-io-prep skill before this one.fingerprints-similarity skill after structure generation.visualization-utilities skill after this one.dm.to_mol, then sanitize or standardize through molecule-io-prep before reactions, conformers, and enumeration.n_confs, n_variants, depth, timeout_seconds, max_n_mols, rms_cutoff, and num_threads=1 until the workflow is proven.Run a deterministic tiny exercise of conformer generation, scaffold extraction, reaction application, and isomer counting:
python sub-skills/structure-generation/scripts/structure_generation_smoke.py --help
python sub-skills/structure-generation/scripts/structure_generation_smoke.py
The script prints JSON and uses only local CPU chemistry operations.