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.
npx skills add svd-ai-lab/sim-cli --skill comsolgit clone --depth 1 https://github.com/svd-ai-lab/sim-cliWrote 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.
[](https://agentmods.dev/skills/svd-ai-lab/sim-cli/comsol)<a href="https://agentmods.dev/skills/svd-ai-lab/sim-cli/comsol"><img src="https://agentmods.dev/badge/skills/svd-ai-lab/sim-cli/comsol/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.
<a href="https://agentmods.dev/skills/svd-ai-lab/sim-cli/comsol"><img src="https://agentmods.dev/badge/skills/svd-ai-lab/sim-cli/comsol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00134 | $0.07214 |
| Opus 5.5 | $0.00054 | $0.02886 |
| Sonnet 5.5 | $0.00027 | $0.01443 |
| Haiku 4.5 | $0.00013 | $0.00721 |
Grade A, and why
comsol-sim 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 18d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- comsol-sim — 100% identical, 18 lines differ
How it starts
The opening of the file, as written. The whole thing — 605 lines — stays where its author put it; the contents beside it link to each section on GitHub.
comsol-sim
This file is the COMSOL Multiphysics agent workflow index. Its job is to
help an agent choose and execute the most reliable real COMSOL control path for
the task: saved .mph inspection, local COMSOL documentation, direct COMSOL
executables, a server-backed Java API session, or the sim COMSOL runtime when
that adds useful structure.
This skill is self-contained for COMSOL work. Do not require a separate skill checkout or an external sim-cli skill. Use this file for COMSOL workflow routing, and load the plugin-bundled references below only when the task needs them.
COMSOL-specific layered content
Choose the control path from the task and the current COMSOL state. Identify
whether you have a saved .mph, a standalone Desktop, an mphclient connected
to comsolmphserver, an external comsolmphserver, or no running session.
Then pick the smallest path that can produce real evidence.
| Path | Use it for | Evidence to collect |
|---|---|---|
saved .mph inspection |
Offline summaries, archive diffs, parameters, physics tags, mesh/solution metadata, and artifact review without starting COMSOL. | inspect_mph(path), MphArchive, or mph_diff output. |
| local COMSOL docs | Unknown physics feature names, module capability, property names, examples, and API terms before writing code. | sim-comsol-doc search / retrieve hits from the installed COMSOL help tree. |
direct comsolbatch -inputfile |
Running a saved model headlessly, stripping solutions with -norun, regression/CI/fan-out over .mph files, and one-shot saved-model output artifacts. |
output .mph, -batchlog, shell exit status, and extracted KPIs/artifacts. |
comsolcompile + comsolbatch |
Settled Java recipes that build, solve, and extract KPIs in a fresh COMSOL process. | compiled class, batch log/stdout KPI lines, output .mph or exported data. |
comsolmphserver / Java API |
Stateful model exploration, live property/tag probing, incremental mutation, debugging, and API work where the agent needs to ask the live model questions. | model tags/properties, run/build results, saved checkpoints, and explicit model identity. |
| bare Codex Java loop (no sim) | Blog-style agent harness: comsolcompile + bundled JRE + plugins/*, connect to an already-running Multiphysics server, mutate, disconnect, keep .java/logs. Use when sim-cli is unavailable. |
connect/tags/param smoke log, per-step .java + stdout, optional Desktop-visible parameter. |
| sim runtime / shared Desktop | The same server-backed Java API work when the plugin's structured inspect/exec/checkpoint tools or managed visible Model Builder collaboration are useful. |
session.health, comsol.model.identity, last.result, live binding checks, checkpoints. |
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- base/reference/codex_client_server_loop.md 5.5 KB
- base/reference/java_api_patterns.md 6.2 KB
- base/reference/java_batch_patterns.md 9.2 KB
- base/reference/mph_file_format.md 5.9 KB
- base/reference/offline_postprocessing_exports.md 6.6 KB
- base/reference/runtime_introspection.md 4.5 KB
- base/workflows/debug_failed_exec.md 3.9 KB
- base/workflows/model_review_loop.md 2.8 KB
- base/workflows/nonlinear_solver_tuning.md 3.8 KB
- doc-search/.gitignore 63 B
- doc-search/pyproject.toml 493 B
- doc-search/README.md 1.6 KB
- doc-search/src/sim_comsol_doc/__init__.py 97 B runs code
- doc-search/src/sim_comsol_doc/cli.py 3.7 KB runs code
- doc-search/src/sim_comsol_doc/discover.py 9.0 KB runs code
- doc-search/src/sim_comsol_doc/searcher.py 3.2 KB runs code
- doc-search/uv.lock 33 KB
- solver/6.0/notes.md 465 B
- solver/6.1/notes.md 455 B
- solver/6.2/notes.md 455 B
- solver/6.4/notes.md 564 B
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.
- 18d ago Changed · +17 lines 97cc6875e280
- 1mo ago First seen · 588 lines · 134 tokens per session scan A 2884418499bf
comsol-sim is a skill published in the GitHub repository svd-ai-lab/sim-cli (261 stars, last pushed 5d ago), licensed Apache-2.0. It adds 134 tokens to every session and 7,214 once invoked, about $0.0005 per session on Opus 5.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-10-19.
comsol-sim compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| comsol-simsvd-ai-lab/sim-cli | Skill | 261 | 5d ago | Apache-2.0 | A | 134 | Claude Code, Codex |
| openfoam-simsvd-ai-lab/sim-plugin-openfoam | Skill | 5 | 6mo ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| abaqus-simsvd-ai-lab/sim-plugin-abaqus | Skill | 13 | 1mo ago | Apache-2.0 | A | 77 | Claude Code, Codex |
| omnisim-world-builderomnilink-tech/omnisim | Skill | 200 | 18d ago | Apache-2.0 | A | 53 | Codex |
| aieng-cad-cae-copilotarmpro24-blip/cad-cae-copilot | Skill | 106 | 3d ago | MIT | A | 65 | Claude Code, Codex |
| aieng-closed-loop-copilotarmpro24-blip/cad-cae-copilot | Skill | 106 | 3d ago | MIT | A | 54 | Claude Code, Codex |
| cae-postprocesskimimgo/viznoir | Skill | 20 | 22d ago | MIT | A | 165 | Claude Code |