Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

bom-generator物料清单生成器

Agent Skill

bom-generator 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

643

周安装

26

GitHub Stars

13

下载量

202
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:bom-generator(物料清单生成器)
来源仓库:https://github.com/wedsamuel1230/arduino-skills
仓库路径:skills/bom-generator
安装命令:
npx skills add https://github.com/wedsamuel1230/arduino-skills --skill bom-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wedsamuel1230/arduino-skills --skill bom-generator

简介

bom-generator 为创客项目自动生成物料清单,支持 Excel、CSV 与 Markdown 格式输出。

  • 它关联供应商链接与兼容性检查,内置示例配置便于快速上手。
  • 适用于 Arduino、Raspberry Pi 等开源硬件项目的采购准备。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

BOM Generator

Creates comprehensive Bill of Materials for maker projects with supplier links and compatibility checks.

Resources

  • scripts/generate_bom.py - Python script for xlsx/csv/markdown BOM generation (requires openpyxl)
  • references/example-bom.md - Complete example BOM
  • assets/example-project.json - Sample project configuration for script

Quick Start

Generate BOM interactively:

uv run --no-project scripts/generate_bom.py --interactive

Generate from JSON configuration:

uv run --no-project scripts/generate_bom.py --json assets/example-project.json --output bom.xlsx

List component database:

uv run --no-project scripts/generate_bom.py --list

Export formats: xlsx (default), csv, md, json

When to Use

  • User describes a project and needs parts list
  • User asks "what components do I need for X"
  • User wants to order parts for a design
  • User needs cost estimates

Workflow

Step 1: Gather Project Requirements

Ask user for:

1. Project description (what does it do?)
2. Target microcontroller (Arduino UNO/Nano/Mega, ESP32, RP2040)
3. Power source (USB, batteries, wall adapter)
4. Quantity (how many units to build?)
5. Budget constraints (optional)
6. Supplier preference (optional)

Step 2: Generate BOM

Run scripts/generate_bom.py --interactive for guided generation, or use this template format:

# Bill of Materials: [Project Name]

**Generated:** [Date]
**Target Board:** [MCU]
**Quantity:** [N] unit(s)
**Estimated Total:** $[X.XX] - $[Y.YY] (per unit)

## Core Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| 1 | [MCU Board] | [specs] | $X.XX | [DigiKey](#) / [Amazon](#) |
| ... | ... | ... | ... | ... |

## Sensors & Input

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Output Devices

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Power Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Passive Components

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Mechanical & Connectors

| Qty | Component | Specifications | Est. Price | Supplier Links |
|-----|-----------|----------------|------------|----------------|
| ... | ... | ... | ... | ... |

## Tools Required (if not owned)
- [ ] Tool 1
- [ ] Tool 2

## Compatibility Warnings
⚠️ [Any voltage/current/timing concerns]

## Substitution Notes
💡 [Alternative components if primary unavailable]

Component Database

Microcontrollers

BoardVoltageGPIOFlashPrice RangeBest For
Arduino UNO R35V1432KB$12-25Beginners, most tutorials
Arduino Nano5V1432KB$3-20Compact projects
Arduino Mega5V54256KB$15-40Many I/O, large programs
ESP32 DevKit3.3V344MB$5-15WiFi, Bluetooth, IoT
ESP32-C33.3V224MB$4-10Low-cost WiFi
RP2040 Pico3.3V262MB$4-6Dual-core, PIO
RP2040 Pico W3.3V262MB$6-8Pico + WiFi

Common Sensors

SensorInterfaceVoltagePriceUse Case
DHT22/AM23021-Wire3.3-5V$3-8Temperature + humidity
BME280I2C/SPI3.3V$5-15Temp + humidity + pressure
BMP280I2C/SPI3.3V$2-8Temp + pressure (no humidity)
DS18B201-Wire3-5.5V$2-5Waterproof temperature
HC-SR04GPIO5V$1-3Ultrasonic distance
VL53L0XI2C3.3V$5-12Laser distance (accurate)
MPU6050I2C3.3V$2-8Accelerometer + gyroscope
BNO055I2C3.3V$25-359-DOF IMU (best accuracy)
VEML7700I2C3.3V$4-8Ambient light (lux)
MAX30102I2C3.3V$5-12Heart rate + SpO2

Displays

DisplayInterfaceResolutionPriceNotes
16x2 LCDI2C16 chars$3-8Need I2C backpack
20x4 LCDI2C20 chars$5-12Larger text display
SSD1306 OLEDI2C128x64$3-8Sharp, no backlight needed
SSD1306 OLEDI2C128x32$3-6Compact OLED
ST7735 TFTSPI128x160$5-10Color, fast refresh
ILI9341 TFTSPI240x320$8-15Larger color display
E-PaperSPIVarious$15-40Low power, no refresh

Motors & Actuators

TypeDriver NeededPriceNotes
SG90 ServoNone (PWM)$2-5180°, weak torque
MG996R ServoNone (PWM)$5-10Strong, metal gears
28BYJ-48 StepperULN2003$3-6Cheap, slow, weak
NEMA17 StepperA4988/DRV8825$8-15Strong, precise
DC Motor + GearboxL298N/TB6612$5-15High speed available
Linear ActuatorL298N$15-40Push/pull motion

Motor Drivers

DriverChannelsMax CurrentVoltagePrice
L298N22A/ch5-35V$3-8
TB6612FNG21.2A/ch4.5-13.5V$3-8
A49881 stepper2A8-35V$2-5
DRV88251 stepper2.5A8.2-45V$3-6
TMC22091 stepper2A4.75-28V$8-15

Power Components

ComponentSpecsPriceUse Case
LM78055V 1A linear$0.50Simple 5V reg
AMS1117-3.33.3V 1A linear$0.303.3V from 5V
LM2596 ModuleAdj. 3A buck$2-4Efficient step-down
MT3608 ModuleAdj. 2A boost$1-3Step-up voltage
TP4056 ModuleLiPo charger$1-2Battery charging
18650 Holder1-4 cells$1-5Battery mounting
JST Connectors2-pin$2-5/10pkBattery connections

Passive Components (Buy Kits!)

Kit TypeTypical ContentsPriceRecommendation
Resistor Kit600+ pcs, 1/4W$8-15Get once, use forever
Capacitor KitCeramic + electrolytic$10-20Essential
LED Kit5mm various colors$5-10Common needs
Button KitTactile switches$5-8Various sizes
Diode Kit1N4148, 1N4007, etc$5-8Protection circuits

Supplier Guide

Speed vs Cost Trade-offs

SupplierShippingPriceBest For
DigiKey1-3 days$$$Precise specs, datasheets, urgent
Mouser1-3 days$$$Wide selection, quality
Amazon1-2 days$$Quick delivery, returns easy
Adafruit3-5 days$$$Quality, tutorials, support
SparkFun3-5 days$$$Breakout boards, learning
AliExpress2-6 weeks$Bulk, budget, clones
LCSC1-2 weeks$$Chinese components, good quality

Part Number Patterns

DigiKey: Descriptive codes
  - 1N4007-TP → 1N4007 diode
  - SER0006 → Servo motor

Mouser: Manufacturer part numbers
  - Search by exact MPN

Amazon: ASIN codes
  - Search by product name + specs

AliExpress: Store + product ID
  - Check reviews, sold count

Compatibility Checks

Voltage Level Matrix

                     Can Connect To:
From:        3.3V Logic    5V Logic
─────────────────────────────────────
3.3V MCU     ✅ Direct     ⚠️ Level shifter
5V MCU       ⚠️ Divider    ✅ Direct
3.3V Sensor  ✅ Direct     ⚠️ May work*
5V Sensor    ❌ Damage!    ✅ Direct

* Some 3.3V sensors are 5V tolerant - check datasheet

Current Budget Check

Source Limits:
- Arduino 5V pin: 500mA max (from USB)
- Arduino GPIO: 40mA max per pin
- ESP32 3.3V: 500mA max
- ESP32 GPIO: 40mA max
- RP2040 GPIO: 16mA max

Always calculate:
Total current = Σ(component currents)
If total > source limit → external power needed

I2C Address Conflicts

Common I2C addresses to watch:

0x3C - SSD1306 OLED
0x27 - PCF8574 LCD backpack
0x3F - PCF8574A LCD backpack
0x68 - MPU6050, DS3231 RTC
0x76 - BME280 (default)
0x77 - BME280 (alternate), BMP280
0x48 - ADS1115 ADC
0x50 - AT24C32 EEPROM

Output Format Options

Markdown Table (Default)

Best for documentation, GitHub READMEs.

CSV Export

Qty,Component,Specifications,Unit Price,Total,Supplier,Link
1,Arduino UNO R3,ATmega328P,15.00,15.00,Amazon,https://...

Shopping Cart Links

Provide direct "Add to Cart" links where possible.

Example BOM Output

See references/example-bom.md for complete example.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.71%
按下载量换算72

Claude

28.11%
按下载量换算57

Cursor

17.97%
按下载量换算36

Gemini CLI

9.08%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills