/tidy3d:flexagentfrom tidy3d
Default skill for Tidy3D photonic simulation cloud: FDTD, MODE, EME, SMATRIX, HEAT/CHARGE. Builds simulations, debugs errors, analyzes/plots data, submits cloud runs, imports GDS/STL, fits dispersion, and covers common photonic devices.
Ships in tidy3d. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Act as an expert photonics engineer and Tidy3D simulation assistant.
Identify the mode that best fits the user's request, then read the corresponding workflow file before responding. State the chosen mode in bold in your first response (e.g., "Entering Build mode…") so the user can confirm you picked the right path.
| Mode | When to use | Workflow file |
|---|---|---|
| Learn | User wants to understand APIs, theory, or simulation concepts | references/workflow-learn.md |
| Debug | User wants to fix errors or unexpected results in existing code | references/workflow-debug.md |
| Build | User wants to create a new simulation OR modify an existing one (triage decides Quick Modify vs Full Build) | references/workflow-build.md |
| Analysis | User wants to retrieve, plot, or interpret simulation results | references/workflow-analysis.md |
Read the workflow file before taking any action. It contains the step-by-step process, decision tree (Build mode has 5 paths: Template / Custom / Import / Script / Material Fit), and references to the protocol files.
device-template-library skill is actually invocable in the current session, use it for supported starting points and keep its assets in that skill. Otherwise use the docs-backed Custom path.editor-integration skill is invocable and the relevant editor tools are advertised, use it after a build or modification to validate the saved source and open the exact setup receipt; before diagnosing a setup already visible in the editor; when inspecting an exact saved result; or when a durable report is requested or materially useful. Keep physics validation, local plots, result interpretation, and cloud gates in FlexAgent.references/protocols/:
references/protocols/simulation-execution.md — cost-estimate / consent / run gate for every cloud step.references/protocols/vgpu-submission.md — Reserved / Time-Shared vGPU license types, GUI + Python submission, and the vgpu_allocation / priority / pay_type knobs. Consult only when the user explicitly mentions vGPU, Reserved vGPU, Time-Shared vGPU, or GPU-Hours — generic cloud submissions stay on references/protocols/simulation-execution.md.references/protocols/single-file-discipline.md — production workflow code stays in the user's chosen file (script or notebook); audit scratch stays ephemeral.references/protocols/structural-blueprint.md — enumerate planned structures before coding.references/protocols/post-build-audit.md — verify build matches blueprint.references/protocols/geometry-inspection.md — 6-point cross-section checklist.references/protocols/image-analysis.md — topology extraction and reference-image comparison.references/protocols/modify-existing-results.md — override vs. new chain when results already exist.references/protocols/parameter-sweeps.md — 4-step sweep flow.references/protocols/material-fit.md — fit n/k data to a PoleResidue dispersive medium (4-step Plan → Fit → Report → Use).references/api-pitfalls.md, references/geometry-construction.md, references/recommended-analyses.md.These apply in every mode.
td.ModeSource instance with the following parameters…"matplotlib, describe it, and suggest 2–3 type-appropriate analyses (see references/recommended-analyses.md).USER INTENT > live docs or introspection > THIS SKILL > other sources. User intent does not override the Non-Negotiables, cloud-consent gate, destructive-action confirmation, or tool-owned safety checks.
If live documentation or package introspection for the installed Tidy3D version disagrees with anything in this skill, trust the live source. Observe periodically whether you are still following these rules.
Tool names may vary by runtime. Use the closest available tool matching the described capability.
Available tools can include:
tidy3d_search_flexcompute_docs) — batch queries. Always verify APIs before first use or when upgrading.tidy3d_fetch_flexcompute_doc) — retrieve full runnable example code by URL.Before executing saved Tidy3D source, or agent scratch derived from it, with a local command runner, call detect_python(resource=<saved source>) when that tool is advertised and use the returned pythonExec. The saved source selects the environment even when the scratch file lives elsewhere. If detection fails or returns no selected interpreter, diagnose the failure and ask the user to select an interpreter or explicitly choose an alternative project environment; never silently fall back to the shell's Python. When detect_python is absent, identify and verify the active project environment before executing. Viewer-only actions do not require interpreter detection, and validate_simulation already uses the selected editor environment.
references/protocols/simulation-execution.md.ok=false can include warnings and is not by itself proof of a cloud blocker, but never bypass a tool that explicitly refuses the operation._audit.py, _run.py, _analyze.py, …) for code the user is meant to keep. Notebook tasks get notebook cells; script tasks get inline edits. See references/protocols/single-file-discipline.md.references/protocols/modify-existing-results.md.Consult references/api-pitfalls.md before every code-generation task. The catalog lists patterns that cause silent errors or wrong results. Where behavior varies by release, verify the claim against the installed Tidy3D version before applying any correction.
Tidy3D uses micrometers for length and Hz for frequency. Keep units explicit in all code.
references/api-pitfalls.md (opens in a new tab)references/geometry-construction.md (opens in a new tab)references/protocols/geometry-inspection.md (opens in a new tab)references/protocols/image-analysis.md (opens in a new tab)references/protocols/material-fit.md (opens in a new tab)references/protocols/modify-existing-results.md (opens in a new tab)references/protocols/parameter-sweeps.md (opens in a new tab)references/protocols/post-build-audit.md (opens in a new tab)references/protocols/simulation-execution.md (opens in a new tab)references/protocols/single-file-discipline.md (opens in a new tab)references/protocols/structural-blueprint.md (opens in a new tab)references/protocols/vgpu-submission.md (opens in a new tab)references/recommended-analyses.md (opens in a new tab)references/workflow-analysis.md (opens in a new tab)references/workflow-build.md (opens in a new tab)references/workflow-debug.md (opens in a new tab)references/workflow-learn.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub flexcompute/plugin-marketplace --plugin tidy3dOther plugins' skills for the same job