fdtd-analyze

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

A command for analyzing data produced by an FDTD light simulation. It reads NPZ files, a format for stored numerical data, calculates optical measurements, and saves PNG charts.

In plain words
What is it for?
Use it to calculate transmission, field patterns, mode distributions, or diffraction rings, then save the results as PNG images in the picture folder.
Why use it?
It lets you change the analysis or charts without running the time-consuming simulation again. It also checks whether the results meet stated acceptance conditions.

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-analyze
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-analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/lex669/lumericalfdtd-skill/fdtd-analyze.svg)](https://agentmods.dev/commands/lex669/lumericalfdtd-skill/fdtd-analyze)
Your own site
<a href="https://agentmods.dev/commands/lex669/lumericalfdtd-skill/fdtd-analyze"><img src="https://agentmods.dev/badge/commands/lex669/lumericalfdtd-skill/fdtd-analyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 177 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.00033 $0.00177
Opus 5 $0.00016 $0.00088
Sonnet 5 $0.00007 $0.00035
Haiku 4.5 $0.00003 $0.00018

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

Security

Grade A, and why

fdtd-analyze 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-analyze.md · 16 lines

What it actually says

FDTD 数据分析

使用 LumericalFDTD-analysis skill 完成以下工作:

  1. 读取 .npz 仿真数据
  2. 计算光学指标(透射率、模式分布、衍射环、场分布等)
  3. 生成发表级图表(.png),保存到 pic/ 目录
  4. 验证结果是否满足验收条件

分析脚本(*_analysis.py)修改后可反复执行,无需重跑仿真。如尚未跑仿真,请先使用 /fdtd-simulate

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 · 16 lines · 33 tokens per session scan A f77a664bd3ab

Subscribe to this mod's changes

fdtd-analyze is a command published in the GitHub repository Lex669/LumericalFDTD-skill (23 stars, last pushed 15d ago), licensed MIT. It adds 33 tokens to every session and 177 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.