cad-part

cad-part is a skill for Claude Code from MeltFlexDevs/techdrawai-skills. It costs 103 tokens per session (1,235 once invoked), scanned A, original, MIT.

A tool that creates an exact, editable 3D CAD model of a mechanical part from dimensions, a written description, a dimensioned sketch, or a photo. It returns STEP for CAD editing and STL for 3D-printing slicers.

In plain words
What is it for?
Use it to model mechanical parts for Fusion 360, SolidWorks, FreeCAD, Onshape, or similar CAD programs, and to produce a matching file for a 3D printer.
Why use it?
It turns specified measurements into a solid model rather than estimating a shape from an image. That makes it suitable for parts that must fit other components, provided the important dimensions are supplied.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the techdrawai plugin — 3 skills, 1 MCP server shipped together

Good fit Use it to model mechanical parts for Fusion 360, SolidWorks, FreeCAD, Onshape, or similar CAD programs, and to produce a matching file for a 3D printer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meltflexdevs/techdrawai-skills/cad-part
Install

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.

Any agent
npx skills add MeltFlexDevs/techdrawai-skills --skill cad-part
Clone the repo
git clone --depth 1 https://github.com/MeltFlexDevs/techdrawai-skills

Made for: Claude Code.

Or install techdrawai, the plugin that ships this one along with the rest of its 3 skills, 1 MCP server.

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-part

README.md
[![agentmods](https://agentmods.dev/badge/skills/meltflexdevs/techdrawai-skills/cad-part/github.svg)](https://agentmods.dev/skills/meltflexdevs/techdrawai-skills/cad-part)
Your own site
<a href="https://agentmods.dev/skills/meltflexdevs/techdrawai-skills/cad-part"><img src="https://agentmods.dev/badge/skills/meltflexdevs/techdrawai-skills/cad-part/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-part

Your own site · 80×15
<a href="https://agentmods.dev/skills/meltflexdevs/techdrawai-skills/cad-part"><img src="https://agentmods.dev/badge/skills/meltflexdevs/techdrawai-skills/cad-part.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,235 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00103 $0.01235
Opus 5.5 $0.00041 $0.00494
Sonnet 5.5 $0.00021 $0.00247
Haiku 4.5 $0.00010 $0.00123

Measured 5d ago against content hash 92d013de04d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cad-part scanned grade A with 1 finding 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Images are URLs, not file paths. **With a shell** (Claude Code, Cowork): call `upload_file` once and run the curl command it returns for each file. The command prints `{"url": ...}`, and that URL goes in `images`. Shri
plugins/techdrawai/skills/cad-part/SKILL.md · 47 lines

How it starts

The opening of the file, as written. The whole thing — 47 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TechDraw AI: an exact CAD part from a description or a sketch

text_to_cad hands the request to TechDraw AI's CAD agent. It writes and runs build123d (OpenCascade) code, measures the solid it built, checks it against the request and returns a STEP (exact B-rep, opens in any CAD program) and an STL (for slicers). Dimensions are exact, not estimated from a picture. That is what separates it from photo_to_3d and drawing_to_3d, which build a textured mesh that follows proportions only.

It costs 80 credits and needs the TechDraw AI Studio plan. If nothing gets built, the credits come back automatically. Because every call is a real charge, get the request right before sending it.

Before calling

  1. Collect every size the user gave, across all their messages, into one prompt. Give each one as a number in mm with what it measures: "L bracket, legs 60 and 40 mm, 30 wide, 4 thick, 3 mm inside bend radius, two Ø5 through-holes per leg centred on the width." The agent chooses sensible values for anything left open and says which. If a size that decides whether the part fits is missing (a bore for a bearing, a hole pattern that must match something), ask for it first.
  2. Say what the part is for when the user told you: "mounts a NEMA 17 motor", "prints in PETG", "machined from 6 mm aluminium". The agent designs for it.
  3. A sketch or drawing makes the best input. Sizes written on it are used exactly. A photo needs one known size to scale from. Pass up to three images in images.
    • Images are URLs, not file paths. With a shell (Claude Code, Cowork): call upload_file once and run the curl command it returns for each file. The command prints {"url": ...}, and that URL goes in images. Shrink anything over 4 MB first: sips -Z 2048 in.jpg --out small.jpg on macOS, or magick in.jpg -resize 2048x2048 small.jpg.
    • In a chat with no shell (Claude on the web, Desktop or mobile): call upload_photo. It shows a file picker, and the uploaded file's URL arrives in the chat.

Read the full file on GitHub · 47 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. 5d ago Changed · +1 lines 92d013de04d3
  2. 11d ago First seen · 46 lines · 103 tokens per session scan A b459ccc38a0f

Subscribe to this mod's changes

cad-part is a skill published in the GitHub repository MeltFlexDevs/techdrawai-skills (5 stars, last pushed 6d ago), licensed MIT. It adds 103 tokens to every session and 1,235 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.

Related

cad-part compared with skills from other repositories

cad-part next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cad-partMeltFlexDevs/techdrawai-skillsSkill56d agoMITA103Claude Code
solidworks-vibecadwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA96Claude Code, Codex
kompas-mcp-operatordwnmf/KOMPAS-3D-MCP-binSkill505d agononeA95Codex
solidworks-automationwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA56Codex
autocad-automationwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA151Claude Code, Codex
solidworks-fillet-chamfer-cncwzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA107Codex
solidworks-threaded-holeswzyn20051216/solidworks-automation-skillSkill2.9k9d agoMITA150Codex