/vcad:vcadfrom vcad
Designs real, manufacturable 3D parts using a local parametric CAD kernel driven over MCP. Author parts in loon, verify with inspect/render/receipts, and export STL/GLB/STEP for 3D printing or machining.
Ships in vcad. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
vcad is a parametric CAD system with its own BRep kernel. It runs entirely on
the user's machine — no accounts, no cloud, no share links. You drive it through
the vcad MCP server; the user watches in vcad.app.
vcad tools are
in your tool list. (No app? The same server runs as npx -y @vcad/mcp.)create_cad_loon call. That returns a document_id; every later tool takes it.inspect_cad, look with
render_view, prove with receipts (below). Never describe a dimension you
haven't measured.open_in_app (a vcad:// link).export_cad writes STL / GLB / STEP; save_document writes a
.vcad (plus the .loon source) the user owns.Lisp-like, square brackets, millimetres, Z-up. Operations are
subject-last, so they thread through pipe.
[defparam wall 3.0]
[defparam bore 8.2]
[let plate [extrude 0 0 wall
[sketch 0 0 0 1 0 0 0 1 0
#[[polygon #[0 0 60 0 60 40 0 40]
#[#[8 8 2.2] #[52 8 2.2] #[8 32 2.2] #[52 32 2.2]]]]]]]
[root [pipe plate
[union [translate 30 20 0 [cylinder 9 20]]]
[difference [translate 30 20 -1 [cylinder bore 22]]]]
"aluminum"]
[cube x y z] sits with its corner at the origin; [cylinder r h] /
[cone rb rt h] stand on the XY plane along +Z; [sphere r] is centred.[difference tool subject], [union other subject].[polygon outline #[holes]] extruded — not a stack
of difference cutters.[defparam name value] survives into the document — change it later with
set_parameters instead of re-authoring. [let …] does not.[mirror-x s],
[mirror-pattern-x s], [mirror-group-x "-r" side] for assemblies.create_cad_loon tool description. Read it.| Question | Tool |
|---|---|
| Size, volume, mass, centre of mass | inspect_cad |
| What does it look like? | render_view (look at it — every time) |
| Do these parts collide / keep a gap? | check_clearance (labeled assertions persist) |
| Will it print / machine? | dfm_check |
| Is every claim still true after edits? | build_receipt, then verify_receipt |
Receipts are fail-closed: a claim is Holds, Stale (the geometry changed since it was checked) or Violated. Predicted values from simulation are provisional until measured. Report the receipt verdict, not your own summary.
Call server_info first.
uptime_s or a changed instance_id → the server restarted; re-run the
last authoring call. It is not a renderer bug.update.state: "stale" → this server is older than the newest release.
Tell the user and suggest restarting their agent (or updating vcad.app).durable: false → sessions won't survive a restart; keep the loon source.Each running vcad.app registers itself in ~/.vcad/instances/<pid>.json
(pid, port, open document, launch time); ~/.vcad/app.json only points at
the newest. Every app-bridge result ends with [vcad.app pid N · document]
and carries _meta["io.vcad/instance"]: check it names the window you mean.
A ⚠ vcad.app CHANGED notice means the app relaunched or another window took
over — re-check the open document before trusting earlier state.
Pick the window explicitly when more than one runs:
VCAD_APP_PID=<pid> — that instance; fails loudly if it's gone.VCAD_APP_URL=http://127.0.0.1:<port>/mcp — that endpoint, verbatim.VCAD_APP_DOCUMENT=<path> — the instance with that file open.VCAD_APP=0 — @vcad/mcp doesn't link to any app.Never pkill/killall vcad.app by pattern. Other sessions may be driving
other windows, and to them it looks like a crash. Quit only an instance you
launched, by its pid (kill <pid>, from ~/.vcad/instances/).
open_in_app and local files.create_cad_loon for a whole part beats dozens of tiny edits.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
parametric-cad, brep-kernel, 3d-printing, cad-automation, loon-language
npx claudepluginhub muni-works/vcad --plugin vcadOther plugins' skills for the same job