skills/mopac/SKILL.md
Semi-empirical quantum chemistry with MOPAC. Fast QM calculations for geometry optimization, properties, activation barriers, reaction pathways. Methods PM6, PM7, PM6-D3H4X for 1000x faster than DFT. For full DFT accuracy, use ase. For classical MD, use openmm.
npx skillsauth add lamm-mit/scienceclaw mopacInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
MOPAC provides semi-empirical quantum chemistry calculations that are ~1000x faster than DFT while maintaining reasonable accuracy for many applications. This skill enables rapid computational investigation of reaction mechanisms, transition states, activation barriers, and molecular properties. MOPAC is ideal for high-throughput screening and rapid hypothesis testing in drug discovery and materials chemistry.
Molecular Structures:
Optimize small molecules and drug-like compounds:
# PM6 method (balanced speed/accuracy)
# PM7 method (improved accuracy, slightly slower)
# PM6-D3H4X (includes dispersion corrections for D3 interactions)
mopac_optimized = optimize_structure(
smiles="CCO",
method="PM6",
convergence="tight"
)
# Get optimized geometry and energy
energy = mopac_optimized.get_energy()
structure = mopac_optimized.get_structure()
Key Features:
Activation Barriers:
Locate and characterize transition states:
# Min-TS-Min pathway
# 1. Optimize reactant
# 2. Find transition state (TS keyword in MOPAC)
# 3. Optimize product
ts_structure = find_transition_state(
reactant="reactant.smi",
product="product.smi",
method="PM6"
)
activation_barrier = ts_structure.get_energy() - reactant.get_energy()
Applications:
Calculate from Quantum Wavefunction:
- Dipole moment
- Polarizability
- Electronegativity
- Electrostatic potential (ESP)
- Partial charges (Mulliken, Löwdin)
- Orbital energies (HOMO, LUMO, gap)
- Hardness, softness (chemical potential)
- Reactivity indices (Fukui functions)
For Drug Design:
COSMO Implicit Solvent Model:
Calculate properties in aqueous/organic media:
# COSMO (Conductor-like Screening Model)
# Implicit solvent descriptions for:
# - Water
# - DMSO, DMF
# - Chloroform, dichloromethane
# - Alcohols
aqueous_energy = calculate_solvation(
structure="molecule.xyz",
solvent="water",
method="PM6"
)
# pKa prediction from desolvation energy
Frequencies and Thermochemistry:
Compute IR-active vibrational modes:
- Vibrational frequencies
- Infrared intensities
- Raman scattering
- Zero-point energy (ZPE)
- Enthalpy corrections
- Entropy corrections
- Gibbs free energy at any temperature
Drug Discovery:
Reaction Mechanism:
Materials Chemistry:
Chemical Stability:
Input:
pubchem (convert to structures)uniprot (study interaction mechanisms)chembl (understand binding mechanisms)Output:
| Property | MOPAC (PM6) | DFT | Error | Time (MOPAC) | Time (DFT) | |----------|-----------|-----|-------|-------------|----------| | Geometry | 0.02 Å | 0.01 Å | ±0.01 Å | 5 sec | 5 min | | Energy | ±1-2 eV | ±0.1 eV | ±1 eV | 5 sec | 5 min | | Barriers | ±2-4 kcal | ±0.5 kcal | ±2 kcal | 30 sec | 2-4 hrs | | pKa | ±0.5 units | ±0.3 units | ±0.5 | 20 sec | 30 min |
When to use MOPAC:
When to use DFT:
# 1. Optimize structure
python mopac_optimize.py --smiles "CC(C)CC(N)C(=O)O" --method PM6
# 2. Calculate properties
python mopac_properties.py --structure optimized.xyz --include-frequencies
# 3. Find transition state
python mopac_transition_state.py --reactant reactant.xyz --product product.xyz
# 4. Predict pKa
python mopac_pka.py --structure molecule.xyz --solvent water
# 5. Analyze reactivity
python mopac_reactivity.py --structure molecule.xyz --method PM6-D3H4X
tools
Onboard and manage Paperclip AI for research-paper knowledge and agent orchestration
development
Perform AI-powered web searches with real-time information using Perplexity models via LiteLLM and OpenRouter. This skill should be used when conducting web searches for current information, finding recent scientific literature, getting grounded answers with source citations, or accessing information beyond the model knowledge cutoff. Provides access to multiple Perplexity models including Sonar Pro, Sonar Pro Search (advanced agentic search), and Sonar Reasoning Pro through a single OpenRouter API key.
testing
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
development
Execute arbitrary Python code and return stdout. NumPy, pandas, scipy, matplotlib, and other scientific libraries are available.