Repository navigation
·
3 commits
to main
since this release
Build LEGO models by describing them in chat, and get back an LDraw .ldr file.
Install in Claude
- Download
brickwright-skill.zipbelow. - Turn on Settings → Capabilities → Create and edit files.
- Settings → Customize → Add → Upload skill → choose the zip → Add skill.
- Start with
/brickwrightand describe your build, e.g. "a small red lighthouse on a grey rocky base, about 10 studs tall".
Claude writes the build, checks it for interpenetrating parts, unsupported parts, and connectivity, renders a preview to look at, and hands back an .ldr.
Opening the result
- BrickLink Studio (free, Windows/Mac): File → Import → LDraw, or File → Open.
- No install: upload it at https://library.ldraw.org/model-viewer
What's in the box
SKILL.md— the agent instructionsapi_reference.md— the BrickLayer API the model builds againsttesting.py— the physical-validity checksrender.py— a CPU rasterizer, so previews need no GPUldraw.tar— LDraw geometry for 131 common parts
The skill installs bricklayer-sdk from PyPI on first use, so it needs a sandbox with package access.
Parts outside the bundled 131 still build and collision-check — the full catalog is 21,676 parts — they just render as plain boxes in previews.