cad
Skill17k starsChanged 58 days agoMITView on GitHub
Create/edit parametric CAD models, organize CAD projects, export STEP/STL/3MF/GLB files, resolve prompt references, and measure geometry with cadgen. Open and visually review existing STEP/STP, STL, 3MF and GLB files in CAD Viewer.
5 other projects use a version of this, 1 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- saint0x/my-skillstheir own version, first seen Aug 29, 2026
- tlinedeep/claude-skillsedited, first seen Jun 3, 2026
- gugu-2/Prompt-CADtheir own version, first seen May 29, 2026
- Glow-maker/skillstheir own version, first seen Apr 27, 2026
- ffsshhttiikk/opencode-agents-skillstheir own version, first seen Feb 28, 2026
Who's talking about earthtojake/text-to-cad
- A Hacker News story“Text-to-CAD”Hacker News · May 1, 2026 · 186 points
- @camilleroux.com“Text-to-CAD open source : décrivez une pièce ou un mécanisme en langage naturel, laissez un agent (Codex, …”Bluesky · May 18, 2026 · 14 likes
- @davepentecost.bsky.social“github.com/earthtojake/...”Bluesky · Jul 28, 2026 · 2 likes
- A Hacker News story“Text-to-CAD: Generate 3D models with coding agents (open source)”Hacker News · Apr 29, 2026 · 2 points
- @agentpalisade.bsky.social“text-to-cad is a library of eleven agent skills that turn a coding agent into a CAD engineer, carrying a …”Bluesky · Jul 31, 2026 · 1 likes
The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 61
Talked about on GitHub, Bluesky and Hacker News (61 times).
On GitHub · 50
- Nov 2, 2026vendor: pull text-to-cad 5efa85a9 — gurul/gencad0 reactions
- Nov 2, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 2, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
45 more on GitHub
- Nov 2, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.4 → 0.10.0 — sudosubin/agents.nix0 reactions
- Nov 1, 2026Upstream updates to review — MoradDev/skills-unified0 reactions
- Oct 31, 2026PEP 541 Request: cad — pypi/support0 reactions · 1 comment
- Oct 30, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.3 → 0.8.4 — sudosubin/agents.nix0 reactions
- Oct 30, 2026Roadmap: Shaderera inside Claude and ChatGPT (not now) — shaderera/shaderera0 reactions
- Oct 30, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 30, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.earthtojake.text-to-cad: init at 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.1 → 0.8.2 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.earthtojake.text-to-cad: init at 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026codex-plugins.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.earthtojake.text-to-cad: 0.8.0 → 0.8.1 — sudosubin/agents.nix0 reactions
- Oct 27, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.26 → 0.8.0 — sudosubin/agents.nix0 reactions
- Oct 26, 2026vendor: pull text-to-cad 2f793659 — gurul/gencad0 reactions
- Oct 23, 2026Epic: Scan a broken part, get replacement CAD — zeketx/sidekick-mechanic0 reactions
- Oct 23, 2026Epic: Photo part ID with a 3D view and the manual page — zeketx/sidekick-mechanic0 reactions
- Oct 23, 2026Epic: "Make me this part" chat tool (text to CAD: STEP, STL, drawing) — zeketx/sidekick-mechanic0 reactions
- Oct 20, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.25 → 0.7.26 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 20, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 20, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.24 → 0.7.25 — sudosubin/agents.nix0 reactions
- Oct 19, 2026vendor: pull text-to-cad b316da8f — gurul/gencad0 reactions
- Oct 18, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.22 → 0.7.24 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-plugins.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-skills.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 18, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.21 → 0.7.22 — sudosubin/agents.nix0 reactions
- Oct 13, 2026codex-plugins.github.earthtojake.text-to-cad: 0.7.15 → 0.7.21 — sudosubin/agents.nix0 reactions
- Oct 13, 2026agent-plugins.github.earthtojake.text-to-cad: init at 0.7.21 — sudosubin/agents.nix0 reactions
On Bluesky · 9
- May 18, 2026Text-to-CAD open source : décrivez une pièce ou un mécanisme en langage naturel, laissez un agent (Codex, Claude Code) générer les fichiers… — @camilleroux.com14 likes and reposts · 1 reply
- Jul 28, 2026github.com/earthtojake/... — @davepentecost.bsky.social2 likes and reposts · 2 replies
- Jul 31, 2026text-to-cad is a library of eleven agent skills that turn a coding agent into a CAD engineer, carrying a plain-language request from STEP… — @agentpalisade.bsky.social1 likes and repost
- Jul 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 earthtojake / text-to-cad ⭐ 11,679 (+477) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 25, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 earthtojake / text-to-cad ⭐ 10,288 (+555) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending-js.bsky.social1 likes and repost · 1 reply
4 more on Bluesky
- Jul 22, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 earthtojake / text-to-cad ⭐ 8,784 (+297) 🗒 JavaScript A collection of agent skills for CAD,… — @github-trending.bsky.social1 likes and repost · 1 reply
- Jul 21, 2026今日のGitHubトレンド earthtojake/text-to-cad CAD、ロボティクス、およびハードウェア設計を行うAIエージェント向けのスキルライブラリです。 CADデータの生成、検査、調達、スライス、受け渡しなどの機能をエージェントに提供することを目的としています。 — @dailygithubtrends.bsky.social1 likes and repost
- Aug 8, 2026公式GitHubを確認。これはかなり堅い。CADを会話だけで終わらせず、ソース管理されたファイルとして編集し、STEP/STL/URDF/SRDF/SDFやG-codeまで明示的に出力・閲覧する技能群。… — @nemu-echosphere.bsky.social0 likes and reposts · 1 reply
- May 25, 2026CAD SKILLS: Generate CAD in AI agents like Codex and Claude Code. 100% open source, runs locally, free forever. 开源生成 CAD 文件的代理模型 - 支持导出… — @maoguofang.bsky.socialsays it tested it0 likes and reposts · 2 replies
On Hacker News · 2
- May 1, 2026Text-to-CAD186 points · 48 comments
- Apr 29, 2026Text-to-CAD: Generate 3D models with coding agents (open source)2 points
Used with
Projects with it also use 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.
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 versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- tlinedeep/claude-skills★ 085% same
Wrote their own version · 4
- ffsshhttiikk/opencode-agents-skills★ 2same name
- Glow-maker/skills★ 2same name
- gugu-2/Prompt-CAD★ 2same name
- saint0x/my-skills★ 1same 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 repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- bambu-labsSkill
- dfam-checkSkill
- dfmSkill
- dxfSkill
- engineering-drawingSkill
- gcodeSkill
- sdfSkill
- sendcutsendSkill
- srdfSkill
- step-partsSkill
- urdfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 8 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use the installed local skill files for the current interface.
- Distinctive: line 14
Read only the references needed for the request.
- Distinctive: line 30
Use the corresponding robot-description skill for URDF, SRDF or SDF.
- Distinctive: line 34
Run cadgen through uv, so this skill's commands share one installation, and its warm build daemon, with the CAD app's server:
- Very specific: line 48
Run project commands from the CAD project root.
- Distinctive: line 82
Document export and snapshot commands take saved files and never run source.
- Distinctive: line 83
Keep meaningful dimensions explicit.
- Distinctive: line 85
Prefer closed, positive-volume solids for physical parts, while honoring requests for surfaces or construction geometry.
- Very specific: line 87
Put parameterized geometry in ordinary factory functions.
- Very specific: line 91
Call child models inside the assembly model.
- Very specific: line 95
Read vendor STEP inputs with cadgen.read_step.
- Very specific: line 100
When named purchasable parts are needed, search $step-parts before making placeholders.
- Distinctive: line 162
After creating or visibly changing geometry, generate and review at least one snapshot of the resulting STEP or mesh.
- Very specific: line 189
If your tools include cad_show (your host may prefix it), use it with the file's absolute path, and follow its description for when to call …
“Common” is measured: kept by at least 6 in 10 of the 5 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 modeling and inspection
Provenance: maintained in earthtojake/text-to-cad. Use the installed local skill files for the current interface.
Start with the task
Read only the references needed for the request.
| Task | First action | Reference |
| Create or edit a part or assembly | Find the existing Python model, or create a decorated model below; edit source and run python <model>.py. | Model contract, shape construction; positioning for assemblies |
| Organize a CAD project | Follow its existing layout; for a new multi-model project use src/, format output folders, and a model catalog. | Project layout, minimal starters |
| Export STL, 3MF or GLB | Add a mesh decorator for a maintained output, or run the format's build INPUT.step OUT command for a one-off export. | Mesh exports |
| Resolve a reference from a prompt | Identify its saved STEP/STP document, open it with read_scene, and call scene.resolve(ref) as shown below. | Reference syntax and inspection |
| Measure or check geometry | Write a Python check using native build123d geometry and, where useful, cadgen.geometry. | Inspection and validation |
| Model from an image or drawing | Extract the specified dimensions and record meaningful assumptions. | Interpreting the request |
| Open an existing STEP/STP, STL, 3MF or GLB | Show it to the user. | Show the model |
| Review appearance or motion | Snapshot the saved document; use declared kinematics or animation for poses and clips. | Snapshots, kinematics |
| Diagnose a failure | Read the error and check the relevant model, geometry or command contract. | Repair loop, version migration |
| A message says to migrate | Do the migration now; an unmigrated model silently loses kinematics, materials and animation. | Version migration |
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.
Setup and paths
Run cadgen through uv, so this skill's commands share one installation, and its warm build daemon, with the CAD app's server:
cadgenbelow meansuvx --no-config --managed-python --python 3.13 --from cadgen==0.7.14 cadgenpythonbelow meansuvx --no-config --managed-python --python 3.13 --from cadgen==0.7.14 python
The first run downloads that installation and the first snapshot its headless browser; later runs reuse both.
cadgen doctor <skill-dir> reports the installation in use and checks that it is
the one this skill pins, and that the CAD kernel loads; use it for installation or
kernel load errors. Use the relevant
subcommand's --help for additional flags.
Run project commands from the CAD project root. CLI input/output paths and
read_scene/read_step paths are working-directory-relative; decorator out=
paths are relative to the model script. Anchor file inputs on __file__
when the model must run from any directory.
Create or edit a model
A model is a plain Python script with a parameterless decorated function
returning a build123d shape. Use one model per entrypoint, with the script and
its declared outputs sharing a filename stem. For example, src/bracket.py:
from cadgen import build123d as bd
from cadgen import step
WIDTH = 40.0
@step(out="../STEP/bracket.step")
def bracket():
body = bd.Box(WIDTH, 20, 6)
body.label = "bracket"
return body
if __name__ == "__main__":
bracket()python src/bracket.py- Edit the model source when it exists, then run it to regenerate its outputs. Document export and snapshot commands take saved files and never run source.
- Keep meaningful dimensions explicit. Use millimeters and XY/+Z unless the task or project specifies another convention; choose a useful functional datum. Prefer closed, positive-volume solids for physical parts, while honoring requests for surfaces or construction geometry.
- Put parameterized geometry in ordinary factory functions; a decorated model
selects a configuration. Keep module bodies cheap: create geometry and read
CAD inputs inside the model or its helpers. Use the lazy
bdimport above; use postponed annotations when annotations mentionbdtypes. - Call child models inside the assembly model. Place their results with
.moved()orLocation * shapeto preserve shared geometry. Use meaningful occurrence labels and source-defined placements. Rerun the parent assembly to incorporate a changed child. - Read vendor STEP inputs with
cadgen.read_step. Every file a build opens is an input on its own, whatever reads it (json.load,np.load,bd.import_step, a project font): nothing is declared. Never read a model's own output as its input. Geometry must not depend on untracked time, random values, environment variables or the working directory. - When named purchasable parts are needed, search
$step-partsbefore making placeholders. Record an unsuccessful search and any placeholder assumptions.
For unfamiliar dimensions or interfaces, record the assumptions needed to model and verify them. Ask for missing information when it materially affects the requested result. Inspection and export requests do not need a modeling brief.
Mesh exports
Stack @stl, @threemf or @glb on the model for outputs that should be
maintained on every run. A model may declare only meshes; STEP is optional.
For a one-off export from an existing generated or imported STEP:
cadgen stl build STEP/bracket.step STL/bracket.stl
cadgen 3mf build STEP/bracket.step 3MF/bracket.3mf
cadgen glb build STEP/bracket.step GLB/bracket.glbOmitting OUT writes one sibling file with the requested extension. It does not discover declared model variants. See mesh exports for decorator examples, mesh tolerances and animated GLB.
Prompt references and inspection
A reference such as /work/robot/STEP/assembly.step#o1.2.f7 identifies geometry
in a particular saved document. Its file part is the document's absolute path as
the CAD viewer copied it, with the file's real name and extension (in quotes when it
holds a space or #). Open that path with read_scene, and pass the whole reference
to resolve():
from cadgen import read_scene
scene = read_scene("/work/robot/STEP/assembly.step")
selection = scene.resolve("/work/robot/STEP/assembly.step#o1.2.f7")
face = selection.shape() # owned native geometry, in document world coordinates
print(selection.ref, face.area)A note from the viewer's Quick Edit reads: what the person wants, then
File: (the document it is about), References: (one per line, as above) and,
when they sketched on the view, Sketch: <path>: a PNG of the view with their
markup (or the image itself, attached). Look at the sketch before changing the model.
For a bare #o1.2.f7, use the identified target file. Do not guess between
ambiguous files or labels. Numeric refs belong to that saved revision;
reopen and reselect after rebuilding. The inspection reference
covers label aliases, enumeration, measurements and small reusable operations.
There is no inspect CLI. Put exploratory checks in the project's ignored
tmp/ (or system /tmp/); retain reusable checks in checks/ or its existing
test directory. Keep them outside model-source and raw-output folders.
Verify and hand off
Choose checks from the requested dimensions, clearances and topology. For STEP
outputs, check the saved artifact with read_scene or read_step. For mesh-only
models, check the model's returned native geometry and review the mesh output;
do not add a STEP solely to satisfy the workflow. Report units, thresholds,
selected geometry and untested requirements. A failed computation is not a pass.
After creating or visibly changing geometry, generate and review at least one snapshot of the resulting STEP or mesh. Snapshots are your own review: always render and read them yourself, never rely on the viewer for it. Choose additional views to expose the features under review; see snapshot policy and options.
cadgen step snapshot STEP/bracket.step tmp/review.png
cadgen stl snapshot STL/bracket.stl tmp/mesh.pngRepair failures in the source and rerun the affected checks. Use geometry and
images for CAD comparisons; path-targeted git status is bookkeeping, not
geometric evidence. cadgen store why <model>.py explains unexpected rebuilds;
python <model>.py --force forces one model, and cadgen daemon status shows
build progress. More diagnostics are in the model contract.
Include output files, checks actually run, and material assumptions or limitations in the final response. The user sees the model in the viewer (Show the model), so don't attach snapshots unless they ask for an image. Explain any snapshot skip or failure using the cases in the snapshot reference.
Show the model
Show the user each file you create or change, and any they ask to see. Snapshots and validation don't replace this.
- If your tools include
cad_show(your host may prefix it), use it with the file's absolute path, and follow its description for when to call it again.cad_viewreads what the user selected;cad_screenshotshows you what they see. Neither is a review of your own work. Otherwise run the CAD Viewer, from any folder:
cadgen viewer --host 127.0.0.1 --json --detach--detachreturns once the viewer answers requests and leaves it running in the background: always pass it, since a foreground viewer never exits (and piping its output throughtailcan hide the URL for good). It starts this machine's one viewer, or reuses it. Readurlfrom its one JSON line (never guess the port), and for each file returnurl?file=<its URL-encoded absolute path>. If it fails to launch, say so.
Generate changed artifacts first: the viewer never runs model scripts. Existing STEP files compile on open when needed. Topology selection and measurement require STEP; meshes support visual review.
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.

