text-to-cad is a collection of agent workflows for creating, examining, finding, preparing, and transferring CAD, engineering, manufacturing, and robot-description files. It is for agents working with mechanical design, fabrication, simulation, and robotics projects. Catalogue skills, instructions, and a plugin implement these workflows.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/earthtojake/text-to-cadnpx agentmods add skills/earthtojake/text-to-cad/cadWrote 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/earthtojake/text-to-cad/cad)<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/cad"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/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/earthtojake/text-to-cad/cad"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/cad.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Tool Misuse · line 231 Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
- medium Rogue Agent · line 29 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00137 | $0.05519 |
| Opus 5.5 | $0.00055 | $0.02208 |
| Sonnet 5.5 | $0.00027 | $0.01104 |
| Haiku 4.5 | $0.00014 | $0.00552 |
Grade A, and why
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 today.
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
2 near-identical copies found in the catalogue:
- cad — 86% identical, 255 lines differ
- cad-generation-skill — 83% identical, 263 lines differ
How it starts
The opening of the file, as written. The whole thing — 364 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CAD modeling and inspection
Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files for the current interface.
A model is a Python function; running its script rebuilds it in cadgen's warm engine, and the page the person has open updates. Files are exports, made when asked.
Start with the task
| Task | Start with | Reference |
|---|---|---|
| Create or edit a part or assembly | The project's model script, or a new one (below). | Models, build123d, positioning |
| Organize a CAD project | The project's existing layout. | Project layout |
| Export STEP, STL, 3MF, GLB or xbf | cadgen export <id> <file>. |
Exports |
| Use a vendor STEP, an xbf or a scan in a model | read_step, read_xbf or read_mesh in the body. |
Inputs |
| Resolve a reference from a prompt | cadgen inspect <id> '<ref>'. |
References |
| Measure or check geometry | A check script that calls the model. | Inspection |
| See a model, a view or a pose | cadgen snapshot <id> out.png. |
Snapshots |
| Articulate a mechanism | build123d joints in the body, then cadgen.ap242. |
Kinematics |
| Explode, reveal or showcase a model | cadgen.gltf's animation() in the body. |
Animation |
| Open an existing XBF, STEP/STP, STL, 3MF or GLB | Show it to the user. | Show the model |
A project built with cadgen 0.7 may need migrating: see migrations.
For 2D DXF drawings use $dxf; this skill owns any 3D part the drawing projects.
Use the corresponding robot-description skill for URDF, SRDF or SDF.
What ships with it
12 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.
- agents/openai.yaml 191 B
- LICENSE 1.0 KB
- references/animation.md 6.7 KB
- references/build123d-modeling.md 8.4 KB
- references/exports.md 8.5 KB
- references/inspection-and-validation.md 15 KB
- references/kinematics.md 16 KB
- references/migrations.md 2.1 KB
- references/model-contract.md 19 KB
- references/positioning.md 4.8 KB
- references/project-layout.md 6.9 KB
- references/snapshot-review.md 13 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.
- today Changed · +136 lines · +79 tokens per session 55f312ccc519
- 7d ago Changed · -6 lines 63a34969a7d0
- 9d ago Changed · +26 lines 6adf9ae6ea9a
- 16d ago Changed 4902c0acc449
- 17d ago Changed ce18a7042f5c
- 18d ago Changed eda7c4021adc
- 19d ago Changed e97b5b39bd62
- 21d ago Changed 949f5c48c48c
- 22d ago Changed · -1 lines 26dcc8827460
- 24d ago First seen · 209 lines · 58 tokens per session scan A 631a0c5d33da
cad is a skill published in the GitHub repository earthtojake/text-to-cad (23,584 stars, last pushed today), licensed MIT. It adds 137 tokens to every session and 5,519 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-08-30.
Other skills, from other repositories
fluidcad-assembly
Building multi-part models in FluidCAD: assemblies, part files, inserting and mating parts, connectors, exposed geometry, part parameters, sub-assemblies, replicated instances, STEP parts, project units, and assembly export. Use this skill whenever the user wants an assembly, a mechanism, a hinge, a slider, several…
fluidcad
Workflow and best practices for designing parts in FluidCAD through its MCP server. Use this skill whenever the user wants to model, design, build, edit, fix, or modify any part in FluidCAD, whenever they mention FluidCAD, a .fluid.js or .part.js file, or ask for CAD, parametric modeling, or 3D printing work that…
step-parts
Find, evaluate, and download low-level common standard CAD parts from step.parts, such as screws, bolts, nuts, washers, bearings, standoffs, electronics parts, motors, connectors, and other off-the-shelf components. Use when Codex needs to search the hosted step.parts catalog, resolve fuzzy part names, standards…
solidworks-api
SolidWorks 2023 API/SDK coding assistant. Covers part modeling, sketches, features (extrude/revolve/cut), patterns, mates, materials, STEP export, and shield machine cutterhead design. Triggers: SolidWorks, SOLIDWORKS, SLDWORKS, ISldWorks, IModelDoc2, IFeatureManager, sketch, extrude, revolve, cut, pattern, mate…
surfsense-html
Make or change a web page from the user's sources - a report, a briefing, a dashboard, a comparison, a timeline, an explainer, an interactive calculator or a figure that shows how something works - by writing an HTML file and keeping it with surfsensesavepage. Load it whenever the user asks for a web page, an HTML…
show-me
Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.