enclosure-designer — Claude Code skill: 3D-printable board cases
enclosure-designer turns a request for a board case into an OpenSCAD model: it pins down measurements, places connector cutouts and picks wall thickness for the conditions.
MIT 189 installs ★ 33 updated 2026-10-15
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a claude-codeWhat enclosure-designer does
A vague ask for a case becomes a model with real numbers in it. The skill starts with the physical side: board size, the tallest part on it, where connectors sit, how the case mounts, and what the environment looks like. references/design-workflow.md then carries the parameter flow, while references/dimensions.md fills gaps when nobody has calipers to hand.
Two things to build from ship inside: assets/basic-template.scad and scripts/generate_enclosure.py. A third reference, references/print-and-protection.md, covers wall thickness, print settings, airflow and moisture.
Measurements you supply outrank the bundled tables, and a fit problem gets treated apart from a print problem. On water resistance the skill stays blunt — shape alone keeps nothing dry. When battery volume is what drives the case size, it points to battery-selector or power-budget-calculator.
What it helps with
- size a case around the board and its tallest part
- place cutouts for connectors and a cable exit
- pick wall thickness and material for outdoor use
- tell a fit problem apart from a print problem
- start a model from the OpenSCAD template
Example prompts for the agent
- Make a printable case for an ESP32 board with a USB cutout and screw mounts — start from the OpenSCAD template.
- The tallest part on the board is the barrel jack, with USB on one end. Work out the outer dimensions and the cutouts.
- The case lives outdoors. What wall thickness and venting should I use?
How to install enclosure-designer
1Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a claude-code2Manually: put the files in place
~/.claude/skills/enclosure-designer/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/enclosure-designer/
1Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a codex2Manually: put the files in place
.agents/skills/enclosure-designer/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a cursor2Manually: put the files in place
.cursor/skills/enclosure-designer/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wedsamuel1230/embedded-engineering-skills skills/enclosure-designer2Manually: put the files in place
.github/skills/enclosure-designer/SKILL.md1Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a gemini-cli2Platform CLI
gemini skills install https://github.com/wedsamuel1230/embedded-engineering-skills --path skills/enclosure-designerManually: put the files in place
.devin/skills/enclosure-designer/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about enclosure-designer
How do I install enclosure-designer in Claude Code?
Run npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a claude-code. The skill lands at ~/.claude/skills/enclosure-designer/SKILL.md.
What does enclosure-designer do?
It helps design a 3D-printable enclosure for an Arduino, ESP32 or RP2040 project: board fit, cutout placement, mounting, material and print settings.
Do I need exact board measurements?
They help, since your own numbers take priority over the reference tables. Without them the skill opens references/dimensions.md, which lists sizes for common boards and modules.
Source text
SKILL.md · MIT
---
name: enclosure-designer
description: Use when users need a 3D-printable enclosure for an Arduino, ESP32, or RP2040 project and need help with measurements, cutouts, print settings, or environmental protection.
metadata: {triggers: "3D enclosure, case, cutout, mounting, print settings"}
---
# Enclosure Designer
Use this skill to design practical enclosures without loading a full mechanical
guide up front.
## Resources
- `assets/basic-template.scad` - starting OpenSCAD template
- `scripts/generate_enclosure.py` - enclosure generator script
- `references/design-workflow.md` - measurement, parameter, and generator
workflow
- `references/dimensions.md` - common board and module dimensions
- `references/print-and-protection.md` - wall thickness, print settings,
ventilation, and waterproofing
## When to Use
Use this skill when the user asks for:
- an enclosure, case, box, or housing
- mounting holes or cutout placement
- OpenSCAD-based enclosure generation
- board fit checks for Arduino, ESP32, or Pico-class boards
- print-material or weather-resistance guidance
## Workflow
1. Gather the minimum physical inputs:
- board dimensions
- tallest component
- connector locations
- mounting method
- environmental constraints
2. Open `references/design-workflow.md` for the parameterization flow.
3. Open `references/dimensions.md` if the user does not already have exact
measurements.
4. Open `references/print-and-protection.md` for material, wall, ventilation,
or moisture guidance.
5. Use `assets/basic-template.scad` or `scripts/generate_enclosure.py` when the
user needs a concrete starting model.
## Core Rules
- Treat user measurements as authoritative over reference dimensions.
- Add clearance deliberately for connectors, wiring, and print tolerance.
- Separate fit problems from printability problems.
- Do not promise waterproofing from geometry alone.
## Verification
- The board and connectors fit with explicit clearance.
- Mounting points and cable exits are reachable.
- The selected material and wall thickness match the use environment.
- Print orientation and support strategy are named before finalizing the design.
## Integration
- Pair with `battery-selector` or `power-budget-calculator` if battery size
drives the enclosure volume.
- Pair with `readme-generator` when the enclosure should be documented for a
project repo.
## Shared Output Contract
Use [the shared Arduino skill contract](../../docs/arduino-skill-contract.md):
state assumptions, required tools and versions, implementation steps,
tests/evidence by proof stage, known limitations, and recovery/security notes.
© wedsamuel1230 · MIT · wedsamuel1230/embedded-engineering-skills