agentleFS
learningmatter-mitlearningmatter-mit/AtomisticSkills/.agents/skills/chem-react-ot/SKILL.md

chem-react-ot

Skill174 starsChanged 6 months agoMITView on GitHub

Generate transition state structures for chemical reactions using React-OT.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before running the skill for the first time, download the pre-trained model weights:

    line 36
  2. Distinctive:

    Run the generation script with reactant and product files (xyz, cif, pdb, etc.

    line 48
  3. Very specific:

    Environment: All scripts require the react-ot-agent conda environment.

    line 78

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

chem-react-ot — React-OT Transition State Generation

Goal

Generate transition state (TS) structures given reactant and product structures using the React-OT model (Optimal Transport). React-OT is a generative model that predicts TS geometries directly without requiring an initial guess path (like NEB).

Category: chemistry Environment: react-ot-agent

Key Features

  • Generative TS Prediction: Predicts 3D transition state structures from 3D reactants and products.
  • Fast Inference: Uses an ODE solver for generation, typically much faster than DFT-based NEB.
  • No Path Guess Required: Directly generates the TS structure.

Usage

1. Environment Setup

This skill requires the react-ot-agent conda environment. Ensure it is installed:

# Env: react-ot-agent
cd conda-envs/react-ot-agent
bash install.sh

2. Download Models

Before running the skill for the first time, download the pre-trained model weights:

# activate react-ot-agent first
conda activate react-ot-agent
python conda-envs/react-ot-agent/download_models.py

The checkpoint is saved to ~/.cache/react-ot/checkpoints/sb-pretrained.ckpt.

3. Generate Transition State

Run the generation script with reactant and product files (xyz, cif, pdb, etc. - anything ASE reads).

# Env: react-ot-agent
python .agents/skills/chem-react-ot/scripts/generate_ts.py \
    --reactants reactant.xyz \
    --products product.xyz \
    --output_dir results/ts_search

Arguments:

  • --reactants: Path to reactant structure file(s). Can be a single file with multiple molecules or a list of files.
  • --products: Path to product structure file(s).
  • --output_dir: Directory to save the generated TS structure (ts_generated.xyz) and trajectory (generation_traj.xyz).
  • --nfe: Number of function evaluations for the ODE solver (default: 10). Higher values might be more accurate but slower.
  • --checkpoint: Path to custom model checkpoint (optional, defaults to downloaded one).

Example

# Env: react-ot-agent
python .agents/skills/chem-react-ot/scripts/generate_ts.py \
    --reactants .agents/skills/chem-react-ot/examples/oxadiazole_isomerization/reactant.xyz \
    --products .agents/skills/chem-react-ot/examples/oxadiazole_isomerization/product.xyz \
    --output_dir .agents/skills/chem-react-ot/examples/oxadiazole_isomerization/output

Constraints

  • Environment: All scripts require the react-ot-agent conda environment.
  • Input Format: Reactant and product structures must be in any format readable by ASE (XYZ, CIF, PDB, etc.).
  • Atom Ordering: Reactant and product structures must have the same number of atoms with consistent atom ordering.
  • Model Checkpoint: The pre-trained checkpoint must be downloaded before first use (see step 2).

References

  • React-OT GitHub
  • Duan, C., Liu, G.-H., Du, Y. et al., "Optimal transport for generating transition states in chemical reactions", Nature Machine Intelligence, 2025. DOI

Author: Bowen Deng Contact: GitHub @learningmatter-mit

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.