Mxl Driver Psi4 Rtehrenfest

This skill should be used when users want to run the Psi4 RT-Ehrenfest driver (rtehrenfest) with MaxwellLink and need parameters, charge conventions, and socket/embedded invocation patterns.

9 stars 5 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add TaoELi/MaxwellLink --skill mxl-driver-psi4-rtehrenfest
Manual install
git clone --depth 1 https://github.com/TaoELi/MaxwellLink.git /tmp/MaxwellLink
mkdir -p ~/.claude/skills
cp -r /tmp/MaxwellLink/skills/mxl-driver-psi4-rtehrenfest ~/.claude/skills/mxl-driver-psi4-rtehrenfest

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Psi4 RT-Ehrenfest driver (`rtehrenfest`)

## Confirm prerequisites
- Ensure `psi4` is 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 rtehrenfest --address <host> --port <port> --param "molecule_xyz=../HCN_benchmark/hcn.xyz, functional=b3lyp, basis=cc-pvdz, dt_rttddft_au=0.04788, dft_grid_name=SG1, memory=2GB, num_threads=1, force_type=ehrenfest, n_fock_per_nuc=6, n_elec_per_fock=6"`

## Configure embedded mode
- Instantiate:
  - `Molecule(driver="rtehrenfest", driver_kwargs={...})`

## Notes
- Use `force_type=bo` when nuclear gradients from Born–Oppenheimer surfaces are required; use `force_type=ehrenfest` for mean-field forces.
- When passing `partial_charges` on the command line, use a space-separated list in brackets (no commas), e.g. `partial_charges=[1.0 -1.0 0.0]`.
- On HPC, match `num_threads` to `--cpus-per-task` (single driver) or set `num_threads=1` when launching many drivers in the same SLURM job.
- For coupled 3D plasmonic Meep + many RT-Ehrenfest drivers, prefer scaffold template: `skills/mxl-project-scaffold/assets/templates/slurm-meep-plasmon-rteh-tcp`.
- Read full parameter docs in `docs/source/drivers/rtehrenfest.rst`.
Read the full skill on GitHub

Details

Skill name
mxl-driver-psi4-rtehrenfest
Path
skills/mxl-driver-psi4-rtehrenfest/SKILL.md
License
GPL-2.0
Repo updated
17 November 2026

FAQ

What does the Mxl Driver Psi4 Rtehrenfest skill do?

This skill should be used when users want to run the Psi4 RT-Ehrenfest driver (rtehrenfest) with MaxwellLink and need parameters, charge conventions, and socket/embedded invocation patterns.

How do I install the Mxl Driver Psi4 Rtehrenfest skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add TaoELi/MaxwellLink --skill mxl-driver-psi4-rtehrenfest. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Mxl Driver Psi4 Rtehrenfest popular?

It lives in TaoELi/MaxwellLink, which has 9 GitHub stars and 5 forks.

Related skills

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.