Skip to content
Back to skills

Bom Cost

ASecurity

Keep a board's BOM, stock and cost honest with bomi and the JLC parts cache. Use when choosing parts, checking stock before an order, finding what drives the cost, or writing BOM.md for a project.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 12, 2026
designgobashapi

Works with

  • api

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add somebox/pcb-kit --skill bom-cost --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bom Cost?

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

Security grade badge for Bom Cost
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/somebox-bom-cost/badge)](https://www.skillsdirectory.com/skills/somebox-bom-cost)

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: bom-cost
description: Keep a board's BOM, stock and cost honest with bomi and the JLC parts cache. Use when choosing parts, checking stock before an order, finding what drives the cost, or writing BOM.md for a project.
---

# BOM, stock and cost

Two tools: `pcbkit jlc` for quick look-ups in konnect's JLCPCB cache (no network), and **bomi** for the project BOM
(a `.bomi/` project per board folder, synced from the KiCad schematic, refreshed from the JLC/LCSC API).

## Start from what worked

`library/PARTS.md` in the kit lists the parts that have been on built boards, with their circuit notes and the
lessons from them. Check it before searching, and run `pcbkit parts` for their current stock. When a new part has
been built and works, add it there with the project and what to watch for; parts in a design that isn't built yet go
in its second section.

## Commands

```bash
pcbkit jlc --desc "%buck%" --package "SOT-23%" --basic     # first look, local cache
bomi init --name <b>                                        # once, in the board folder
bomi import kicad <b>.kicad_sch --replace                   # in the board folder: sync LCSC numbers from the schematic
bomi list --check                                           # refresh stock and price, flag problems
bomi info U201                                              # one part, by designator or LCSC code
bomi compare C2913202 C2913201                              # candidates side by side
bomi datasheet C9864 --summary -o ../../docs/datasheets     # in the board folder: PDF plus a markdown summary
```

## BOM.md

Write it from bomi's output, dated, in the board's project. The sections that have earned their place:

- **Source and scope:** the sync command, the date the prices were taken, what is excluded (kit parts, PCB; the assembly fees have their own section).
- **Cost drivers:** the ten most expensive lines, with LCSC code, part, refs, quantity, cost per board at 1 and 100.
- **Extended parts:** count them, and list the cheap swaps: a Basic value that shifts a threshold by a negligible
  amount, one LED colour instead of four. Under Economic a swap saves the part's loading fee per order; under
  Standard, where Basic and Extended pay the same, only the difference in part price (fee table below).
- **Stock risks:** any line under 5,000 in stock (the default of `pcbkit parts --low`), with the nearest substitute
  and what changes in the circuit if it is used.
- **Assembly estimate:** the per-order fees for the PCBA type and sides the order will use (below). For a handful of
  boards they outweigh the parts, so the cost per set isn't the parts alone.

## What JLC's assembly costs

Read off Orbitchron's quotes, 2026-10-26, 5 boards (its PRODUCTION.md, Costs). Re-read them from a fresh quote
before relying on them.

| Fee | Standard PCBA | Economic PCBA |
| --- | --- | --- |
| Setup | $25.75 per side | $8.24 |
| Stencil | $8.27 per side | $1.55 |
| Parts loading | $1.55 per unique part, Basic or Extended alike | $3.09 per unique Extended part; Basic free |
| X-ray | $8.25 on the driver, which has a module and a WSON | - |
| Limits | the fab-order skill, "What JLC assembles" | |

At 5 boards, Orbitchron's double-sided driver came to $182.25 of assembly. $122.79 of that was fees, and $53.32 parts.

## Rules

- Stock and price numbers carry a date. Re-run `bomi list --check` before an order and update BOM.md. Its stock
  figure may be a cached one: on 2026-11-16 it showed 124 of a TPS259470A while JLC and LCSC both had none.
- **Before the user signs off on an order, read every placed part's stock on JLC itself, that day**
  (`jlcpcb.com/partdetail/<LCSC code>`: In Stock and Available Order Qty, which can differ), and again when the user
  says they are about to pay on a later day. Look into each questionable figure before going on: one under the
  order's need with a margin, stock shown with nothing orderable, two sources that disagree, a sharp move since the
  last reading. Report each with the time it was read and the way out (JLC's BOM page, a substitute, a pre-order).
- A substitute that needs a circuit change (a divider, inverted logic) goes into DESIGN.md as a decision, not just BOM.md.
- Basic parts first for passives (`pcbkit.parts` has the stock R/C table); Extended only where the function needs
  it, with the reason in BOM.md.
- Hand-soldering pays only when it takes a whole side off the assembly order (fab-order skill, What JLC assembles).
- A look is `pcbkit jlc` or `bomi info` for the parts asked about, each figure with its date and where it was read
  (the cache, bomi, JLC's page). BOM.md is not rewritten for it.

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 design →

Comments

Loading comments…

Newsletter

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