Mxl Core

This skill should be used when users need the canonical MaxwellLink workflow, including socket vs embedded coupling, units/time handling, and MPI/HPC invariants.

9 stars 5 forksProductivity & Notes

Install

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

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

From the SKILL.md

# MaxwellLink core workflow

## Enforce invariants
- Create new runnable inputs only under `projects/YYYY-MM-DD-NAME/`.
- Keep runs reproducible by storing parameters in a `config.json` (or similar) and avoiding hard-coded absolute paths.
- Never pass both `hub=...` and `driver=...` to `maxwelllink.Molecule`; provide exactly one.

## Choose coupling mode
- Use embedded mode when the driver can run in the same Python process:
  - Construct molecules with `Molecule(driver="<id>", driver_kwargs={...})`.
- Use socket mode when drivers must run as separate processes or nodes:
  - Construct a `SocketHub(...)`, pass `hub=hub` into each `Molecule(...)`, and launch one `mxl_driver --model <id> ...` per molecule.
- If local socket runs fail with MPI/network permission errors, prefer embedded mode (`Molecule(driver="...", ...)`) on local machines and reserve socket mode for SLURM/HPC.
- For local socket mode, you can disable MPI auto-init with `MPI4PY_RC_INITIALIZE=0` and ensure loopback NIC usage (use `127.0.0.1`; set site-specific NIC selection env vars if MPI/OFI tries a non-loopback interface).

## Handle units/time
- For Meep: set `time_units_fs` on `MeepSimulation(...)` and keep it consistent when interpreting driver times.
- For SingleMode/LaserDriven: work directly in atomic units and set `dt_au` explicitly.

## Handle MPI and multi-process execution
- Launch socket drivers only once (rank 0) under MPI; rely on MaxwellLink broadcasts for other ranks.
Read the full skill on GitHub

Details

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

FAQ

What does the Mxl Core skill do?

This skill should be used when users need the canonical MaxwellLink workflow, including socket vs embedded coupling, units/time handling, and MPI/HPC invariants.

How do I install the Mxl Core skill?

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

Is Mxl Core popular?

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

Related skills

Mxl CLI

9

TaoELi/MaxwellLink

This skill should be used when users need to initialize, clean, or configure MaxwellLink workspaces using the mxl command family.

Software Development

Mxl Driver Ase

9

TaoELi/MaxwellLink

This skill should be used when users want to run the ASE driver for classical/BOMD dynamics in MaxwellLink and need charge conventions and socket/embedded invocation patterns.

Other

Mxl Driver Dftbplus

9

TaoELi/MaxwellLink

This skill should be used when users want to couple MaxwellLink to the MaxwellLink-aware DFTB+ fork via the `MaxwellLinkSocket` block, including real-time Ehrenfest dynamics, VelocityVerlet Born-Oppenheimer MD, dipole-derivative choices, build/install, and TCP/UNIX socket connection patterns.

Other

Mxl Index

9

TaoELi/MaxwellLink

This skill should be used when users ask how to set up, choose, or run a MaxwellLink simulation and the correct solver/driver/HPC/post-processing workflow must be selected.

Productivity & Notes

Better Notes

9

HOWILLMAKEIT/skills

编写、整理或重写有事实依据的技术与知识笔记。用户要求“写笔记”“整理知识点”“做学习笔记”“写教程/概念说明”,尤其涉及 API、库、框架、论文、算法或可能随版本变化的内容时使用。笔记对象是论文时,按固定四部分模板写:研究现状和作者动机、方法简要介绍(带论文主图)、方法细节、实验。写作前必须先查阅网络上的官方文档、发布说明、论文、技术博客或文章,核对版本、弃用状态与替代方案;不能只凭模型记忆成文。输出简洁、直接,不用比喻,并把前置条件、输入、处理过程、输出、限制和来源说清楚。笔记保存在 Obsidian 库时,用 Datacore 的 JSX 交互组件取代 Mermaid 图,并在有助于理解处补充小组件。不用于仅做文字校对,或逐字整理用户提供的私人会议记录。

Productivity & Notes

Mxl Meep

9

TaoELi/MaxwellLink

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

Productivity & Notes

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.