fdtd-full

fdtd-full is a command for coding agents from Lex669/LumericalFDTD-skill. It costs 32 tokens per session (371 once invoked), scanned A, original, MIT.

An end-to-end workflow for Ansys Lumerical FDTD, a tool that simulates how light behaves in designed devices. It builds a model, runs the simulation, analyzes the results, and records whether they meet the requirements.

In plain words
What is it for?
Use it to create simulation scripts, produce FDTD project and result files, generate analysis charts, and document the parameters and findings in a report.
Why use it?
It removes the need to coordinate modeling, simulation, result checking, charts, and reporting by hand. It also provides a defined process for fixing simulation errors and rerunning the work.

Command

Part of the LumericalFDTD plugin — 5 skills, 4 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/lex669/lumericalfdtd-skill/fdtd-full
Clone the repo
git clone --depth 1 https://github.com/Lex669/LumericalFDTD-skill

Or install LumericalFDTD, the plugin that ships this one along with the rest of its 5 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fdtd-full

README.md
[![agentmods](https://agentmods.dev/badge/commands/lex669/lumericalfdtd-skill/fdtd-full.svg)](https://agentmods.dev/commands/lex669/lumericalfdtd-skill/fdtd-full)
Your own site
<a href="https://agentmods.dev/commands/lex669/lumericalfdtd-skill/fdtd-full"><img src="https://agentmods.dev/badge/commands/lex669/lumericalfdtd-skill/fdtd-full.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00032 $0.00371
Opus 5 $0.00016 $0.00186
Sonnet 5 $0.00006 $0.00074
Haiku 4.5 $0.00003 $0.00037

Measured 5d ago against content hash 572e27463b41, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fdtd-full scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/fdtd-full.md · 31 lines

What it actually says

FDTD 全流程自动化

使用 LumericalFDTD skill,严格按以下三阶段执行:

阶段 A:准备与建模

  1. 理解需求 — 器件结构、材料、光源、监视器、验收条件
  2. 环境探测 — 定位 Lumerical Python 解释器
  3. 编写 *_sim.py — 结构构建、光源、监视器、数据保存

阶段 B:执行仿真(不可跳过)

  1. 运行仿真脚本 — 调用 Lumerical Python 解释器
  2. 检查输出 — 确认 .fsp.npz 已生成
  3. 如遇错误 — 查 common-errors.md,修复后重跑(最多 5 次)
  4. 编写并运行 *_analysis.py — 读取 .npz,绘图保存 .png

阶段 C:验收

  1. 验证结果 — 检查图表是否满足验收条件
  2. 更新 REPORT.md — 记录参数、结果摘要、图表说明

完成定义

  • fsp/*.fsp — 仿真项目文件
  • data/*.npz — 仿真结果数据
  • pic/*.png — 结果图表
  • *_sim.py — 仿真脚本
  • *_analysis.py — 分析脚本
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 31 lines · 32 tokens per session scan A 572e27463b41

Subscribe to this mod's changes

fdtd-full is a command published in the GitHub repository Lex669/LumericalFDTD-skill (23 stars, last pushed 15d ago), licensed MIT. It adds 32 tokens to every session and 371 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.