Input Skill
Use this skill to turn a SMILES string into selected Gaussian and/or ORCA input files with an auditable method/basis recommendation.
Required Inputs
Always collect these before running the pipeline:
- SMILES string.
- Output program:
gaussian,orca, orboth. - Task:
sp,opt,freq,opt-freq,tddft,nmr,interaction-sp, orhigh-accuracy-sp. - Number of CPU cores.
- Total memory, for example
8GBor64000MB. - Net charge.
- Spin multiplicity.
Do not silently infer charge or multiplicity from SMILES. You may mention the formal charge after generation if RDKit reports a mismatch.
When the user has not chosen a program, ask whether they want Gaussian only, ORCA only, or both. Recommend both when they are comparing engines or preparing a portable starting point.
Quick Start
If RDKit is missing, ask the user before running setup:
bashpython3 skills/input-skill/scripts/input_pipeline.py --setup
Ask interactively for missing inputs:
bashpython3 skills/input-skill/scripts/input_pipeline.py --interactive
Generate both Gaussian and ORCA inputs:
bashpython3 skills/input-skill/scripts/input_pipeline.py \ --smiles 'c1ccccc1' \ --task opt-freq \ --cores 4 \ --memory 8GB \ --charge 0 \ --multiplicity 1 \ --program both
Generate only one program by changing --program to gaussian or orca.
Use --name <basename> to control output filenames. Use --workdir <dir> to choose where the timestamped input-skill-run/ directory is created.
Workflow
- Read
references/benchmark-library.ymlwhen you need to explain or audit method/basis selection. - Run
scripts/input_pipeline.py --setuponly after the user approves installing RDKit into the skill-local.venv. - Ask the user for any missing required inputs, especially the output program choice.
- Run the pipeline with all required inputs. It generates a single RDKit ETKDGv3 conformer and optimizes it with MMFF when available, otherwise UFF.
- Prefer normal Multiwfn generation. The pipeline writes
structure.xyzand only the selected program templates, then drives Multiwfngiand/oroi -> -100template injection. - Return the generated
.gjfand/or.inp,recommendation.md, andmanifest.jsonpaths. Mention any warnings frommanifest.json.
Resource Semantics
Interpret user memory as total job memory.
- Gaussian receives
%nprocshared=<cores>and%mem=<total memory>. - ORCA receives
%pal nprocs <cores> endand%maxcore floor(total_MB * 0.75 / cores).
If per-core ORCA memory is below 256 MB, report the warning and ask the user to increase total memory or reduce cores before serious production runs.
Output Contract
The pipeline writes a timestamped output directory containing:
source.smilesstructure.xyztemplate.gjfand<name>.gjfwhen Gaussian is selected.template.orca.inpand<name>.inpwhen ORCA is selected.recommendation.mdmanifest.jsonmultiwfn_gaussian.logand/ormultiwfn_orca.log
The manifest records inputs, RDKit version, random seed, charge/multiplicity, resources, selected benchmark rule, citations, Multiwfn path, commands, outputs, and warnings.
Scientific Guardrails
- Treat generated 3D geometry as a starting structure, not a validated conformational search.
- Warn on unassigned stereocenters, formal-charge mismatch, transition metals, low memory, and Multiwfn fallback generation.
- For transition-metal or unusual spin-state systems, do not present the rule-library choice as generally benchmarked.
- For
high-accuracy-sp, Gaussian output is a conservative DFT fallback when the selected ORCA method has no Gaussian equivalent.


