Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add TaoELi/MaxwellLink --skill "mxl-driver-psi4-rttddft"
Install specific skill from multi-skill repository
# Description
This skill should be used when users want to run the Psi4 RT-TDDFT driver (rttddft) with MaxwellLink and need required inputs, parameters, and socket/embedded invocation patterns.
# SKILL.md
name: mxl-driver-psi4-rttddft
description: This skill should be used when users want to run the Psi4 RT-TDDFT driver (rttddft) with MaxwellLink and need required inputs, parameters, and socket/embedded invocation patterns.
Psi4 RT-TDDFT driver (rttddft)
Confirm prerequisites
- Ensure
psi4is installed and importable in the driver environment. - Provide an XYZ geometry file whose second line specifies charge and multiplicity (e.g.,
0 1).
Configure socket mode
- Run:
mxl_driver --model rttddft --address <host> --port <port> --param "molecule_xyz=../tddft_benchmark/hcn.xyz, functional=b3lyp, basis=cc-pvdz, dt_rttddft_au=0.04, dft_grid_name=SG1, electron_propagation=pc, threshold_pc=1e-6, memory=16GB, num_threads=16" --verbose
Configure embedded mode
- Instantiate:
Molecule(driver="rttddft", driver_kwargs={...})
Notes
- Keep
dt_rttddft_ausmall enough for stable electronic propagation; the driver can sub-step under a larger EM time step. - On HPC, match
num_threadsto--cpus-per-task(single driver) or setnum_threads=1when launching many drivers in the same SLURM job. - Use
checkpoint=trueandrestart=truefor long jobs or unstable HPC environments. - Read full parameter docs in
docs/source/drivers/rttddft.rst.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.