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 2d 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.
- 2d 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 (239 stars, last pushed yesterday), 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.
Other skills, from other repositories
openfoam-sim
Use when the user asks Codex, Claude Code, or another AI coding agent to run, inspect, or debug OpenFOAM cases through sim-cli. Supports case checks, solver execution, log inspection, result artifacts, replayable CFD workflows, and benchmark tasks.
abaqus-sim
Use when the user asks Codex, Claude Code, ChatGPT-style coding agents, or another AI agent to automate, inspect, run, or debug Abaqus through sim-cli. Supports Abaqus/CAE noGUI workflows, batch jobs, model inspection, ODB diagnostics, bounded execution, artifact reporting, and troubleshooting. Requires a user-owned…
omnisim-world-builder
Build, inspect, run, and debug OmniSim robotics worlds through the first-party MCP tools. Use for requests involving OmniSim scenes, robots, cameras, contacts, physics checks, or screenshots; do not use for unrelated simulators.
cae-postprocess
CAE simulation post-processing translator skill. Translates natural language requests from CFD/FEA/SPH domain experts into viznoir MCP tool calls. Provides domain vocabulary mapping (50+ terms in Korean/English), data-driven visualization idea generation from inspectdata results, and cinematic-first aesthetic guidance…
fea-workflow
FEA post-processing workflow skill. Guides AI agents through finite element analysis visualization: stress distribution, deformation, mode shapes, and yield detection. Maps FEA domain vocabulary to viznoir MCP tool calls. Triggers: FEA, structural, stress, deformation, displacement, von Mises, yield, mode shape, 응력…
sph-workflow
SPH/DualSPHysics post-processing workflow skill. Guides AI agents through particle method visualization: fluid filtering, sloshing animations, isosurface mesh extraction, and particle distribution analysis. Maps SPH domain vocabulary to viznoir MCP tool calls. Triggers: SPH, DualSPHysics, particles, sloshing, fluid…