Skip to content
Agentmart
Submit a tool

mxl-meep

This skill should be used when users need MaxwellLink + Meep FDTD workflows, including embedded vs socket coupling, MPI considerations, and recommended…

Skill by TaoELi

IndexedGPL-2.0★ 9
Write a review

Chalk Labs

Need help deploying mxl-meep?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/taoeli-mxl-meep

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

This skill should be used when users need MaxwellLink + Meep FDTD workflows, including embedded vs socket coupling, MPI considerations, and recommended templates.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mxl-meep

What's inside

Skill name
mxl-meep
Description
This skill should be used when users need MaxwellLink + Meep FDTD workflows, including embedded vs socket coupling, MPI considerations, and recommended templates.
License
GPL-2.0
Instructions
35 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • meep_run_recipes.md · references/

SKILL.md (first lines)

# Meep FDTD workflows (MaxwellLink)

## Confirm prerequisites
- Ensure `pymeep` is installed and importable before generating Meep-based inputs.
- Use `mxl.MeepSimulation` (not raw `meep.Simulation`) when using the unified `mxl.Molecule` API.

## Build a Meep-coupled run
- Set `time_units_fs` explicitly and keep it consistent across analysis.
- Create molecules with either:
  - Embedded driver: `Molecule(driver=..., driver_kwargs=...)`
  - Socket driver: `SocketHub(...)` + `Molecule(hub=hub, ...)`
- For "baseline" EM-only runs (no molecules), use raw `mp.Simulation(...)`; switch to `mxl.MeepSimulation(...)` only when MaxwellLink molecules are present (common when generating reference spectra/fields first, then enabling coupling).
- Use `boundary_layers=[mp.PML(...)]`, set `resolution`, and keep `Courant=0.5` (Meep default).

## Prefer templates
- Start from the copy-ready templates:
  - `skills/mxl-project-scaffold/assets/templates/meep-tls-embedded`
  - `skills/mxl-project-scaffold/assets/templates/meep-tls-socket-unix`
  - `skills/mxl-project-scaffold/assets/templates/slurm-meep-plasmon-rteh-tcp` (3D plasmonic structure + RT-Ehrenfest molecular lattice)
- Use SLURM/HPC patterns from `skills/mxl-hpc-slurm/SKILL.md` for multi-node socket runs.

## References
- Recipes: `skills/mxl-meep/references/meep_run_recipes.md`
- Docs: `docs/source/em_solvers/meep.rst`

## MPI/libfabric init tips (macOS/local single-rank)
- Sandbox note: sandboxed runs often block the libfabric endpoint; if `MPI_Init_thread` fails with `ep_enable`/socket errors, rerun **unsandboxed** (`sandbox_permissions=require_escalated`).
- When Matplotlib is imported, set `MPLCONFIGDIR=/tmp/mplconfig` to avoid cache permission errors.

## Other common bugs 
- The `dimensions=...` input can only be assigned in `mxl.Molecule()` not `mxl.MeepSimulation()`. For example, assigning `dimensions=1` in both `mxl.Molecule()` and `mxl.MeepSimulation()` will lead to runtime error: `meep: cannot require a ez component in a 1D grid`.
- In 1D and 2D simulations, `mxl.Molecule` (or molecular drivers) should have a transition dipole moment along z-direction, because `mxl.MeepSimulation()` sets the `mxl.Molecule` to emit only along z-direction in 1D and 2D.
- Cylindrical cells additionally support an on-axis x/y dipole with `polarization_type="analytical"` and `m=+1` or `m=-1` passed to `mxl.MeepSimulation()`. Unlike the x/y/z^2-weighted Cartesian analytical kernels, the cylindrical x/y dipole uses an isotropic Gaussian polarization density, which is exactly representable in a single `|m|=1` sector.

From TaoELi/MaxwellLink, GPL-2.0.

More from TaoELi/MaxwellLink

Signals

Stars
9
Forks
5
Open issues
0
Last commit (this folder)
Aug 9, 2026 (2 months ago)
Last release
Oct 22, 2026 (15 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from TaoELi

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get mxl-meep running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying mxl-meep?

CallGet help
Cite this page

mxl-meep skill. Agent Mart. https://agentmart.dev/skills/taoeli-mxl-meep (last updated 2026-10-24)