gaussian
Skill4 starsChanged 4 months agoMITView on GitHub
Use when preparing, reviewing, or troubleshooting licensed Gaussian electronic-structure calculations, especially jobs involving optimization, frequencies, excited states, checkpoint reuse, or Gaussian input and output files.
In this repository8 other files it gives its agents.
- molecular-orbital-analysisSkill
- molecular-samplerSkill
- momapSkill
- multiwfnSkill
- pyscfSkill
- rdkit-chemistrySkill
- xtb-cluster-mdSkill
- xyzrenderSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Treat every calculation as a provenance-bearing scientific run.
- Distinctive: line 22
Keep hosts, user names, ports, credentials, module names, and scratch paths in private site configuration, never in this reusable skill.
- Distinctive: line 25
Do not claim a Gaussian calculation was executed when the licensed executable was unavailable.
- Distinctive: line 30
Before writing the input, require and record:
- Distinctive: line 56
Freeze the scientific protocol: Document the target, molecular state, geometry, method, basis/ECP, environment, and acceptance thresholds …
- Very specific: line 59
Create a fresh run identity: Use unique input, log, and %Chk names.
- Very specific: line 60
When reading a prior job, use %OldChk for the immutable source and %Chk for a new destination checkpoint.
- Distinctive: line 64
Build and review the input: Check section order, blank lines, atom count, geometry units, charge and multiplicity, route syntax, and …
- Distinctive: line 73
Parse the complete log: Check termination, SCF and geometry convergence, state tracking, warnings, and task-specific acceptance criteria.
- Very specific: line 104
Every required SCF step converged.
- Distinctive: line 143
Excited-state root change: stop state-specific interpretation, identify state character, and restart only with a documented tracking …
- Distinctive: line 145
Checkpoint read failure: verify revision compatibility, source-job acceptance, and direction of conversion.
- Distinctive: line 150
Never overwrite the failed log.
≈ “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
Gaussian electronic-structure calculations
Treat every calculation as a provenance-bearing scientific run. Never infer success from an output file or checkpoint file merely existing, and never add keywords whose behavior has not been checked against the installed revision.
Prerequisites
- Confirm access to a separately licensed, authorized Gaussian installation.
- Record the product, revision, executable, scheduler, and site module used.
- Locate the matching
formchkandunfchkutilities when checkpoint conversion is required. Do not mix utilities from an unrelated installation. - Obtain a writable scratch directory with sufficient quota and a scheduler
allocation consistent with
%Memand%NProcShared. - Keep hosts, user names, ports, credentials, module names, and scratch paths in private site configuration, never in this reusable skill.
Do not claim a Gaussian calculation was executed when the licensed executable was unavailable. Input review and static validation are distinct from a run.
Input contract
Before writing the input, require and record:
- the target property or decision and its acceptance criteria;
- geometry source, coordinate units, molecular identity, and conformer;
- molecular charge and multiplicity, including an electron-count and spin consistency check;
- electronic state and, for excited states, the requested manifold, number of roots, target root, and how state identity will be tracked;
- method, basis set or ECP, solvent/environment model, and the source of that protocol;
- job type, numerical settings, resource limits, and output units;
- new input, log, and checkpoint names plus any explicitly approved old checkpoint.
Fail closed when any item needed to interpret the result is unknown. Do not silently choose a functional, basis, charge, multiplicity, solvent, state, or unit. Refuse an existing output target unless overwrite was explicitly approved and its provenance is preserved.
A Gaussian input has Link 0 commands, a route section, a title, the charge and
multiplicity line, and a molecule specification unless Geom explicitly reads
some or all of those data from a compatible checkpoint. Use
WORKFLOWS.md for minimal templates.
Workflow
- Freeze the scientific protocol. Document the target, molecular state, geometry, method, basis/ECP, environment, and acceptance thresholds before editing Gaussian input.
- Create a fresh run identity. Use unique input, log, and
%Chknames. When reading a prior job, use%OldChkfor the immutable source and%Chkfor a new destination checkpoint. For S0-to-emission work, use the explicit five-stage chain inWORKFLOWS.md; do not re-paste geometry between accepted stages. - Build and review the input. Check section order, blank lines, atom count, geometry units, charge and multiplicity, route syntax, and resource values. Resolve every placeholder in a template.
- Check revision-specific syntax. Consult the installed Gaussian manual or
the official keyword pages.
KEYWORDS.mdlists only a small, conservative orientation set; it is not a production keyword catalogue. - Submit through the authorized local or scheduler procedure. Capture the exact command, exit status, scheduler job identifier, environment, and standard error without embedding private connection details in the skill.
- Parse the complete log. Check termination, SCF and geometry convergence, state tracking, warnings, and task-specific acceptance criteria. For every excited-state stage, record excitation energy, oscillator strength, leading configuration/NTO character, and a state-continuity decision rather than following the root number alone.
Post-process only an accepted source job. Convert a binary checkpoint to a formatted checkpoint with:
test ! -e molecule.fchk && test ! -L molecule.fchk || exit 1 formchk molecule.chk molecule.fchkThe reverse operation is explicitly:
test ! -e molecule-restored.chk && \ test ! -L molecule-restored.chk || exit 1 unfchk molecule.fchk molecule-restored.chkformchkis binary checkpoint to formatted checkpoint;unfchkis formatted checkpoint to a machine-local binary checkpoint. Never describe them as interchangeable alternatives.
Validation and acceptance
Apply all relevant gates:
- The process exit status is successful and the final job step contains
Normal termination of Gaussian; no later error or truncated section exists. - Every required SCF step converged. An
SCF Doneline by itself is not enough to accept an optimization, frequency, or excited-state workflow. - An optimization reports convergence to a stationary point and the accepted geometry is the final converged geometry, not merely the last printed one.
- A claimed minimum has no chemically meaningful imaginary frequencies. A claimed first-order transition state has exactly one intended negative mode, and its displacement is inspected; use IRC when reaction-path assignment is required. Report the numerical threshold used to distinguish noise.
- Excited-state jobs retain the intended state character, not just the same root number, across the geometry path.
- A claimed S1 minimum has a compatible accepted excited-state frequency
analysis. Otherwise label it
optimized S1 stationary geometryand recordminimum_not_verified. - A reported vertical emission energy is the target-state TD excitation energy at the accepted excited-state geometry, with oscillator strength, units, and state-character evidence. It is not a difference of raw SCF reference energies from separate jobs.
- Charge, multiplicity, atom count, method, basis/ECP, solvent, and units in the output agree with the input contract.
- A required checkpoint is non-empty and belongs to this accepted job. Its existence does not replace log validation.
- A generated formatted checkpoint is non-empty and
formchkexits successfully before it is supplied to downstream software.
Record warnings and deviations even when all acceptance gates pass.
Failure handling
- No normal termination: mark the run failed or incomplete; inspect the end of the log and scheduler diagnostics before changing anything.
- Input or keyword error: correct only the diagnosed syntax using the installed revision's documentation. Do not pile on speculative keywords.
- SCF failure: first check geometry, charge/spin, method suitability, linear dependence, and numerical diagnostics. Change one justified setting at a time and create a new run identity.
- Optimization failure: inspect forces, steps, constraints, and the actual structure. Do not accept the final printed geometry as optimized.
- Unexpected frequencies: inspect normal modes and geometry; do not delete modes, take absolute values, or relabel a saddle point as a minimum.
- Excited-state root change: stop state-specific interpretation, identify state character, and restart only with a documented tracking strategy.
- Checkpoint read failure: verify revision compatibility, source-job acceptance, and direction of conversion. Preserve the original checkpoint.
- Resource or license failure: resolve the site allocation or authorization; it is not a scientific convergence problem.
Never overwrite the failed log. Keep it linked to the corrected rerun.
Output and reporting
Return a compact run record containing:
- status:
accepted,failed,incomplete, ornot_run; - molecular identity, geometry source, charge, multiplicity, and target state;
- Gaussian product/revision and executable provenance;
- method, basis/ECP, environment, numerical settings, and units;
- scheduler/job identifier, resources, command, exit status, and elapsed time;
- paths and hashes for input, complete log, accepted geometry, checkpoint, and formatted checkpoint when created;
- the exact termination, SCF, optimization, frequency, and state-tracking gates applied;
- requested observables with units, warnings, deviations, and unresolved limitations.
Separate measured output from interpretation. Leave unavailable values
explicitly not_computed; never fill them with estimates or placeholders.
References
- Gaussian official keyword index
- Gaussian Link 0 commands
- Gaussian geometry keyword
- Gaussian optimization keyword
- Gaussian formatted-checkpoint guidance
- Local conservative keyword orientation
- Local reviewed input templates
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.

