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 mechanicalgit 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/mechanical)<a href="https://agentmods.dev/skills/svd-ai-lab/sim-cli/mechanical"><img src="https://agentmods.dev/badge/skills/svd-ai-lab/sim-cli/mechanical/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/mechanical"><img src="https://agentmods.dev/badge/skills/svd-ai-lab/sim-cli/mechanical.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.00143 | $0.01893 |
| Opus 5.5 | $0.00057 | $0.00757 |
| Sonnet 5.5 | $0.00029 | $0.00379 |
| Haiku 4.5 | $0.00014 | $0.00189 |
Grade A, and why
mechanical-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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mechanical-sim
This file is the Ansys Mechanical index. Use DPF for solved .rst files
on disk; use sim-cli/PyMechanical for live Mechanical sessions that mutate,
solve, inspect, or update the GUI-backed project.
This is not the Abaqus plugin. Do not run Abaqus .inp decks or
Abaqus/CAE scripts here. Use solver=abaqus for Dassault SIMULIA Abaqus;
use solver=mechanical only for Ansys Mechanical / PyMechanical sessions.
The /connect response tells you which active layers apply:
"skills": {
"root": "<sim-skills>/mechanical",
"active_sdk_layer": "0.12",
"active_solver_layer": "24.1"
}
Always read base/, then your active sdk/<version>/, then your active
solver/<version>/. Later layers override earlier ones on identically-named
files.
First principles
-
Workbench orchestrates, Mechanical computes. PyWorkbench drives Engineering Data / Geometry / Model. PyMechanical drives Setup / Solution / Results. Do not try to define boundary conditions via Workbench scripting — that belongs here.
-
Observation is SDK+GUI coupled. Every
uv run sim execis amechanical.run_python_script(code)call that mutates Mechanical's in-memory model. Mechanical's window on the desktop redraws after each call. Thereforeuv run sim screenshot(which grabs the desktop) always reflects the current SDK state. This coupling only works withbatch=False— so the driver defaults to GUI mode. Confirm bothui_mode == "gui"andbatch == falsefrominspect session.summarybefore relying on screenshots for GUI sync. -
Scripts run inside Mechanical's IronPython interpreter. Globals
ExtAPI,DataModel,Model,Quantity,Treeare already available — do NOTimport ansys.mechanical. The last expression's string form is whatrun_python_scriptreturns, so end snippets with ajson.dumps(...)literal to get structured output. -
ExtAPI.DataModel.Projectis the root. From there:.Model→ the scene;.Model.Analyses[0]→ the first analysis;.Model.Geometry→ bodies;.Model.Mesh→ meshing controls;.Model.Materials→ material assignments.
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/known_issues.md 6.5 KB
- base/reference/bc_scoping.md 3.2 KB
- base/reference/capability_discovery.md 2.7 KB
- base/reference/observation_commands.md 6.1 KB
- base/reference/pymechanical_api.md 3.6 KB
- base/reference/result_extraction.md 3.6 KB
- base/reference/scripting_tree.md 4.1 KB
- base/reference/solve_control.md 3.9 KB
- base/snippets/01_smoke.py 1.1 KB runs code
- base/snippets/02_list_project_tree.py 1.4 KB runs code
- base/snippets/03_add_fixed_support.py 1.0 KB runs code
- base/snippets/04_solve.py 816 B runs code
- base/snippets/05_extract_results.py 670 B runs code
- base/snippets/06_observation_check.py 1.3 KB runs code
- base/workflows/debug_failed_exec.md 3.0 KB
- base/workflows/model_review_loop.md 2.2 KB
- base/workflows/observation_demo/README.md 374 B
- base/workflows/static_structural/evidence/README.md 374 B
- base/workflows/workbench_handoff.md 1.2 KB
- sdk/0.12/notes.md 1.1 KB
- solver/24.1/notes.md 1.7 KB
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.
- 1mo ago First seen · 138 lines · 143 tokens per session scan A 8d050555bb04
mechanical-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 143 tokens to every session and 1,893 once invoked, about $0.0006 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.
mechanical-sim compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mechanical-simsvd-ai-lab/sim-cli | Skill | 261 | 5d ago | Apache-2.0 | A | 143 | 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 |