LumericalFDTD-simulation SKILL.md skillA
LumericalFDTD-simulation from lex669/lumericalfdtd-skill is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add lex669/lumericalfdtd-skill/LumericalFDTD-simulation@git:20260617.2161c01Pins git:20260617.2161c01 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- lex669/lumericalfdtd-skill
- Path
skills/LumericalFDTD-simulation/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260617.2161c01, committed Jun 17, 2026
- Size
- 4,272 bytes
- Repository stars
- 44
- License
- MIT
执行 Ansys Lumerical FDTD 仿真脚本、自动迭代 debug、提取结果数据。当你需要运行FDTD仿真、调试仿真错误、提取.npz结果时使用此skill。 Execute Ansys Lumerical FDTD simulation scripts with automated debug loops and result extraction. Use when running FDTD simulations, debugging errors, or extracting .npz results.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# FDTD 仿真执行器
## 职责范围
本 skill **仅负责**仿真执行阶段:环境探测、运行仿真、错误修复、结果提取。输出 `.fsp` 和 `.npz` 文件。
**不负责**:结构建模(→ `LumericalFDTD-modeling`)、数据分析与绘图(→ `LumericalFDTD-analysis`)、端到端全流程(→ `LumericalFDTD`)。
## 前置条件
仿真脚本 `*_sim.py`(或 `*_model.py` 加上 `fdtd.run()` 和 `fdtd.save()` 调用)必须已存在。若不存在,先使用建模 skill。
## 环境探测(本会话首次执行)
### 1. 探测操作系统
- **Windows**: `python.exe`,路径含盘符,反斜杠分隔
- **Linux**: `python` 或 `python3`,正斜杠分隔
### 2. 定位 Lumerical Python 解释器
按以下优先级尝试:
**Windows 常见路径:**
```
C:\Apps\ANSYS Inc\v252\Lumerical\python\python.exe
C:\Program Files\ANSYS Inc\v252\Lumerical\python\python.exe
C:\Program Files\Lumerical\v252\python\python.exe
```
**Linux 常见路径:**
```
/opt/ansys_inc/v252/Lumerical/python/python
/opt/lumerical/v252/python/python
/usr/local/lumerical/v252/python/python
```
若所有默认路径都不存在,**向用户询问**实际安装路径和版本号。
### 3. 调用方式
**PowerShell**(路径含空格时用 `&` 操作符):
```powershell
& '{PYTHON_PATH}' 'script.py'
```
**Bash / Git Bash**(`&` 不支持,直接调用):
```bash
'path/to/python.exe' 'script.py'
```
## 仿真执行
### 执行步骤
```
# 步骤 1:运行仿真脚本(耗时最长)
bash: & 'PYTHON_PATH' 'path/to/project_sim.py'
# 步骤 2:确认输出
bash: ls path/to/project/data/
# 预期:results.npz 等文件
# 步骤 3:检查日志
bash: cat path/to/project/fsp/*_p0.log
…Read the whole file at its exact version.
How to install
mdr add lex669/lumericalfdtd-skill/LumericalFDTD-simulation@sha256:57c3d31882cf74beThe line at the top of this page pins the label git:20260617.2161c01, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_najp3v2nldpcqsdz)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Jun 17, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4272 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
lex669/lumericalfdtd-skill · 44 stars · license MIT · pushed 2026-10-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_najp3v2nldpcqsdz GET https://markdownregistry.com/api/v1/resolve?ref=lex669/lumericalfdtd-skill/LumericalFDTD-simulation GET https://markdownregistry.com/api/v1/blob/57c3d31882cf74be6b647dd98873bc56578867f1411790e5343b37a59ad88f48
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.