/hardware-id-annotation:generate-bomfrom hardware-id-annotation
Use when you have a components.json and want to generate a structured Bill of Materials as markdown table and CSV for sourcing or documentation.
Ships in hardware-id-annotation. 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.
Convert a components.json inventory into a structured Bill of Materials (BOM). Output includes a markdown table and CSV file, with columns for reference designator, component type, part number, quantity, package, manufacturer, datasheet URL, and notes. Identical parts are automatically grouped with quantity counts.
Data storage root:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/
data/<board-slug>/components.jsondata/<board-slug>/specs-summary.json (from cross-check-specs) to enrich BOM with manufacturer and datasheet URLsmarkdown (default), csv, or bothLoad components.json. Validate structure: components array with entries containing id, type, part_number_visible, package.
Deduplicate and count. Group by part_number_visible (or part_number_standardized if present); count occurrences.
Enrich with specs (optional). If specs JSON exists, join on part number to pull manufacturer, datasheet_url, and other details.
Generate markdown table:
# BOM: <board-slug>
| Ref | Qty | Type | Part Number | Package | Manufacturer | Datasheet | Notes |
|-----|-----|------|-------------|---------|--------------|-----------|-------|
| C1, C2, C3 | 3 | Capacitor | 100nF 0805 | 0805 | — | — | Ceramic, unmarked |
| U1 | 1 | IC | STM32F407VG | LQFP100 | STMicroelectronics | [link] | ARM Cortex-M4 |
| ... | | | | | | | |
**Summary:** 42 components, 28 unique parts, highest-volume: 100nF capacitor (×8)
Generate CSV file:
ref,qty,type,part_number,package,manufacturer,datasheet_url,notes
C1;C2;C3,3,Capacitor,100nF 0805,0805,—,—,Ceramic unmarked
U1,1,IC,STM32F407VG,LQFP100,STMicroelectronics,https://...,ARM Cortex-M4
...
Save outputs:
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/data/<board-slug>/bom.md
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/hardware-id-annotation/data/<board-slug>/bom.csv
Console output: Summary statistics (total parts, unique parts, part-count distribution).
part_number_visible: null) are still included in the BOM but flagged in the notes column as "unidentified" or "visual match only".cross-check-specs was not run; document which BOMs are enriched vs. basic.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
hardware-id-annotation@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin hardware-id-annotation8 skills in this plugin
/annotate-boardUse when you want to render an annotated overlay PNG of a circuit board with bounding boxes, labels, and a legend from a components.json list./complementary-pluginsList and install plugins that complement hardware-id-annotation: hardware-spec-assembly, procurement-tools. Use on "related plugins"./cross-check-specsUse when you have identified part numbers and want to fetch manufacturer datasheets, verify specs, and flag mismatches with the visual identification./identify-componentsUse when you have a photo of a circuit board or hardware module and need to catalog all visible components with part numbers and bounding boxes./install-depsUse once at setup to install Python dependencies (Pillow, optional opencv-python, pdfplumber) required by the plugin scripts./onboardUse on first run to initialize the plugin: create data directories, write default config, and optionally set up datasheet caching.