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 JMMonte/agentic-digital-twin --skill import-cadgit clone --depth 1 https://github.com/JMMonte/agentic-digital-twinWrote 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/jmmonte/agentic-digital-twin/import-cad)<a href="https://agentmods.dev/skills/jmmonte/agentic-digital-twin/import-cad"><img src="https://agentmods.dev/badge/skills/jmmonte/agentic-digital-twin/import-cad/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/jmmonte/agentic-digital-twin/import-cad"><img src="https://agentmods.dev/badge/skills/jmmonte/agentic-digital-twin/import-cad.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.00155 | $0.00863 |
| Opus 5 | $0.00077 | $0.00432 |
| Sonnet 5 | $0.00031 | $0.00173 |
| Haiku 4.5 | $0.00015 | $0.00086 |
Grade A, and why
import-cad 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 9d 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
import-cad
The plugin has two doors. The default is geometry-as-code (author
design.json, a kernel builds it). This is the other door: the user already
has a CAD file and wants to verify and simulate it.
When to use
The user hands you a .step/.stp, .stl, .obj, .glb, or .ply and asks to
check / analyze / simulate / measure it. (Native CAD — .sldprt, Fusion,
CATIA, Inventor — can't be read; ask them to export STEP or STL first.)
Procedure
- Run the importer (template:
import_cad.py):
It writes# mesh: uv run import_cad.py part.stl --units mm --material Al-6061-T6 # STEP (exact BREP) needs OCCT: uv run --with build123d import_cad.py part.step --units mm --material Al-6061-T6out/imported.json(bbox, volume, centroid, mass, watertight, warnings) +out/imported_mesh.ply. - Confirm
--unitsand SANITY-CHECK the printed bbox against the real part. STL is unitless and STEP units are often wrong; a 25.4x or 1000x scale error silently corrupts everything. Do not proceed on a bbox that looks wrong. - Assign a material (
--material, resolved fromdesign/materials.json) so mass is real — never invent a density. If the material isn't in the file, add it first with the add-material skill (cited). - If the mesh is not watertight, volume/mass/FEA are unreliable — repair it (or use the STEP/BREP, which carries an exact volume) before trusting numbers.
- Now run the rest on the imported geometry:
- add-scored-audit — write checks that read
out/imported.json/out/imported_mesh.ply(bbox, mass budget, clearances, wall thickness). - fea_continuum — gmsh meshes the STEP/STL directly → CalculiX.
- viz.py — rerun the imported mesh.
- run-tradeoff-study — compare variants if you have several files.
- add-scored-audit — write checks that read
- Treat
design.jsonas the requirements/targets ledger here (anchors, allowables, mass/CG targets) even though it no longer generates the geometry — so the scored-audit discipline still applies.
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.
- 9d ago First seen · 63 lines · 155 tokens per session scan A 8e02b193fc33
import-cad is a skill published in the GitHub repository JMMonte/agentic-digital-twin (2 stars, last pushed 2mo ago), licensed MIT. It adds 155 tokens to every session and 863 once invoked, about $0.0008 per session on Opus 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-08-31.
Other skills, from other repositories
cad-construction
Use after the design concept is settled (via design-first-iteration or equivalent) and the user is ready to translate it into parametric CAD geometry — component decomposition, parameter hierarchy, construction sequencing. Primary platform Fusion 360; the workflow also applies to SolidWorks, Onshape, FreeCAD…
bom-validation-workflow
Use when validating a Bill of Materials (BOM) for a Maker-3D project — an embedded controller project, a speaker/audio build, a smart-home build, or any other physical build with more than 5 components. Trigger on phrases like "check the BOM", "validate the parts list", "review the parts list", "missing components"…
victron-cerbo-modbus-device-onboarding
Use when a new Victron Modbus-TCP device (EV Charging Station, energy meter, inverter) is connected to the Cerbo GX LAN but does not appear in the Cerbo UI or D-Bus, despite being reachable via ping. Trigger on phrases like "EVCS not visible in Cerbo", "new Modbus device does not appear", "Cerbo does not detect…
mechanical-design-principles
Guides mechanical design decisions toward elegant, manufacturable, serviceable solutions with a strong bias toward tool-less assembly, monolithic parts, and form-follows-function. Provides the design rules (the WHAT and WHY — overhang, wall thickness, snap-fit sizing, tolerances, material matching). Load when the user…
hsb-ip-packetizer
Choose or explain HSB Sensor RX packetizer fields for HOLOLINKdef.svh. Do not use for full defs, validation, or runtime APB programming.
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.