TaoELi

mxl-singlemode

by @TaoELi in Tools
6
1
# Install this skill:
npx skills add TaoELi/MaxwellLink --skill "mxl-singlemode"

Install specific skill from multi-skill repository

# Description

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.

# SKILL.md


name: mxl-singlemode
description: 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.


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 dt_au, frequency_au, damping_au, coupling_strength, and coupling_axis.
  • Optional physics knobs used in strong-coupling workflows: include_dse and gauge="dipole"|"velocity".
  • 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/singlemode_run_recipes.md
  • Docs: docs/source/em_solvers/single_mode_cavity.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.