build123d

build123d is a skill for Claude Code from rawwerks/VibeCAD. It costs 138 tokens per session (1,580 once invoked), scanned C, original, MIT.

A Python-based CAD library for creating adjustable 3D solid models. It can combine shapes and export models to formats such as GLB, STEP, and STL.

In plain words
What is it for?
Use it to create shapes such as boxes, spheres, cylinders, threads, and fasteners, perform unions or cuts, and export models for web viewing or manufacturing.
Why use it?
It lets developers describe and change 3D geometry in code instead of drawing every version manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the build123d plugin — 2 skills shipped together

Good fit Use it to create shapes such as boxes, spheres, cylinders, threads, and fasteners, perform unions or cuts, and export models for web viewing or manufacturing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rawwerks/vibecad/build123d
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rawwerks/VibeCAD --skill build123d
Clone the repo
git clone --depth 1 https://github.com/rawwerks/VibeCAD

Made for: Claude Code.

Or install build123d, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build123d

README.md
[![agentmods](https://agentmods.dev/badge/skills/rawwerks/vibecad/build123d/github.svg)](https://agentmods.dev/skills/rawwerks/vibecad/build123d)
Your own site
<a href="https://agentmods.dev/skills/rawwerks/vibecad/build123d"><img src="https://agentmods.dev/badge/skills/rawwerks/vibecad/build123d/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build123d

Your own site · 80×15
<a href="https://agentmods.dev/skills/rawwerks/vibecad/build123d"><img src="https://agentmods.dev/badge/skills/rawwerks/vibecad/build123d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,580 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.01580
Opus 5.5 $0.00055 $0.00632
Sonnet 5.5 $0.00028 $0.00316
Haiku 4.5 $0.00014 $0.00158

Measured 3mo ago against content hash d1ca04b5c9a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

build123d scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 35 executable files (references/examples/01_simple_shapes.py, references/examples/02_boolean_operations.py, references/examples/03_export_formats.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
plugins/build123d/skills/build123d/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

build123d CAD Modeling

Zero-Setup with uv

No installation required. Run any build123d script with:

uvx --from build123d python script.py

This automatically downloads build123d and runs your script. First run takes ~30s, subsequent runs are instant.

Install uv (if not already installed):

curl -LsSf https://astral.sh/uv/install.sh | sh

Critical: Imports

All exports are in the main module:

from build123d import Sphere, Box, Cylinder, export_gltf, export_step, export_stl

NEVER use from build123d.exporters import ... - this module does not exist.

Quick Start Example

#!/usr/bin/env python3
from build123d import Sphere, Box, export_gltf, Pos

# Create shapes
sphere = Sphere(radius=20)
box = Pos(15, 0, 0) * Box(10, 10, 10)

# Boolean union
result = sphere + box

# Export to GLB (for web viewers, Three.js)
export_gltf(result, "./model.glb", binary=True)
print("Exported model.glb")

Run it:

uvx --from build123d python my_model.py

Geometry Inspection (Optional)

To inspect geometry properties, add this to your script:

def inspect(shape):
    bbox = shape.bounding_box()
    print(f"Size: {bbox.max.X - bbox.min.X:.1f} x {bbox.max.Y - bbox.min.Y:.1f} x {bbox.max.Z - bbox.min.Z:.1f}")
    print(f"Volume: {shape.volume:.1f}")
    print(f"Faces: {len(shape.faces())}, Edges: {len(shape.edges())}")

inspect(result)

A full inspection harness is available in scripts/harness.py for advanced use.

Quick Reference

Shapes

Box(length, width, height)
Sphere(radius=20)
Cylinder(radius=10, height=25)
Cone(bottom_radius=15, top_radius=5, height=20)
Torus(major_radius=20, minor_radius=5)

Boolean Operations

union = shape1 + shape2           # Fuse
difference = shape1 - shape2      # Cut
intersection = shape1 & shape2    # Common volume

Positioning

from build123d import Pos, Rot
moved = Pos(x, y, z) * shape      # Translate
rotated = Rot(rx, ry, rz) * shape # Rotate (degrees)

Read the full file on GitHub · 192 lines

Files

What ships with it

39 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 192 lines · 0 tokens per session scan C d1ca04b5c9a4

Subscribe to this mod's changes

build123d is a skill published in the GitHub repository rawwerks/VibeCAD (130 stars, last pushed 11mo ago), licensed MIT. It adds 138 tokens to every session and 1,580 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

build123d compared with skills from other repositories

build123d next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build123drawwerks/VibeCADSkill13011mo agoMITC138Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code