text-to-cad is a collection of agent skills that give AI coding assistants (Claude Code, Codex, Cursor, Gemini, Grok, and others) the ability to design and manipulate CAD models. It's aimed at developers, mechanical engineers, and robotics builders who want their agent to generate 3D parts, write robot description files, or produce manufacturing-ready drawings without leaving their chat or editor.
Under the hood it runs on build123d and OpenCASCADE (via the OCP Python binding), packaged as the cadgen CLI/MCP server distributed on PyPI. The plugin installs as a set of skills plus a local viewer server, so agents can both generate and display models inline.
This fits teams building hardware products or robots who want an agent to iterate on part geometry, export fabrication-ready files, or scaffold robot description files (URDF/SRDF) from a conversation instead of hand-writing XML. It's a good match for anyone already using Claude Code, Codex, Cursor, Gemini, or Grok and wanting CAD capability added as a plugin rather than a separate app.
It also suits quick mechanical prototyping: asking an agent to generate a bracket, gasket profile, or enclosure, check it for manufacturability, and produce a drawing for a machine shop, all from text.
It is not a fit if you need a full interactive CAD GUI for freehand sketching, or if your workflow depends on proprietary CAD formats beyond STEP/STL/3MF/GLB/DXF. It also won't help if your agent app has no plugin or skills support and you're unwilling to run the Skills CLI fallback. Teams needing signed native binaries on locked-down Windows 11 machines (Smart App Control on) will hit friction, since the underlying OCP wheel ships unsigned native code.
CAD workflows run through uv, so install it first and confirm with uv --version.
The simplest path is to ask your agent directly:
Install text-to-cad from https://github.com/earthtojake/text-to-cad
For manual setup, install commands differ by agent. For Claude Code:
claude plugin marketplace add earthtojake/text-to-cad#latest
claude plugin install text-to-cad@earthtojake
For Codex:
codex plugin marketplace add earthtojake/text-to-cad --ref latest
codex plugin add text-to-cad@earthtojake
For Cursor (clone directly, since Cursor also reads Claude Code's plugin):
git clone --depth 1 --branch latest https://github.com/earthtojake/text-to-cad ~/.cursor/plugins/local/text-to-cad
For Grok Build:
grok plugin install earthtojake/text-to-cad@latest --trust
grok plugin enable text-to-cad
For Gemini:
gemini extensions install https://github.com/earthtojake/text-to-cad --ref latest --consent --auto-update
For an agent without plugin support, install the skills directly via the Skills CLI:
npx skills add earthtojake/text-to-cad#latest
After install, restart the agent app. The first start downloads cadgen's runtime, so a network connection is required. Update and reinstall commands mirror the install commands for each agent (marketplace update/uninstall, plugin update/remove, or re-running npx skills add).
Telemetry is on by default (anonymized usage stats and crash reports, no file contents or prompts) and can be disabled with uvx cadgen telemetry off.