Skip to main content
skill CX Codex

text-to-cad-harness — Claude Code skill: CAD models from text

This skill has your coding agent write build123d Python parts from a description, export them as STEP, STL or URDF, and open the geometry in a local viewer.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill text-to-cad-harness -a claude-code
Open on GitHub

What text-to-cad-harness does

The agent edits scripts under models/*.py; the skill rebuilds the artifacts — STEP, STL, DXF, GLB and snapshots. Three pieces ship with it: skills/cad/ for parts and exports, skills/urdf/ for robot descriptions with links and joints, and viewer/, a React/Vite app that needs no backend. Geometry runs on build123d over OpenCascade (OCP).

Setup is the part people trip on. You need Python 3.11+ and a virtualenv: python3.11 -m venv .venv, then ./.venv/bin/pip install -r requirements-cad.txt. Skip that file and the model scripts will not run at all. The viewer starts with npm run dev from viewer/ and serves at http://localhost:4178.

Keep dimensions as variables such as OUTER_DIAMETER or HEIGHT and the agent changes numbers instead of rewriting geometry. Multi-part assemblies come together with Compound around several BuildPart blocks. The URDF side writes XML with link and joint entries plus meshes in meshes/.

What it helps with

  • turn a written description into a 3D part
  • export STEP and STL from one Python script
  • build a parametric part driven by named variables
  • generate a URDF robot with links and joints
  • preview geometry in a browser with no backend

Example prompts for the agent

  • Make an 80 by 60 mm bracket with four M6 holes and save it to models/bracket/bracket.py
  • Generate a URDF for a robot with base_link and arm_link, revolute joint on the Z axis
  • Change HEIGHT on the hex spacer to 14 mm and rebuild the STEP file

How to install text-to-cad-harness

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill text-to-cad-harness -a claude-code

2Manually: put the files in place

~/.claude/skills/text-to-cad-harness/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/text-to-cad-harness/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about text-to-cad-harness

How do I install text-to-cad-harness in Claude Code?

Run npx skills add reason-machines/trending-skills --skill text-to-cad-harness -a claude-code. The skill lands in ~/.claude/skills/text-to-cad-harness/SKILL.md.

What does text-to-cad-harness do?

It gives your agent instructions and scripts for writing CAD models in build123d, exporting them as STEP, STL, DXF, GLB or URDF, and viewing the result locally.

What do I need before using it?

Python 3.11+ with a virtualenv built from requirements-cad.txt, which pins build123d and OCP. The viewer also needs npm install inside viewer.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set139

create-simulated-aeronautics-mod This skill covers development for Create Simulated, from force-providing blocks to physics contraptions. Use it when building Minecraft planes, airships, or land vehicles. CX Codex +1 391installs mdv-markdown-visualization This skill gets your agent writing .mdv files, a Markdown superset with charts, KPI cards and HTML or PDF export. CX Codex +1 390installs kami-document-design A skill that locks generated resumes, slides, letters and white papers into one editorial look. Useful when you want a clean PDF without hand-building the layout. CX Codex +1 387installs permiso-accessibility-permissions A skill for coding agents that shows how to add a guided macOS accessibility permission panel to a Swift app. CX Codex +1 386installs gpt2api-openai-gateway This skill walks your agent through deploying a self-hosted Anthropic-compatible gateway over chatgpt.com and wiring up an account pool. CX Codex +1 378installs openai-privacy-filter A skill that wires a token-classification model into your project to find and blank out personal data. Useful before shipping logs or documents to an LLM. CX Codex +1 369installs masterhttprelayvpn-proxy A skill that walks your agent through running a local HTTP/SOCKS5 proxy, with traffic tunnelled through Google Apps Script and dressed up as Google requests. CX Codex +1 365installs freellmapi-proxy This skill sets up a self-hosted Anthropic-compatible proxy that puts free-tier keys from many providers behind one endpoint. CX Codex +1 351installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor