Skip to the content
4 layers252 × 92 mmCooksense, the printed circuit board in 3D

The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

Size
252 × 92 mm
Copper layers
4
Thickness
1.6 mm
Parts
195
Nets
186
Pads
706
Tracks, vias
2,838, 980
Pours
18
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
16 Jul 2026
Updated
3 Nov 2026

Overview

Cooksense is an open-source printed circuit board by misko, from the misko/prompt2device repository on GitHub, published under the MIT licence. It is a 4-layer board of 252 × 92 mm with 195 parts on 186 nets, routed with 2,838 tracks and 980 vias.

It is built around the MCP3208-CI/SL, MAX31856MUD+T and DIP05-1A72-12L, with the AO3401A, SM05B-GHS-TB(LF)(SN) and PESD5V0S1BA among its other parts.

Main components

12

README

README.md

prompt2device

The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

The Crow carrier + pod public design package provides native designs and fabrication exports for the 5-carrier/10-pod prototype batch. It is a subset of the local sealed release, not order authorization.

Prompt to device: give an agent a plain-language hardware brief, work through explicit design, review, and physical-test cycles, and finish with the artifacts needed to manufacture the device—not merely a plausible CAD image.

Quick start

1. Give the PCB skill a brief

text
/pcb-design 3S LiPo input → 4× USB-A outputs at 5 V / 1.5 A each + 1× USB-C output at 5 V / 5 A.

2. See fabricated examples

These two projects show the path from a plain-English request to electrical CAD, mechanical CAD, and fabricated hardware. The prompt cells preserve the compact original wording; the links retain the corresponding design-lineage records. Photographs are bench evidence, not production-qualification claims. Exact provenance and claim limits are in fabricated-examples.md.

pluto-rx2-8way-v5 is the fabricated eight-way RF switch board. Its immutable PCB design archive is v0.2.1-2026-08-14, with a sealed 3D PCB render, and its independently versioned v0.8.0-2026-08-28 enclosure has a corresponding installed-assembly render. That enclosure remains an honest INCOMPLETE candidate pending sliced and printed fit, retention, connector-service, and thermal tests. The PCB archive itself predates fabrication and still records DO-NOT-ORDER; RF first-article measurements remain open. The current human-readable engineering study is RF isolation, leakage paths, and a v6 mitigation strategy.

usb-hub-3s-v3 is the closest existing hardware to the quick-start brief: three USB-A outputs and one USB-C output rather than four USB-A outputs. Its latest sealed and fabricated archive is v1.12-2026-07-28. The bring-up journal records physical v1.12 boards and the replacement assembly's successful no-load regulation checks; full load, transient, and thermal qualification is still open.

The exact v1.12 board also has an independently versioned v0.4.0-2026-08-28 enclosure with a corresponding installed-assembly render. Its authored source and replay instructions remain mutable, while the release is an immutable INCOMPLETE candidate: structural and collision screens pass, but printed fit, connector service, retention, and thermal evidence remain open.

3. Follow the prompt-to-device loop

text
plain-language brief
  → fact locks and architecture
  → schematic, placement, routing, and enclosure development
  ↺ independent review, correction, regeneration, and measurement
  → sealed fabrication and mechanical artifacts
  → first article, physical findings, and the next development cycle

Today the governed output can include:

  • native KiCad schematics and a rendered schematic PDF;
  • the routed KiCad PCB plus Gerbers, drill files, BOM, and CPL for fabrication;
  • top, bottom, and 3D PCB renders plus a STEP assembly;
  • when mechanical work is selected, enclosure source, printable STLs, assembly renders, and clearance evidence; and
  • governed Markdown investigations under each project's 01_docs/reports/.

The pipeline already uses board-level CAD/assembly twins as verification instruments. Governed firmware releases and an integrated product-level digital twin are forward work, tracked by IMP-234 and IMP-236.

What this repository is

prompt2device is a code-first prompt-to-device engineering system. It turns a user brief into generated KiCad source, bounded routing candidates, independently graded fabrication evidence, immutable releases, printable enclosures, and measured first-article records.

The product is the workflow under skills/. Boards under projects/ are its active applications; sealed release folders are immutable evidence, not templates to copy.

Manual commissioning

Clone the repository, create a branch, and save the user's original request as a UTF-8 text file:

bash
git clone https://github.com/misko/prompt2device.git
cd prompt2device
git switch -c codex/my-board

Create the governed project scaffold and choose its capability profile:

bash
python3 skills/pcb-design/scripts/commission_project.py my-board \
  --brief-file /path/to/original-brief.txt \
  --signal-integrity ordinary \
  --assembly jlcpcb \
  --firmware forbidden \
  --target design

Use high_speed_digital for USB and similar controlled digital links. Use rf only when the board intentionally carries RF/microwave signals. Add --foreign-mating when the floorplan consumes geometry from third-party hardware. Run the command with --help for enclosure and target options. Here --assembly jlcpcb selects the populated JLCPCB PCBA evidence path, not merely bare-board fabrication.

The command reports PCB-SCAFFOLD OK and leaves PCB-COMMISSION explicitly INCOMPLETE. It preserves the prompt and creates an executable commission hold; it does not accept requirements, adopt the seeded schema examples, or run a board producer.

Inspect the selected lifecycle before spending engineering time:

bash
python3 skills/pcb-design/scripts/skill_reference_router.py \
  --profile projects/my-board/01_docs/capability-profile.json \
  --at-stage PCB-COMMISSION \
  --json

Then give Codex this instruction:

text
Read and follow skills/pcb-design/SKILL.md for projects/my-board. Preserve the
original brief, close the commission fact locks, and stop at the first evidence
or operator checkpoint. Do not create firmware unless the brief explicitly
asks.

Do not run rebuild_all.sh yet. The scaffold contains visible schema examples and 01_docs/COMMISSIONING-HOLD.md; both rebuild conductors refuse to run until the commission boundary is reviewed and that marker is deliberately removed.

Start with skills/pcb-design/SKILL.md. Its canonical lifecycle and runnable command map is execution-graph.md.

How execution is structured

The repository deliberately separates three layers:

text
capability profile
  -> disclosure graph (what stages/references are selected)
  -> project conductor (what bounded commands actually run)
  -> owning gates (what exact subjects passed)
  -> review/seal/publication/physical claims
  • The router is planning only. Its output is never execution evidence.
  • projects/<name>/03_src/rebuild_all.sh is the full source/schematic conductor. It intentionally pauses at review and operator checkpoints.
  • rebuild_reuse.sh is the deterministic route-authority replay when the schematic is unchanged; route.yaml selects the authenticated source.
  • Fresh route exploration is a separate candidate workflow; canonical rebuild replays the authenticated route source selected by route.yaml.
  • Layout seal, PCB release seal, publication, ordering, and first article are different claims with different owners.

The declarative lifecycle is:

text
commission -> architecture -> sourcing
  -> schematic -> placement -> routing -> layout seal
  -> fabrication -> assembly verification
  -> release review -> release seal
  -> publication | first article -> production

RF context/source/realized/fabrication stages and foreign-mating import are conditional branches. High-speed digital composes inside the ordinary stages. Enclosures have an implemented parallel INCOMPLETE-candidate release stream and may bind an unchanged PCB release without resealing it. Higher readiness still requires the enclosure skill's recomputable CAD and physical evidence. Firmware is currently an explicit handoff, not a governed release stream; IMP-234 tracks that missing boundary.

Skills and authority

SkillOwns
pcb-designCommission, lifecycle composition, backtracking, reviews, release seal, publication, first article.
kicad-pcbTSX/KiCad schematic conversion, netlist/parity, placement, geometry, routing, DRC, SI/RF realization.
jlcpcb-fabGerber/drill/BOM/CPL, stock/population/rotation, JLC CAD twin, manufacturer staging, bring-up cards.
pcb-enclosureMechanical commission, PCB interface binding, independent fasteners, motion/clearance, mesh/physical evidence, enclosure releases.
shopping-listProvenance-bound purchase lists for self-supplied parts.

Authority is singular. A skill links to another owner's procedure rather than copying it. Project contracts.md files own exact artifact membership. Script --help text owns exact flags. improvements.md tracks work and rationale but never overrides an executable gate or accepted ADR.

Repository map

PathPurpose
skills/Reusable workflow, references, tools, and project templates.
projects/Active boards, including manufactured and still-evolving designs.
archived_projects/Retired scaffolds and frozen regression/history units.
docs/Documentation index, accepted ADRs, measured proof, and historical context.
tests/Clean and known-bad fixtures proving gates can both pass and fail.
external_hardware/Measured/cited facts about foreign devices this repo must mate with.
improvements.mdForward work registry and retained improvement history.

See docs/README.md for the documentation authority map.

Design model

The board is generated from committed human-owned source:

  • TSX/tscircuit is the standard schematic authoring front end.
  • Shared scripts convert the circuit, generate KiCad geometry/rules, and grade exact identities. Per-board source is configuration, not a copied backend.
  • KiCad's Python API owns geometry and saves; kicad-cli owns headless ERC/DRC/netlist/export checks.
  • Routing operates on immutable candidates. Only a clean, independently graded candidate can become the promoted route chain.
  • Generated 04_kicad/ is a mutable current snapshot and is never hand-source authority. Immutable history lives under release streams.

This makes design changes diffable and rebuildable. It also means a generator defect can become a physical defect, so freshness, parity, nonzero coverage, registered models, and independent review are first-class gates.

Claims and releases

A release is an immutable reviewed candidate archive. It is not automatically an order event. A design can be electrically sound and sealed while remaining DO-NOT-ORDER because stock, uploader selections, physical fit, or first- article evidence is owed.

PCB and enclosure versions are independent streams. Current enclosure release tooling publishes immutable INCOMPLETE candidates bound to one exact PCB release without forcing that PCB to be resealed; it does not yet publish a higher readiness claim from caller-supplied scope status. A future firmware stream, exact product lock, and integrated product-level digital twin remain tracked work, not current release authority.

Toolchain

Core documentation and planning use normal Python 3. KiCad operations require the KiCad-bundled Python where import pcbnew succeeds plus kicad-cli. TSX generation requires the pinned tscircuit/Bun environment. Fresh routing requires the configured KiCadRoutingTools installation; replaying a selected authenticated route authority does not.

Python entry points expose --help; shell-conductor forms are documented in the execution graph. Use the owning current command rather than copying an old invocation from a project journal.

Validate a workflow change

At minimum:

bash
python3 skills/pcb-design/scripts/skill_authority_check.py
python3 tests/t1_skill_progressive_disclosure.py
python3 tests/t1_pcb_documentation.py
python3 scripts/contracts_audit.py --walk --root skills/pcb-design

Run the domain suites affected by the change, then commit at a green boundary.

License

Except where otherwise noted, all original content in this repository is licensed under the MIT License. This includes software, documentation, prompts, schematics, PCB layouts, mechanical CAD files, and generated design artifacts.

Third-party materials remain subject to their respective copyright and license terms and are not relicensed by this repository.

See third-party notices for material provenance and contribution guidelines for new submissions.

Parts

195
QtyValueFootprintReferences
29100nFCapacitor_SMD:C_0402_1005MetricC_ADCV2, C_AND1, C_AND2, C_AND3, C_COMP, C_DECD, C_DECU, C_EXP, C_FAULTAND, C_FLT0, C_FLT1, C_FLT2, C_FLT3, C_FLT4, C_FLT5, C_FLT6 +13
1810kΩResistor_SMD:R_0402_1005MetricR_BID0, R_BID1, R_DOORPU, R_ESTOPPD, R_EXPRST, R_MODEPD, R_OE, R_REF0, R_REF1, R_REF2, R_REF3, R_REF4, R_REF5, R_REF6, R_REF7, R_TEMPOK +2
16TPTestPoint:TestPoint_Pad_D1.5mmTP_3V3, TP_5VKR, TP_5VP, TP_ALLOW, TP_DSEL, TP_ENCL, TP_ESTOP, TP_FAULT, TP_PGOOD, TP_RKEY, TP_SPARE, TP_TCDRDY, TP_TCFAULT, TP_TEMPOK, TP_USEL, TP_WDOK
12DIP05-1A72-12Lcooksense:Relay_StandexDIP_1A_pinout12K_D1, K_D2, K_D3, K_D4, K_PRESS, K_STOP, K_U1, K_U2, K_U3, K_U4, K_U5, K_U6
11100kΩResistor_SMD:R_0402_1005MetricR_COILENPD, R_DECDPD, R_DECUPD, R_HSG, R_MR, R_OVT, R_PG, R_SWPUA, R_SWPUB, R_SWPURHA, R_SWPURHE
81kΩResistor_SMD:R_0402_1005MetricR_SER0, R_SER1, R_SER2, R_SER3, R_SER4, R_SER5, R_SER6, R_SER7
82.2kΩResistor_SMD:R_0402_1005MetricR_SCLA, R_SCLB, R_SCLRHA, R_SCLRHE, R_SDAA, R_SDAB, R_SDARHA, R_SDARHE
61uFCapacitor_SMD:C_0603_1608MetricC_ADCV, C_OS, C_SWA, C_SWB, C_SWRHA, C_SWRHE
6C15127Package_TO_SOT_SMD:SOT-23Q_COIL, Q_REV, Q_SWA, Q_SWB, Q_SWRHA, Q_SWRHE
5100nFCapacitor_SMD:C_0603_1608MetricC_3V3, C_3V3A2, C_IN2, C_ULNA, C_ULNB
5C189896Connector_JST:JST_GH_SM05B-GHS-TB_1x05-1MP_P1.25mm_HorizontalJ_DOOR, J_ESTOP, J_MODE, J_RH_AMBIENT, J_RH_EXHAUST
5C5158048Diode_SMD:D_SOD-323D_DOOR, D_ESD_IN, D_ESTOP, D_LCCLK, D_LCDAT
5C8545Package_TO_SOT_SMD:SOT-23Q_COILDRV, Q_SWDRVA, Q_SWDRVB, Q_SWDRVRHA, Q_SWDRVRHE
410uFCapacitor_SMD:C_0805_2012MetricC_3V3A1, C_IN1, C_KR, C_LDOIN
4C22046Package_TO_SOT_SMD:SOT-23-6U_AND1, U_AND2, U_AND3, U_FAULTAND
4MountingHole_2.7mm_M2.5_ISO14580MountingHole:MountingHole_2.7mm_M2.5_ISO14580H1, H2, H3, H4
3C8185Package_TO_SOT_SMD:SOT-353_SC-70-5U_LATCHA, U_LATCHB, U_OENAND
20ΩResistor_SMD:R_1206_3216MetricR_KEY, R_STOP
2100ΩResistor_SMD:R_0402_1005MetricR_TCN, R_TCP
210nFCapacitor_SMD:C_0402_1005MetricC_TCNA, C_TCPA
21MΩResistor_SMD:R_0402_1005MetricR_HYS1, R_HYS2
233ΩResistor_SMD:R_0402_1005MetricR_LCCLK, R_LCDAT
2C10092Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU_SR1, U_SR2
2C265111Connector_JST:JST_GH_SM08B-GHS-TB_1x08-1MP_P1.25mm_HorizontalJ_THERM_A, J_THERM_B
2C5620Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU_DECD, U_DECU
2C9683Package_SO:SOIC-18W_7.5x11.6mm_P1.27mmU_ULNA, U_ULNB
10ΩResistor_SMD:R_0603_1608MetricR_SHIELD
11.2kΩResistor_SMD:R_0402_1005MetricR_ILM
115kΩResistor_SMD:R_0402_1005MetricR_OVB
11nFCapacitor_SMD:C_0402_1005MetricC_DVDT
1220uFCapacitor_SMD:CP_Elec_6.3x7.7CE1
122uFCapacitor_SMD:C_0805_2012MetricC_LDOOUT
1330ΩResistor_SMD:R_0603_1608MetricR_OPTOLED
1390kΩResistor_SMD:R_0402_1005MetricR_OS
1C1017Inductor_SMD:L_0805_2012MetricFB1
1C113974Diode_SMD:D_SMBD_TVS
1C123302Package_SO:SSOP-8_2.95x2.8mm_P0.65mmU_ONESHOT
1C125121Package_DIP:SMDIP-4_W9.53mmU_OPTO
1C157991Connector_JST:JST_XH_B5B-XH-A_1x05_P2.50mm_VerticalJ_LOADCELL
1C16939Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU_ADC
1C2653162Package_SO:TSSOP-14_4.4x5mm_P0.65mmU_TC
1C2653844Package_SON:Texas_DSG0008A_WSON-8-1EP_2x2mm_P0.5mm_EP0.9x1.6mmU_EFUSE
1C2683602Connector_JST:JST_GH_SM10B-GHS-TB_1x10-1MP_P1.25mm_HorizontalJ_KEY_MATRIX
1C35165Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ_PI
1C474892cooksense:TerminalBlock_KF350_2PJ_CONTACTOR
1C506653Package_SO:SSOP-28_5.3x10.2mm_P0.65mmU_EXP
1C587657Connector_Molex:Molex_Micro-Fit_3.0_43650-0224_1x02-1MP_P3.00mm_VerticalJ_PWR
1C6186Package_TO_SOT_SMD:SOT-223U_LDO
1C67470Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU_COMP
1C6820Package_SO:SOIC-14_3.9x8.7mm_P1.27mmU_SCHM
1C7719Package_TO_SOT_SMD:SOT-23-5U_WD
1C8678Diode_SMD:D_SMAD_REVCLAMP
1C89650Fuse:Fuse_1812_4532MetricF1
1PCC-SMP-Kcooksense:Omega_PCC-SMP-K_TypeK_PCpinJ_TC

More from misko/prompt2device

12
  • 4 layers220 × 120 mmCandidate filled profile, the printed circuit board in 3D

    Candidate filled profile

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    569 parts3MIT
  • 4 layers156 × 100 mmCrow audio carrier v1, the printed circuit board in 3D

    Crow audio carrier v1

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    340 parts3MIT
  • 6 layers176 × 122 mmRoute, the printed circuit board in 3D

    Route

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    238 parts3MIT
  • 4 layers188 × 92 mmCooksense, the printed circuit board in 3D

    Cooksense

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    226 parts3MIT
  • 4 layers130 × 90 mmProgrammable usb2 hub, the printed circuit board in 3D

    Programmable usb2 hub

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    218 parts3MIT
  • 4 layers130 × 90 mmFinal chain, the printed circuit board in 3D

    Final chain

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    206 parts3MIT
  • 6 layers170 × 120 mmRv2 final, the printed circuit board in 3D

    Rv2 final

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    203 parts3MIT
  • 4 layers150 × 120 mmPi usb port switch, the printed circuit board in 3D

    Pi usb port switch

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    197 parts3MIT
  • 4 layers150 × 115 mmUsb controlled debug hub 2a, the printed circuit board in 3D

    Usb controlled debug hub 2a

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    190 parts3MIT
  • 4 layers185 × 120 mmR1b, the printed circuit board in 3D

    R1b

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    182 parts3MIT
  • 4 layers130 × 100 mmUsb controlled debug hub, the printed circuit board in 3D

    Usb controlled debug hub

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    175 parts3MIT
  • 4 layers130 × 100 mmUsb controlled debug hub, the printed circuit board in 3D

    Usb controlled debug hub

    misko/prompt2device

    The separate vNext PCB skill and orchestrator package is available alongside the reference workflow below; existing projects keep their accepted toolchain until an explicit migration.

    172 parts3MIT

Similar boards

  • 4 layers50.8 × 22.9 mmBench stim wing, the printed circuit board in 3D

    Bench stim wing

    ThatguyCplus/throttleECU

    STM32F411CE Throttle ECU — PID position control with AS5048A encoder, H-bridge motor, safety module

    114 parts1
  • 4 layers90 × 90 mmRF Board, the printed circuit board in 3D

    RF Board

    jbrown3859/EE175-SeniorDesign

    CubeSat Flight Computer and Radio - EE175 Senior Design F22

    130 parts3
  • 4 layers30 × 21 mmReward port, the printed circuit board in 3D

    Reward port

    stef1029/trilab-floating-platform

    Head-fixed floating platform for studying sensory-guided spatial orienting in mice — hardware, firmware and control software.

    60 parts1
  • 2 layers100 × 100 mmESPHome AIO, the printed circuit board in 3D

    ESPHome AIO

    Ian-Blockmans/ESPHhome-AIO

    An all in one ESPHome development board

    126 parts
  • 4 layers51 × 44.3 mmOrion1, the printed circuit board in 3D

    Orion1

    kanha2907/Gps-using-neom9n-

    Compact GPS breakout board based on the u-blox NEO-M9N module. Includes support circuitry for battery-backed operation, LEDs, and passives—designed for low-power embedded GPS applications.

    70 parts
  • 2 layers96.5 × 68.6 mmSconswitch, the printed circuit board in 3D

    Sconswitch

    omdvd/sconswitch

    AVR-based RS-232 controlled 32-outputs port switch

    27 parts
  • 2 layers100 × 80 mmOutput board, the printed circuit board in 3D

    Output board

    WestianPKl/pcb-docs

    A collection of custom PCB designs created in KiCAD, centered around the Raspberry Pi Pico (RP2040) platform. Each board is a standalone module that connects to the Main Board and extends its functionality via I2C, SPI…

    76 parts
  • 6 layers56 × 56 mmMoteus x1, the printed circuit board in 3D

    Moteus x1

    mjbots/moteus

    Brushless DC motor controller

    187 parts1.4kApache-2.0

Questions

How big is the Cooksense PCB?

It measures 252 × 92 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Cooksense use?

195 parts, built around the MCP3208-CI/SL, MAX31856MUD+T, DIP05-1A72-12L and AO3401A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Cooksense KiCad files?

From the misko/prompt2device repository on GitHub, at the commit this page was made from: the board is archived_projects/smc0985-cooksense/07_releases/cooksense-v1.0-2026-07-23/source/cooksense.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Cooksense design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).