/kernelcad-design-skills:photo-to-devicefrom kernelCAD — Parametric CAD & MCP
Use when rebuilding a simple front-on consumer electronic, passive enclosure, controller, instrument face, or hobby case from a photo with a known dimension and no moving mechanism.
Ships in kernelCAD — Parametric CAD & MCP. 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.
Build portable kernelCAD from photo evidence: one image establishes scale, not hidden construction.
Use for a simple front-on e-reader, remote, meter, controller, display housing, or passive enclosure with one known dimension. Escalate robots and mechanisms to the dedicated assembly workflow; require multi-view contracts for joints, transmissions, hardware, and unknown internals.
The current active Studio sends a typed photo reference to the hosted server, validating MIME/size, computing SHA-256 provenance, and removing it after the run. Do not use legacy chat/HeadlessKernel or a client-side hash.
This rule controls generic referenceImage() advice from
use-the-available-kernel and blockout-model.
referenceImage() or its temporary/managed asset path in .kcad.ts.
Instead add a source comment with filename and server SHA-256 (never a path),
then model only from the validated photo brief.referenceImage('./reference.jpg', opts) as a durable overlay.Record photo reference provenance in the source comment and validated photo brief: filename, MIME, server SHA-256, known dimension in millimetres, observed facts, and inferred assumptions.
// Real Object Brief, record observed facts (outline, screen,
seams, controls, ports, ratios, measured span) and inferred facts
(depth, back, wall, internals), marking every inference as an assumption.A photo-only build cannot establish depth, PCB/battery layout, material stack, brand dimensions, tolerances, or hidden fastening. It proves neither a functional device nor a manufacturable copy or safe mechanism; ask for more dimensions, views, vendor data, or escalation when needed.
trace_from_image is optional only for organic silhouettes such as an
ergonomic grip. Never trace a rectangular enclosure, display, or button grid;
use dimensions, parameters, and ratios. Trace output is evidence, not the
object hypothesis.
Before handoff, run:
kernelcad evaluate build.kcad.ts
kernelcad interference build.kcad.ts
kernelcad evaluate must have zero errors and kernelcad interference zero
unintended overlaps. With the reference hidden, render front, top, and iso:
every visible feature maps to a real part or intentional one-piece feature.
Meshy or Tripo output is not CAD. Retain it only as a visual_mesh_reference for composition/proportions, never as parts or a way around kernelCAD gates.
For a proto.cat handoff, send asset identity, provenance, known dimension, observed/inferred brief, and portable gated source—not a local temporary path, browser data URL, Meshy/Tripo mesh as CAD, or proof of hidden construction.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
28 skills in this plugin
/blockout-modelCoarse parametric blockout of the primary masses before committing to detail. Establishes the bounding envelope, canonical-view alignment, and reference-image plane, then confirms the blockout is plausible before detail work begins./image-replicatorThe render→score→iterate loop for reference-photo reconstruction. How to invoke kernelcad render, run scoreAgainstReference, interpret per-gate numbers, and decide which gate to chase next./kernelcadkernelCAD entry decision tree — what skill to load when, universal conventions that apply everywhere. Load this FIRST; it points at the right specialty skill for your task./kernelcad-assembliesMulti-part assemblies — assembly(), parts, connectors, 7 mate types, fixed and revolute joints, .model()/.solvedModel(). Use for any model with two or more mechanical parts that need joint metadata./kernelcad-authoringkernelCAD model authoring API — primitives, transforms, booleans, sketches, path-builder, sketch-text, return-single-shape rule, conventions, CLI commands, and verification gates. Load this when writing or modifying .kcad.ts geometry./kernelcad-drawingsExport 2D engineering-drawing sheets (SVG, or a printable PDF on a standard sheet) from any model or assembly — third-angle front/top/left + isometric views with hidden-line removal, overall dimensions, and a title block. Use when the deliverable is a human-readable fabrication or review drawing.npx claudepluginhub w1ne/kernelcad-skills --plugin kernelcad-design-skills