chem-ts-optimization
Skill174 starsChanged 6 months agoMITView on GitHub
Optimize non-periodic molecular TS guesses and verify first-order saddle point from vibrational modes.
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/atomisticskills.mdcCursor rule
- .cursor/rules/use-agent-skills.mdcCursor rule
- chem-bond-dissociationSkill
- chem-conformer-searchSkill
- chem-db-mofSkill
- chem-db-qmofSkill
- chem-db-spectraSkill
- chem-dft-orca-advanced-calculationSkill
- chem-dft-orca-optimizationSkill
- chem-dft-orca-singlepointSkill
- chem-docking-voidSkill
- chem-hazard-toxicitySkill
- chem-irc-verificationSkill
- chem-msms-predictSkill
- chem-neb-barrierSkill
- chem-nmr-analysisSkill
- chem-nmr-predictSkill
- chem-react-otSkill
- chem-similarity-searchSkill
- chem-solution-mdSkill
- chem-sorption-gcmcSkill
- chem-sorption-relaxSkill
- chem-sorption-widomSkill
- chem-spectrum-matcherSkill
- chem-thermochemistrySkill
- chem-vibrationSkill
- drug-admet-predictionSkill
- drug-binding-site-definitionSkill
- drug-bioactivity-assaySkill
- drug-complex-system-builderSkill
- drug-db-chemblSkill
- drug-db-pdbSkill
- drug-db-pubchemSkill
- drug-docking-analysisSkill
- drug-docking-vinaSkill
- drug-ligand-prepSkill
- drug-mmpbsa-gbsaSkill
- drug-molecular-fingerprintsSkill
- drug-pocket-detectionSkill
- drug-pose-validationSkill
- drug-protein-ligand-mdSkill
- drug-protein-prepSkill
- drug-redocking-rmsdSkill
- drug-retrosynthesisSkill
- drug-trajectory-analysisSkill
- general-arxiv-searchSkill
- general-biorxiv-searchSkill
- general-chemical-literatureSkill
- general-chemical-pricingSkill
- general-deep-researchSkill
- general-fair-data-reviewSkill
- general-patent-searchSkill
- general-peer-reviewSkill
- general-plot-digitizerSkill
- general-presentationSkill
- general-property-unitsSkill
- general-publisher-access-guardSkill
- general-query-literature-databaseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 86
Default criterion: exactly one mode below -50 cm^-1.
- Very specific: line 93
Use the same backend/model/head across reactant/product/TS optimization and TS validation.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TS Optimization with Sella
Optimize a transition-state guess and check whether it is a first-order saddle point.
Scope
- Domain: molecular chemistry only (non-periodic systems).
- Trigger: user has a TS guess and needs TS optimization plus frequency validation.
- Exclusions: periodic diffusion/path workflows (use
chem-neb-barrierinstead).
Tool
optimize_ts_sella.py
Runs Sella TS optimization followed by finite-difference vibrations.
Use with MACE
# Env: mace-agent
python .agents/skills/chem-ts-optimization/scripts/optimize_ts_sella.py \
--ts_guess ts_guess.xyz \
--model_type mace \
--model_name MACE-OFF23-small \
--fmax 0.02 \
--steps 500 \
--imag_cutoff_cm1 -50.0 \
--output_dir results/ts_optUse with FAIRChem (UMA)
# Env: fairchem-agent
python .agents/skills/chem-ts-optimization/scripts/optimize_ts_sella.py \
--ts_guess ts_guess.xyz \
--model_type fairchem \
--model_name uma-s-1p1 \
--task_name omol \
--fmax 0.02 \
--steps 500 \
--imag_cutoff_cm1 -50.0 \
--output_dir results/ts_optArguments
--ts_guess: required TS guess geometry (XYZ supported by ASE I/O).--model_type: required backend (maceorfairchem).--model_name: optional model identifier/checkpoint.--task_name: optional model head/task (for UMA molecular runs useomol).--device:auto|cpu|cuda(defaultauto).--fmax: Sella convergence threshold in eV/A (default0.02).--steps: maximum TS optimization steps (default500).--vib_delta: finite-difference displacement in A (default0.01).--vib_nfree: finite-difference stencil size (2or4, default2).--imag_cutoff_cm1: imaginary mode cutoff in cm^-1 (default-50.0).--keep_vib_cache: optional flag to keep vibration cache files inoutput_dir/vib.--output_dir: required output directory.
Outputs
ts_optimized.xyz: optimized TS geometry.ts_opt.traj: TS optimization trajectory.ts_opt.log: optimizer log.ts_optimization_results.json: run summary and pass/fail decision.vib/cache files only when--keep_vib_cacheis set.
ts_optimization_results.json fields include:
- run/model metadata
- convergence (
sella_converged,optimization_steps,max_force_eV_per_A) - vibrational data (
all_frequencies_cm1,imaginary_modes) - classification (
n_imag_below_cutoff,is_first_order_saddle)
TS Pass Criterion
A structure is accepted as first-order saddle only if:
- exactly one frequency satisfies
frequency < imag_cutoff_cm1
Default criterion: exactly one mode below -50 cm^-1.
Model Guidance
- Recommended for molecules:
MACE-OFF23-small/MACE-OFF23-mediumuma-s-1p1with--task_name omol
- Use the same backend/model/head across reactant/product/TS optimization and TS validation.
Prerequisites And Constraints
- Activate
mace-agentorfairchem-agentdepending on backend. - Script enforces
pbc=False(non-periodic only). - TS guess quality matters; poor guesses can converge to minima or higher-order saddles.
Examples
See examples/ directory for sample inputs and outputs.
Author: Juno Nam Contact: GitHub @recisic
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

