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/engineering-drawingWrote 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/engineering-drawing)<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/engineering-drawing"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/engineering-drawing/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/engineering-drawing"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/engineering-drawing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
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.00093 | $0.01623 |
| Opus 5.5 | $0.00037 | $0.00649 |
| Sonnet 5.5 | $0.00019 | $0.00325 |
| Haiku 4.5 | $0.00009 | $0.00162 |
Grade A, and why
engineering-drawing 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.
How it starts
The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Engineering drawing
An engineering drawing is a document derived from a part. cad.eng_drawing projects views from the
part's geometry, places dimensions between points on that geometry, finds centre marks, and lays the
result out on an ISO sheet with a frame and a title block. Change the model and rerun the drawing
script, and the views, hidden lines and measured values follow.
The output is one PDF, written by a Python script: there is no command and no DXF. A cut layout or a flat pattern is a toolpath, not a document: that is the cad skill's.
Start with the task
| Task | Start with | Reference |
|---|---|---|
| Draw a part | <name>_drawing.py beside the model, from the script under Workflow |
The calls |
| Place views, dimensions, hole callouts, notes | Sheet and View |
Sheet API |
| Check the drawing | What the run prints, then the PDF itself | Check each change |
Setup
Written for cad==0.11.21. Before first use in a chat, run cad --version. If it fails, or cad is missing or older
than 0.11.12, run uv tool install --force cad. If it is older than the release this skill was written for, run
cad update.
If cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin: https://github.com/earthtojake/text-to-cad A project written for an earlier version may need changes; the migration guides say what: https://github.com/earthtojake/text-to-cad/tree/main/docs/migrations
Workflow
from cad.eng_drawing import Sheet, eng_drawing
from enclosure import HOLES, L, H, W, enclosure # the part and its facts come from the model
@eng_drawing(out="../PDF/enclosure_drawing.pdf")
def enclosure_drawing():
part = enclosure().shape
sheet = Sheet("A3", title="ENCLOSURE", part_number="ENC-001", material="ABS",
revision="A", general_tolerance="ISO 2768-m", notes=["BREAK SHARP EDGES."])
top, front, right, iso = sheet.three_views(part, iso=True)
top.overall()
top.dim((HOLES[0][0], W / 2, 0), (HOLES[2][0], W / 2, 0))
top.hole((HOLES[3][0], HOLES[3][1], H / 2), 3, depth=8, count=len(HOLES))
front.dim((L / 2, -W / 2, 0), (L / 2, -W / 2, H))
return sheet
if __name__ == "__main__":
enclosure_drawing()
What ships with it
3 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.
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 e953ea25bd6c
- yesterday Changed · +1 lines 2fc4c5b7cf2b
- 3d ago Changed 3c1867ab5841
- 6d ago Changed a1160c6c73c6
- 7d ago Changed 0f332baba7d6
- 8d ago Changed · -19 lines · -3 tokens per session b8b73ca14a39
- 11d ago Changed · -4 lines scan C → A bd721d38b490
- 19d ago Changed · +1 lines a621cb0821b8
- 22d ago Changed · -1 lines 796d0ab22822
- 27d ago First seen · 138 lines · 96 tokens per session scan C 694e4ea2d10e
engineering-drawing is a skill published in the GitHub repository earthtojake/text-to-cad (27,807 stars, last pushed today), licensed MIT. It adds 93 tokens to every session and 1,623 once invoked, about $0.0004 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-09-22.
engineering-drawing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| engineering-drawingearthtojake/text-to-cad | Skill | 28k | today | MIT | A | 93 | Claude Code, Codex |
| foundry-hosted-agent-validationmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 82 | Claude Code, Codex |
| pdf-processingPrefectHQ/fastmcp | Skill | 29k | today | Apache-2.0 | A | 14 | Claude Code, Codex |
| azure-ai-document-intelligence-tsmicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 47 | Claude Code |
| potpie-resource-pdfpotpie-ai/potpie | Skill | 5.8k | 5d ago | Apache-2.0 | A | 101 | Claude Code, Codex |
| pandocAtomicBot-ai/atomic-agent | Skill | 3.6k | today | MIT | A | 26 | Claude Code, Codex |
| pdf-processingMervinPraison/PraisonAI | Skill | 9.8k | today | MIT | A | 30 | Claude Code, Codex |