hfss-model

hfss-model is a command for Claude Code from K-13ROBOT/HFSS_MCP. It costs 0 tokens per session (800 once invoked), scanned A, original, MIT.

An HFSS modeling command routes an antenna or electromagnetic simulation task to the project's documented procedure. HFSS is engineering software that builds and solves electromagnetic models.

In plain words
What is it for?
Use it to reproduce a design from a paper, build an antenna from specifications, calculate S-parameters or far-field results, and set up specialized feeds, arrays, or periodic structures.
Why use it?
It prevents important setup checks and task-specific rules from being skipped, such as checks before solving or different treatment for antenna arrays and filters.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Good fit Use it to reproduce a design from a paper, build an antenna from specifications, calculate S-parameters or far-field results, and set up specialized feeds, arrays, or periodic structures.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/k-13robot/hfss_mcp/hfss-model
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.

Clone the repo
git clone --depth 1 https://github.com/K-13ROBOT/HFSS_MCP

Made for: Claude Code.

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 hfss-model

README.md
[![agentmods](https://agentmods.dev/badge/commands/k-13robot/hfss_mcp/hfss-model/github.svg)](https://agentmods.dev/commands/k-13robot/hfss_mcp/hfss-model)
Your own site
<a href="https://agentmods.dev/commands/k-13robot/hfss_mcp/hfss-model"><img src="https://agentmods.dev/badge/commands/k-13robot/hfss_mcp/hfss-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hfss-model

Your own site · 80×15
<a href="https://agentmods.dev/commands/k-13robot/hfss_mcp/hfss-model"><img src="https://agentmods.dev/badge/commands/k-13robot/hfss_mcp/hfss-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 800 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00800
Opus 5.5 $0.00000 $0.00320
Sonnet 5.5 $0.00000 $0.00160
Haiku 4.5 $0.00000 $0.00080

Measured yesterday against content hash ce6f80428a86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hfss-model 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 yesterday.

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/hfss-model.md · 42 lines

What it actually says

HFSS 建模:把天线建出来并求解

读 ~/.claude/skills/hfss-design/SKILL.md —— 常驻约定(坐标层叠、sheet 规则、故障判定、卡住了怎么办), 然后按它的路由表判断这次属于哪种,去读对应的流程卡:

  • 开工第一件事(任何天线任务) → flow/capture-learning.md ⚠️ 不读经验库 = 每次从零踩坑
  • 照论文尺寸复现 → flow/reproduce-paper.md ⚠️ 尺寸只从参数表/正文抽,绝不在图上量;拓扑有歧义先让用户确认
  • 给的是目标/规格不是现成尺寸 → flow/design-loop.md ⚠️ 先对标再调、调完再对标,别靠眼估说"差不多达标"
  • 跑 S 参数 / 完整求解一个设计 → flow/s-parameters.md ⚠️ 顺序敏感;求解前 bbox + validate 两道自检不许跳;自己写脚本求解的,事后调 get_convergence 补查收敛(不补等于工具层检查全部失效)
  • 取远场(增益/轴比/HPBW/前后比) → flow/farfield.md ⚠️ 无穷远球面必须在 create_setup 之前建(事后补要重解);多端口必须先 set_port_excitation 设幅相,否则算的是同相馈电
  • 非标准馈电(缝隙/近耦合/CPW/差分/多层) → flow/feeding.md ⚠️ 端口 sheet 绝不赋 PE;积分线方向上要有非零跨度
  • 腔体/滤波器/DRA,要谐振频率与 Q → flow/eigenmode.md ⚠️ design 必须建成 Eigenmode 类型,不要端口;Q=0 是无耗不是出错
  • 无限阵 / FSS / 超表面单元 → flow/periodic.md ⚠️ 不要 create_open_region,那是孤立天线的边界
  • 阵列复制、改网格、建螺旋 → flow/geometry-advanced.md ⚠️ 切 sheet 只能用 split,solid 去 subtract 会把 sheet 一起删掉
  • 板厂叠层表还原多层板 → 转 hfss-stackup skill ⚠️ 读错一条行业约定,整板厚度就错
  • 要找文献 / 卡片库没有匹配拓扑 → 转 hfss-search skill ⚠️ 先查本地库,别一上来就联网

一个任务读 3~4 份是正常的。拿不准读哪张就先读路由表本身。

⚠️ 任务性质中途变了就回路由表重查,别抱着一张卡走到黑。 最常见的转变:建完发现指标差得远 → 该转 /hfss-tune。

上面这份分支列表由 make_commands.py 从 SKILL.md 的路由表生成,别手改 —— 改路由表后重跑脚本即可。


用户的要求:

$ARGUMENTS

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. yesterday Changed ce6f80428a86
  2. 2d ago First seen · 42 lines · 0 tokens per session scan A dc6234a0ea61

Subscribe to this mod's changes

hfss-model is a command published in the GitHub repository K-13ROBOT/HFSS_MCP (8 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 800 tokens. 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-10-25.