Skip to content
Back to skills

Hardware Integration

ASecurity

Design purchased hardware into a Form Studio part — screws, nuts, heat-set inserts, threads, magnets, bearings, motors, rails, boards — from the standards' tables and makers' datasheets, with the matching hole, pocket or seat, and a parts list. Use when a part is fastened, threaded, carries an insert, a magnet or a bearing, mounts a bought component, or needs a bill of purchased parts.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsshellrails

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned December 6, 2026

npx -y skills add kaizensx/form-studio --skill hardware-integration --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hardware Integration?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hardware Integration
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kaizensx-hardware-integration/badge)](https://www.skillsdirectory.com/skills/kaizensx-hardware-integration)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: hardware-integration
description: Design purchased hardware into a Form Studio part — screws, nuts, heat-set inserts, threads, magnets, bearings, motors, rails, boards — from the standards' tables and makers' datasheets, with the matching hole, pocket or seat, and a parts list. Use when a part is fastened, threaded, carries an insert, a magnet or a bearing, mounts a bought component, or needs a bill of purchased parts.
---

# Hardware integration

FORM tools: `standard_part()`, `catalogue_parts()`, `add_feature()`, `redefine_feature()`, `calculate()`, `bom()`, `read_document()`,
`design_guide()`, `edit_design()`, `slice_test_piece()`, `render()`, `measure()`, `board_schematic()`, `board_place()`, `board_route()`,
`board_check()`, `board_fab()`.

Never type a screw, insert, bearing or thread dimension. Read it from the table, or from the maker's drawing.

1. Identify the exact standard and size (ISO 4762 M3×10, a named insert, a 608 bearing). Three sources, in order:

   | The part is | Call | You get |
   |---|---|---|
   | a standard fastener or bearing | `standard_part(action="search", query="m3 socket")`, then `action="place"` | the part on a hole or face, its hole, counterbore or seat cut as a feature, the fit checked, a parts-list row |
   | maker hardware (steppers, rails, T-slot, boards, servos, fans, switches) | `catalogue_parts(action="search" / "describe" / "place")` | dimensions with their document and date, the mating cut, a picture over it |
   | something else with a datasheet | `read_document()` | the drawing as images: record head envelope, hole and engagement as **specified** parameters, the source in the parameter doc |

2. Size the joint when it carries load: `calculate(calculator="fastener", inputs={...})` (screw size from the load,
   preload, tightening torque, thread stripping, or an insert boss). Quote each value as computed, specified or
   assumed, and what it left under `not_computed`.
3. A hole on a design that exists: `add_feature(kind="hole", picks=[{"at": [x, y, z]}], standard="clearance",
   size="M4", fit="normal")`, `standard="tapped"` for the tap drill, `style="counterbore"` or `"countersink"`;
   `add_feature(kind="boss", at=, normal=, size="M3", hole="insert")` for a boss with its insert pocket.
   A hole that is already there changes standard in place: `redefine_feature` with change={"standard":
   "clearance" | "tapped" | "iso286" | "plain", "size": "M4", "fit": "normal", "style": "counterbore"}; the sizes
   come from the standard, with the source in each parameter's doc. Never retype a diameter to change a screw size.
4. In code, `form.parts` (the cad-core contract lists every call): `parts.bolted_joint(size, clamp, into=...)` cuts
   the clearance and counterbore, the insert pocket, nut trap or tap hole, and picks a stock screw length with
   enough engagement; `joint.hardware(qty, after=...)` and `parts.bearing("608").bom()` give BOM rows that carry
   the standard and a computed mass. Lead screws (`trapezoidal_thread`), bottle caps (`bottle_thread`), sprockets
   and chain (`sprocket`, `chain_drive`) and stock pipe (`pipe_socket`) come from published standards too.
   Exemplars: `lead_screw_axis`, `chain_drive`, `bottle_pipe_adapter`.
5. Threads. A modelled thread pair needs the same nominal major diameter on both parts and its play in
   `clearance=` only (preflight refuses a pair that barely engages); declare `Mate(kind="thread", axis=, origin=)`
   so it is checked as a thread. Printed threads suit pitch 1 mm and up; below that use a tap, a heat-set insert or
   a self-tapping pilot. Real fasteners beat tiny printed replicas for repeated service.
6. Inserts: the insert maker's hole size, a boss of at least the published minimum (`["boss_min_d"]`), sized for the
   load path around it, not just the hole. Magnets and bearings: a press fit needs a coupon when printed (see
   fit-calibration); state per-side clearance.
7. Assembly access: every fastener reachable with a real tool, in an order that works (`Hardware(..., access=...)`
   is checked). Render the assembled state.
8. The parts list: `bom(project)` by designation with quantity, material and mass. Add a supplier's part number only
   when the person gives it, or from a page at a link they gave (`bom(action="add_supplier", url=...)`). Never
   invent SKUs, prices or links.

9. Boards (KiCad): `board_schematic(action="symbols", query=)` looks up symbols in the KiCad libraries beside the
   KiCad that runs (`form install kicad` or Settings › Modules installs one); with no libraries, its message says
   how to get them. Without KiCad, say so in the first line of the reply and offer to install it
   (`install_software("kicad")`); never make an enclosure around an imagined board without saying that the board
   is assumed and that no board exists yet.
   Order: schematic → `to_board` (add mounting holes: `MountingHole:MountingHole_3.2mm_M3` near the corners) →
   `board_import` → your enclosure → `board_check` → `board_place` and `board_route` with project= → `board_check`
   → `board_fab`. Route with net classes: `board_route(net_classes={"Power": {"track_width": 0.8, "nets": [...]}},
   fab="jlcpcb")`.

10. The enclosure is yours to design; Form Studio gives the facts and the gate, never a template.
   `board_import(file)` makes no design and no shell. It returns the board's `facts` (mounting holes with screw,
   insert pocket and clearance hole; each plug's envelope and the wall it mates through; keep-outs; courtyards and
   heights), its `faces` (every button, LED, IR emitter and receiver, sensor, display, knob, terminal, vent, radio
   antenna and battery, with where it looks), the fit `contract`, and a `skeleton`: `BOARD`, `FIT` and the functions
   `openings`, `extent`, `board_layout` and `std_parts` (inserts from the tables), and no geometry.
   - Design for the request first: where and how it is mounted (handheld, wall, DIN rail, windshield or dash,
     desk), what the person does with it, how it opens and closes, its style. A windshield IR sender faces the
     glass and the garage; a DIN-rail case has the 35 mm rail clip and a front that fits the cut-out; a handheld
     fits the hand with its buttons under the thumb. Two requests should never get the same box.
   - Write it as features on the skeleton: `create_design(source=skeleton + your features)`; one feature per
     operation; cut every opening from the skeleton's `openings` (data: centre, direction, size with clearance) in the shape
     your design needs. Keep `BOARD`, `board_layout` (where the board sits, which assembly part holds it) and
     `FIT` (change its words when your design reaches a face another way: `"press"` with a post, `"pipe"` for a
     light pipe, `"covered"` on purpose, `support: "slots"` for a card guide). A box and a lid: declare
     an `assembly` method; the board rides with the part `board_layout`'s `"board_part"` names and is drawn in it.
   - The board comes into the design by the `BOARD` in its code. `board_check(project, what="fit")` is the gate:
     it puts your parts together and measures the board clear, its support, each plug envelope swept through its
     wall, each face reached (a column over an LED, a window in line with an IR LED, a post within 2 mm of a
     button), parts under the lid. Fix every FAIL before you say it is done; render assembled and exploded and look.
   - Rounded openings: a plug's corners clip a stadium; keep a corner radius under about 3.4 × the clearance.
   - `board_place` and `board_route` never rewrite your code: their `"enclosure"` has the fit measured again,
     `misfits`, and `moved` (which opening, standoff or face moved, by how much); `board_constant_edit` is the
     `edit_design` op that puts the new board into `BOARD`. Apply it, follow what moved, check again.
   - `board_import(..., starting_point=True)` is Form Studio's generic rounded box, labelled generic: only when the
     person asks for a quick generic box.
   Read `faces`: a part named oddly is marked with `faces={"U4": {"kind": "led"}}`, a direction with
   `{"looks": "+y"}`. After the board changes, run `board_check` and `board_fab` again: each fab export starts from
   an empty folder and lists what it wrote; the BOM needs the schematic (`board_fab(schematic=...)` when it was not
   beside the board).

After placing hardware, read the proof sheet and the thinnest wall: a new hole can thin its neighbour.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.