engineering-drawing

engineering-drawing is a skill for Claude Code, Codex from earthtojake/text-to-cad. It costs 93 tokens per session (1,623 once invoked), scanned A, original, MIT.

A skill that creates a dimensioned engineering drawing of a part as a PDF. It projects views, hidden lines, centre marks, measurements, notes, and a title block from the part's geometry.

In plain words
What is it for?
Use it to produce a shop drawing for a part from a STEP file or a live build123d model, with orthographic views and manufacturing dimensions.
Why use it?
It keeps the drawing tied to the model, so changing the model and rerunning the script updates the views and measured values instead of leaving stale hand-drawn details.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is @eng_drawing(out="../PDF/enclosure_drawing.pdf").

Part of the text-to-cad plugin — 8 skills shipped together

Good fit Use it to produce a shop drawing for a part from a STEP file or a live build123d model, with orthographic views and manufacturing dimensions.

Compare 6 skills from other repositories ↓
About the project

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.

earthtojake/text-to-cad · 27,807 stars · on GitHub · texttocad.dev

Install

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.

Clone the repo
git clone --depth 1 https://github.com/earthtojake/text-to-cad
agentmods
npx agentmods add skills/earthtojake/text-to-cad/engineering-drawing

Made for: Claude Code, Codex.

Or install text-to-cad, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for engineering-drawing

README.md
[![agentmods](https://agentmods.dev/badge/skills/earthtojake/text-to-cad/engineering-drawing/github.svg)](https://agentmods.dev/skills/earthtojake/text-to-cad/engineering-drawing)
Your own site
<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.

agentmods 80×15 button for engineering-drawing

Your own site · 80×15
<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>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,623 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 28 Nov 2026
  • Snyk warn 30 Nov 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured today against content hash e953ea25bd6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/engineering-drawing/SKILL.md · 116 lines

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()

Read the full file on GitHub · 116 lines

Files

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.

Changes

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.

  1. today Changed e953ea25bd6c
  2. yesterday Changed · +1 lines 2fc4c5b7cf2b
  3. 3d ago Changed 3c1867ab5841
  4. 6d ago Changed a1160c6c73c6
  5. 7d ago Changed 0f332baba7d6
  6. 8d ago Changed · -19 lines · -3 tokens per session b8b73ca14a39
  7. 11d ago Changed · -4 lines scan C → A bd721d38b490
  8. 19d ago Changed · +1 lines a621cb0821b8
  9. 22d ago Changed · -1 lines 796d0ab22822
  10. 27d ago First seen · 138 lines · 96 tokens per session scan C 694e4ea2d10e

Subscribe to this mod's changes

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.

Related

engineering-drawing compared with skills from other repositories

engineering-drawing next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
engineering-drawingearthtojake/text-to-cadSkill28ktodayMITA93Claude Code, Codex
foundry-hosted-agent-validationmicrosoft/agent-frameworkSkill15k13d agoMITA82Claude Code, Codex
pdf-processingPrefectHQ/fastmcpSkill29ktodayApache-2.0A14Claude Code, Codex
azure-ai-document-intelligence-tsmicrosoft/skillsSkill3.3k3d agoMITA47Claude Code
potpie-resource-pdfpotpie-ai/potpieSkill5.8k5d agoApache-2.0A101Claude Code, Codex
pandocAtomicBot-ai/atomic-agentSkill3.6ktodayMITA26Claude Code, Codex
pdf-processingMervinPraison/PraisonAISkill9.8ktodayMITA30Claude Code, Codex