Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/kdevos12/alkyl/qm-dftnpx skills add Kdevos12/ALKYL --skill qm-dftgit clone --depth 1 https://github.com/Kdevos12/ALKYLWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kdevos12/alkyl/qm-dft)<a href="https://agentmods.dev/skills/kdevos12/alkyl/qm-dft"><img src="https://agentmods.dev/badge/skills/kdevos12/alkyl/qm-dft.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00077 | $0.01213 |
| Opus 5 | $0.00039 | $0.00607 |
| Sonnet 5 | $0.00015 | $0.00243 |
| Haiku 4.5 | $0.00008 | $0.00121 |
Grade A, and why
qm-dft scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run( How it starts
The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
QM/DFT — Quantum Chemistry Calculations
Quantum mechanics-based methods compute electronic structure explicitly — enabling bond breaking/forming, spectroscopic properties, and accurate energetics beyond force fields. Python ecosystem: ORCA (best free QM, subprocess), xTB/tblite (fast semi-empirical, Python API), PySCF (pure Python, scriptable).
When to Use This Skill
- Geometry optimization with QM accuracy (beyond MM force fields)
- Reaction energetics: transition states, barrier heights, IRC
- Spectroscopy: IR/Raman frequencies, NMR shifts, UV-Vis (TD-DFT)
- Partial charge calculation: RESP, ESP, NBO, Mulliken
- pKa estimation, protonation states
- Conformer search and ranking (CREST + xTB)
- Parametrization validation: compare QM vs force field energies
- Property prediction: dipole moment, polarizability, HOMO/LUMO gaps
Method Cost Hierarchy
| Method | Cost | Accuracy | Use case |
|---|---|---|---|
| GFN-FF | O(N²) | ~MM | Pre-screening, conformers |
| GFN2-xTB | O(N²·8) | Good | Conformers, pre-opt, pKa |
| r²SCAN-3c | O(N³) | Very good | Routine geometry opt |
| B3LYP-D3BJ/def2-SVP | O(N⁴) | Good | Drug-like molecules opt |
| B3LYP-D3BJ/def2-TZVP | O(N⁴) | Better | Single-point on opt geom |
| ωB97X-D/def2-TZVP | O(N⁴) | Very good | Reaction barriers, CT states |
| DLPNO-CCSD(T)/CBS | O(N⁵⁺) | Benchmark | High-accuracy energetics |
Quick Start
# xTB geometry optimization (fastest QM-level method)
import subprocess
result = subprocess.run(
['xtb', 'mol.xyz', '--opt', '--gfn', '2', '--alpb', 'water'],
capture_output=True, text=True, cwd='workdir/'
)
# Output: xtbopt.xyz (optimized), xtbopt.log
# Parse final energy
for line in result.stdout.split('\n'):
if 'TOTAL ENERGY' in line:
energy = float(line.split()[3]) # Hartree
print(f"E = {energy:.8f} Eh")
# ORCA single-point DFT (via subprocess)
orca_input = """\
! B3LYP D3BJ def2-SVP TightSCF
%pal nprocs 4 end
%maxcore 2000
* xyzfile 0 1 mol.xyz
"""
with open('sp.inp', 'w') as f:
f.write(orca_input)
result = subprocess.run(['orca', 'sp.inp'], capture_output=True, text=True)
# Parse with chem_qm.py: python chem_qm.py --parse sp.out
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 97 lines · 77 tokens per session scan A 4904fbed4847
qm-dft is a skill published in the GitHub repository Kdevos12/ALKYL (6 stars, last pushed 5mo ago), licensed MIT. It adds 77 tokens to every session and 1,213 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
datamol
Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…
deepchem
Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…
molecular-optimization
Iterative lead optimization with analyze-reason-generate-verify-evaluate loop. Paper-backed (MT-Mol, DrugR, MultiMol).
admet-reasoning
Interpretable ADMET analysis with mechanistic reasoning. Maps liabilities to structural causes and biological pathways. Based on CoTox (Park 2025) and DrugR (Liu 2026).
rdkit
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom…
smiles-validation
Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.