smithery.ai

mxl-singlemode

This skill should be used when users need the MaxwellLink single-mode cavity solver for fast prototyping and regression, in either socket or embedded mode.

First seen Mar 28, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,605 B
  • docs SUMMARY.md 177 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Single-mode cavity workflows (MaxwellLink)

Use for fast prototyping

  • Use mxl.SingleModeSimulation when a 1-mode cavity surrogate is sufficient and Meep is too heavy.

Configure

  • Set dtau, frequencyau, dampingau, couplingstrength, and coupling_axis.
  • Optional physics knobs used in strong-coupling workflows: include_dse.
  • Drive routing knobs: exciteph (default True) sends the drive term to the cavity EOM; excitemol (default False) adds the drive term to the effective electric field acting on the molecules along coupling_axis. Enabling both at once is allowed but emits a warning.
  • Thermal knobs: temperatureau (a.u., default 0.0) sets the thermal scale. Add initializer="maxwellboltzmann" to seed initial qc/pc from a Maxwell-Boltzmann distribution, overriding any user-provided qcinitial/pcinitial. Add langevintauau (Langevin relaxation time, a.u.) to thermostat the cavity momentum every step; leave langevintauau=None for NVE dynamics. Use random_seed for reproducible sampling/kicks.
  • Attach molecules in embedded or socket mode (same Molecule interface as elsewhere).

Prefer templates

  • Template: skills/mxl-project-scaffold/assets/templates/singlemode-tls-socket-tcp

References

  • Recipes: skills/mxl-singlemode/references/singlemoderunrecipes.md
  • Docs: docs/source/emsolvers/singlemode_cavity.rst