Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add wedsamuel1230/embedded-engineering-skills --skill enclosure-designer -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/enclosure-designer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/enclosure-designer/

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

Similar skills

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

From the same set19

The whole set →
arduino-project-builder arduino-project-builder turns requirements into a complete Arduino project: firmware, sensors, actuators, networking, power. Useful when you need a working scaffold, not a snippet. CX Codex +1 588installs arduino-code-generator arduino-code-generator generates embedded C++ patterns for UNO, ESP32, and RP2040, covering sensor filtering, button debouncing, non-blocking timing, and data storage. CX Codex +1 460installs circuit-debugger The circuit-debugger skill for Claude Code guides checks of power, grounds, and signals in Arduino, ESP32, and RP2040 circuits. It helps trace faults such as an unresponsive sensor or an overheating component. CX Codex +1 298installs error-message-explainer error-message-explainer explains compiler, upload, boot, power, and runtime failures in Arduino and embedded projects. Use it when an IDE or board error needs a board-specific recovery plan. CX Codex +1 206installs power-budget-calculator power-budget-calculator estimates total power draw and battery lifespan for Arduino, ESP32, and RP2040 boards. Evaluates sleep cycles and recommends battery capacity. CX Codex +1 178installs datasheet-interpreter datasheet-interpreter pulls pinout, I2C address, timing figures and register map out of a component datasheet PDF, so you can wire the module without writing a driver first. CX Codex +1 173installs bom-generator bom-generator builds bills of materials for Arduino, ESP32, and RP2040 projects with parts, quantities, suppliers, price estimates, and compatibility warnings. CX Codex +1 164installs battery-selector battery-selector picks the cell chemistry and charging circuit for an Arduino, ESP32 or RP2040 project, from battery type down to runtime maths. CX Codex +1 163installs

Project sponsors

Companies that keep this analytics open