cad
Skill35 starsChanged 6 months agoMITView on GitHub
Create, modify, inspect, validate, and review STEP-first build123d/Python CAD parts and assemblies. Use for natural-language CAD specs, STEP/STP generation, build123d source, build123d source-level joints, @cad references, geometry facts, measurements, mating deltas, CAD Explorer links, conditional review renders, and secondary DXF/STL/3MF outputs.
7 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- earthtojake/text-to-cadtheir own version, first seen Nov 11, 2026
- znlgis/opengis-skillstheir own version, first seen Nov 9, 2026
- Johnwang688/jarvistheir own version, first seen Oct 13, 2026
- saint0x/my-skillsedited, first seen Aug 29, 2026
- tlinedeep/claude-skillstheir own version, first seen Jun 3, 2026
- Glow-maker/skillstheir own version, first seen Apr 27, 2026
Used with
Projects with it also use sendcutsend and cad-viewer.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
tlinedeepSkillsendcutsend
Review DXF and STEP/STP uploads for SendCutSend.com orders using its ordering guide, catalog, and specs. Use only for SendCutSend.com preflight reports covering upload readiness, selected material/SKU/thickness/service availability, and service-specific checks for laser cutting, CNC routing, bending, tapping, countersinking, hardware insertion, and finishing.
Also in 3 projects that use this
Glow-makerSkillcad-viewer
This skill should be used when the user wants to read, analyze, or work with CAD DWG/DXF drawing files. Trigger phrases include: DWG, DXF, CAD drawing, drawing analysis, layer, block, entity, screenshot, distance calculation, drawing audit, electrical diagram, distribution box, single-line diagram, or any mention of .dwg/.dxf files. This skill provides comprehensive CAD drawing analysis capabilities including reading file metadata, listing layers and entities, analyzing block definitions, calculating distances between entities, capturing screenshots of specific regions or entities, and auditing drawing compliance.
Also in 3 projects that use this
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- saint0x/my-skills★ 122% same
Wrote their own version · 6
- earthtojake/text-to-cad★ 26ksame name
- znlgis/opengis-skills★ 83same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- Glow-maker/skills★ 2same name
- Johnwang688/jarvis★ 0same name
- tlinedeep/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- robot-motionSkill
- urdfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 12 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use this skill when the user asks for CAD files, STEP/STP files, build123d source, @cad[...] references, mechanical parts, assemblies, …
- Distinctive: line 18
Do not use this skill for render-only concept art, CAM toolpaths, engineering certification, FEA conclusions, architectural BIM, or …
- Distinctive: line 22
Use these defaults unless the user specifies otherwise:
- Distinctive: line 35
Ask one focused clarification question only when missing information makes the model impossible, fit-critical, safety-critical, or …
- Distinctive: line 39
Do not ask the user to provide a JSON specification and do not make JSON the user-facing workflow.
- Distinctive: line 43
Keep these roots separate:
- Distinctive: line 51
Prefer keeping a STEP output and its Python generator in the same directory so the source stays easy to discover.
- Distinctive: line 66
Use the active project Python interpreter.
- Very specific: line 68
Use python scripts/<tool> --help for the complete current command interface.
- Distinctive: line 73
Load only the needed references: Use the triggers below instead of reading the whole reference set.
- Very specific: line 76
Edit source, not generated artifacts: Prefer build123d Python with gen_step() for STEP generation.
- Very specific: line 77
Generate explicit targets: Use scripts/step for STEP/STP generation and sidecars.
- Very specific: line 78
Validate geometrically: Use scripts/inspect refs --facts --planes --positioning, then targeted measure, mate, frame, or diff when needed.
- Very specific: line 79
Return Explorer links: Use references/rendering-and-explorer.md for Explorer startup, scan-root, and link rules.
- Very specific: line 80
Render conditionally: Use scripts/render only when requested, Explorer is unavailable, visual ambiguity remains, or section/wireframe …
- Distinctive: line 81
Repair and rerun: If a check fails, change the smallest responsible source section, regenerate, and rerun the failed validation.
- Distinctive: line 85
Treat generated STEP/STP, STL, 3MF, GLB/topology, DXF outputs, and Explorer sidecars as derived artifacts.
- Very specific: line 86
Keep STEP as the primary validated CAD artifact.
- Very specific: line 87
When a Python generator exists, run scripts/step on the generator.
- Distinctive: line 88
Use named parameters, closed solids, explicit labels, and source-controlled geometry intent.
- Very specific: line 90
Do not use git status, git diff, or file-size churn as CAD comparison for large exported STEP/STP, GLB/topology, STL, 3MF, or DXF artifacts.
- Distinctive: line 92
If Explorer fails, say so and rely on CLI inspection for validation.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CAD generation, inspection, and validation
Purpose
Create or modify parametric CAD models from natural-language requirements, generate validated STEP/STP artifacts, inspect geometry references, and return checked outputs plus CAD Explorer links. Treat STEP as the primary CAD artifact. Treat DXF, STL, and 3MF as secondary workflows that branch from, or accompany, a STEP-first process. For assemblies, prefer source-level build123d joints and named mating datums when the parts have functional assembly relationships.
Use this skill when
Use this skill when the user asks for CAD files, STEP/STP files, build123d source, @cad[...] references, mechanical parts, assemblies, enclosures, brackets, fixtures, holes, counterbores, countersinks, slots, pockets, bosses, standoffs, ribs, fillets, chamfers, shells, source-level joints, mating, measurements, or CAD Explorer review links.
Also use it when the user asks for DXF, STL, or 3MF output from CAD geometry. Keep those workflows secondary and load dxf.md or supported-exports.md for details.
Do not use this skill for render-only concept art, CAM toolpaths, engineering certification, FEA conclusions, architectural BIM, or freehand illustration unless the user also needs CAD geometry.
Default assumptions
Use these defaults unless the user specifies otherwise:
- Units: millimeters.
- Origin: center of the main part or assembly unless a mating interface or fixed root component suggests a better origin.
- Base plane: XY.
- Up/extrusion axis: positive Z.
- Output geometry: closed, positive-volume solids unless the user requests surfaces or construction geometry.
- STEP structure: one valid solid, a compound of solids, or a labeled assembly compound.
- Assembly structure: fixed root part, part-local frames, named mating datums, build123d joints where applicable, and explicit generated placements.
- Small plastic enclosure wall: 2.0-3.0 mm when unspecified.
- Cosmetic fillet: 1.0-3.0 mm when safe for local geometry.
- M3/M4/M5 normal clearance holes: 3.4/4.5/5.5 mm unless another standard is requested.
Ask one focused clarification question only when missing information makes the model impossible, fit-critical, safety-critical, or compliance-bound. Otherwise proceed with explicit assumptions.
Natural-language specs only
Do not ask the user to provide a JSON specification and do not make JSON the user-facing workflow. Convert the user's prose into an internal CAD brief with dimensions, features, assumptions, output paths, and validation criteria. Use references/natural-language-specs.md for brief-writing patterns.
Root model
Keep these roots separate:
- CAD skill directory: this folder. Tool launchers live here as
scripts/step,scripts/inspect,scripts/render, andscripts/dxf. - Tool process cwd: relative CAD targets are resolved from the command's current working directory. Use absolute target paths when running from the skill directory, or run from the workspace root and invoke the launchers with a path to this skill directory.
- Explorer scan root: CAD Explorer scans
EXPLORER_ROOT_DIRwhen set; otherwise it scans the workspace root inferred by Vite fromEXPLORER_WORKSPACE_ROOT, npmINIT_CWD, or the Vite process cwd. Explorerfile=links must be relative to the active scan root.
Short command examples in this skill use launcher paths relative to the CAD skill directory. Adapt the launcher path or target path so project CAD files resolve from the intended workspace, not accidentally under the skill directory.
Prefer keeping a STEP output and its Python generator in the same directory so the source stays easy to discover. Unless the user explicitly requests otherwise, keep the STEP basename and generator basename the same even when they cannot live side by side.
Available tools
From the CAD skill directory, the launcher shape is:
python scripts/step ...
python scripts/inspect ...
python scripts/render ...
python scripts/dxf ...
npm --prefix explorer run dev
npm --prefix explorer run dev:ensure -- --file path/to/model.stepUse the active project Python interpreter. If only the repo-local virtualenv is available, invoke that interpreter while keeping the root model above explicit.
Use python scripts/<tool> --help for the complete current command interface; reference docs show recommended workflows, not every flag.
Required workflow
- Classify the task. Identify whether this is a new part, new assembly, source modification, direct STEP/STP inspection, reference selection, measurement/mating check, render review, or secondary output request.
- Load only the needed references. Use the triggers below instead of reading the whole reference set.
- Create a natural-language CAD brief. Extract dimensions, units, coordinate convention, feature intent, output paths, assumptions, and validation targets.
- Plan before coding. Define parameters, labels, source paths, expected bounding boxes, and any mating/positioning datums before editing.
- Edit source, not generated artifacts. Prefer build123d Python with
gen_step()for STEP generation. - Generate explicit targets. Use
scripts/stepfor STEP/STP generation and sidecars. Use--kind partor--kind assemblyonly for direct STEP/STP imports. Do not run directory-wide generation. - Validate geometrically. Use
scripts/inspect refs --facts --planes --positioning, then targetedmeasure,mate,frame, ordiffwhen needed. - Return Explorer links. Use
references/rendering-and-explorer.mdfor Explorer startup, scan-root, and link rules. - Render conditionally. Use
scripts/renderonly when requested, Explorer is unavailable, visual ambiguity remains, or section/wireframe review answers a real validation question. - Repair and rerun. If a check fails, change the smallest responsible source section, regenerate, and rerun the failed validation.
Non-negotiables
- Treat generated STEP/STP, STL, 3MF, GLB/topology, DXF outputs, and Explorer sidecars as derived artifacts.
- Keep STEP as the primary validated CAD artifact; DXF/STL/3MF are secondary unless the user explicitly says otherwise.
- When a Python generator exists, run
scripts/stepon the generator. Use a direct STEP/STP target only when the generator is unavailable or the user explicitly identifies that STEP/STP file as the target. - Use named parameters, closed solids, explicit labels, and source-controlled geometry intent.
- Author assembly positioning in source with part-local datums, explicit
Locationtransforms, or build123d joints. Treat CLIinspect mateas read-only validation, not as a source-editing API. - Do not use
git status,git diff, or file-size churn as CAD comparison for large exported STEP/STP, GLB/topology, STL, 3MF, or DXF artifacts. Compare source changes,scripts/inspectsummaries, targeted renders, or CAD Explorer output instead; use path-limited git status only for bookkeeping. - Report only checks that actually ran or are directly supported by tool output.
- If Explorer fails, say so and rely on CLI inspection for validation.
Progressive references
Load these files only when their trigger applies:
references/natural-language-specs.md— converting prose requirements into a CAD brief without requiring user JSON.references/step-generation.md— STEP generation, direct STEP/STP targets, part-vs-assembly behavior, and post-generation inspection.references/inspection-and-validation.md— validation gates,@cad[...]refs, facts, planes, topology, measurements, mating, diff, frame, and final validation reporting.references/positioning.md— part-local datums, assembly transforms, build123d joints, CLI mate validation, and positioning reports.references/rendering-and-explorer.md— CAD Explorer links and conditional render view/wireframe/section/list.references/dxf.md— secondary DXF workflow.references/supported-exports.md— secondary STL/3MF sidecar workflows.references/build123d-modeling.md— build123d modeling patterns, topology, selectors, features, assemblies.references/repair-loop.md— diagnosis and repair procedures.
Final responses should include generated files, CAD Explorer links, validation actually run, assumptions, and caveats. Use references/inspection-and-validation.md for report structure.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

