cad

cad is a skill for Claude Code, Codex from earthtojake/text-to-cad. It costs 137 tokens per session (5,519 once invoked), scanned A, original, MIT.

A workflow for creating and checking parametric CAD parts and assemblies. CAD means computer-aided design, and parametric models are driven by editable measurements and relationships; STEP is a widely used 3D design file format.

In plain words
What is it for?
Turning natural-language requirements into STEP files, modifying or inspecting existing STEP files, creating build123d Python source, and preparing secondary exports such as STL, 3MF, or GLB.
Why use it?
It keeps the main design output inspectable and validates geometry, measurements, references, and assembly relationships.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions Claude Code; runs codex exec; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python src/bracket.py.

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

Good fit Turning natural-language requirements into STEP files, modifying or inspecting existing STEP files, creating build123d Python source, and preparing secondary exports such as STL, 3MF, or GLB.

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 · 23,584 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/cad

Made for: Claude Code, Codex.

Or install text-to-cad, the plugin that ships this one along with the rest of its 13 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 cad

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

agentmods 80×15 button for cad

Your own site · 80×15
<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>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,519 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 20 Oct 2026
  • Snyk pass 20 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
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.00137 $0.05519
Opus 5.5 $0.00055 $0.02208
Sonnet 5.5 $0.00027 $0.01104
Haiku 4.5 $0.00014 $0.00552

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

Security

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/cad/SKILL.md · 364 lines

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.

Read the full file on GitHub · 364 lines

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 · +136 lines · +79 tokens per session 55f312ccc519
  2. 7d ago Changed · -6 lines 63a34969a7d0
  3. 9d ago Changed · +26 lines 6adf9ae6ea9a
  4. 16d ago Changed 4902c0acc449
  5. 17d ago Changed ce18a7042f5c
  6. 18d ago Changed eda7c4021adc
  7. 19d ago Changed e97b5b39bd62
  8. 21d ago Changed 949f5c48c48c
  9. 22d ago Changed · -1 lines 26dcc8827460
  10. 24d ago First seen · 209 lines · 58 tokens per session scan A 631a0c5d33da

Subscribe to this mod's changes

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.

Related

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…

Fluid-CAD/FluidCAD · 154 tokens

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…

Fluid-CAD/FluidCAD · 178 tokens

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…

earthtojake/step.parts · 107 tokens

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…

guoleizhen717/solidworks-api-skill · 118 tokens

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…

MODSetter/SurfSense · 89 tokens

show-me

Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

humanlayer/humanlayer · 25 tokens