photo-to-device SKILL.md skillA

photo-to-device from w1ne/kernelcad-web is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add w1ne/kernelcad-web/photo-to-device@git:20260723.ea2a845

Pins git:20260723.ea2a845 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
w1ne/kernelcad-web
Path
src/agent/skills/kernelcad-from-reference/photo-to-device/SKILL.md
Versions recorded
2
Latest version
git:20260723.b48efe4, committed Jul 23, 2026
First version recorded
Jul 23, 2026
Size
3,498 bytes
Repository stars
33
License
MIT

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# photo-to-device

Build portable kernelCAD from photo evidence: one image establishes scale, not
hidden construction.

## Use this route

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.

## Current active Studio/server boundary

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.

## Reference asset rule — overrides generic overlay guidance

This rule controls generic `referenceImage()` advice from
`use-the-available-kernel` and `blockout-model`.

- An active Studio/server uploaded photo is managed. Never emit
  `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.
- A checked-in/local source-owned asset may use
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add w1ne/kernelcad-web/photo-to-device@sha256:5b5413fdfa245f9b

The line at the top of this page pins the label git:20260723.ea2a845, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ym5goevpmgzwx7st.svg)](https://markdownregistry.com/a/art_ym5goevpmgzwx7st)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Jul 23, 2026.

versioncommittedcommitsizeaudit
git:20260723.b48efe4 latest2026-07-23 b48efe4 3,498 BA view · diff
git:20260723.ea2a8452026-07-23 ea2a845 3,625 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3498 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

w1ne/kernelcad-web · 33 stars · license MIT · pushed 2026-10-21 · branch develop

API

GET https://markdownregistry.com/api/v1/artifacts/art_ym5goevpmgzwx7st
GET https://markdownregistry.com/api/v1/resolve?ref=w1ne/kernelcad-web/photo-to-device
GET https://markdownregistry.com/api/v1/blob/5b5413fdfa245f9b1df31363c0161af6e0567b8a5f4a6a494c41a688cbecb050

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from w1ne/kernelcad-web

AGENTS.md AGENTS.md file
w1ne/kernelcad-web · AGENTS.md
git:20261011.d7f278d · audit A · 33 stars
CLAUDE.md CLAUDE.md file
w1ne/kernelcad-web · CLAUDE.md
git:20261016.619f84f · audit A · 33 stars
kernelcad-cookbooks SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-cookbooks/SKILL.md · Find and run kernelCAD cookbook recipes (machined housing, NEMA motor plate, robot arm, planetary gearbox, T-slot…
git:20261015.539a4d5 · audit A · 33 stars
kernelcad-design-loop SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-design-loop/SKILL.md · Build or revise a CAD model with the hosted kernelCAD MCP — write .kcad.ts source, evaluate, review with design_loop…
git:20261013.a656260 · audit A · 33 stars
kernelcad-export SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-export/SKILL.md · Export a kernelCAD model to STEP, STL, 3MF, GLB, OBJ, USD, DXF or G-code through the hosted MCP, and check it before…
git:20261015.5aa65b3 · audit A · 33 stars
kernelcad-studio-paint SKILL.md skill
w1ne/kernelcad-web · plugins/kernelcad/skills/kernelcad-studio-paint/SKILL.md · Show a kernelCAD model in Studio and act on the user's painted review marks. Use when the user wants to see the model…
git:20261013.a656260 · audit A · 33 stars
llms.txt@site llms.txt file
w1ne/kernelcad-web · site/llms.txt
git:20261019.24377b9 · audit A · 33 stars
kernelcad-assemblies SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-assemblies/SKILL.md · Multi-part assemblies — assembly(), parts, connectors, 7 mate types, fixed and revolute joints…
git:20261019.29421fa · audit A · 33 stars
kernelcad-authoring SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-authoring/SKILL.md · kernelCAD model authoring API — primitives, transforms, booleans, sketches, path-builder, sketch-text…
git:20261019.055d317 · audit A · 33 stars
kernelcad-drawings SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-drawings/SKILL.md · Export 2D engineering-drawing sheets (SVG, or a printable PDF on a standard sheet) from any model or assembly —…
git:20261014.54c2106 · audit A · 33 stars
kernelcad-fea SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-fea/SKILL.md · Answer "will this part hold this load?" with solver evidence — declare a linear-static structural study with…
git:20261010.308dd5d · audit A · 33 stars
kernelcad-features SKILL.md skill
w1ne/kernelcad-web · src/agent/skills/kernelcad-features/SKILL.md · Edge and face features — fillet, chamfer, shell, face refs through operations, holes, cutouts. Use when adding rounded…
git:20261019.4adb761 · audit A · 33 stars

Every file in w1ne/kernelcad-web

Browse by kind, by grade A, or by owner.