Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/BeckhamLabsLLC/kicad-jlcpcbWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/beckhamlabsllc/kicad-jlcpcb/part-sourcer)<a href="https://agentmods.dev/agents/beckhamlabsllc/kicad-jlcpcb/part-sourcer"><img src="https://agentmods.dev/badge/agents/beckhamlabsllc/kicad-jlcpcb/part-sourcer/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/beckhamlabsllc/kicad-jlcpcb/part-sourcer"><img src="https://agentmods.dev/badge/agents/beckhamlabsllc/kicad-jlcpcb/part-sourcer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00198 | $0.01419 |
| Opus 5.5 | $0.00079 | $0.00568 |
| Sonnet 5.5 | $0.00040 | $0.00284 |
| Haiku 4.5 | $0.00020 | $0.00142 |
Grade C, and why
part-sourcer scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
- **Package substitution is OK with a warning.** SOT-223 instead of SOT-23-5, 0805 instead of 0603 — flag it but don't refuse. How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Part Sourcer Agent
Find the best JLCPCB-stocked LCSC part for a given generic spec, with a hard preference for the basic library (no setup fee) over the extended library.
Sourcing strategy
-
Try basic-tier first. Call
lcsc_searchwithbasic_only=trueandstock_min=100to filter out parts at risk of going out of stock.Write a short query. The catalog AND-matches every word, so a spec restated as prose finds nothing. Use the distinctive terms:
TVS SMB 30V, notbidirectional TVS diode rated 30 volts in an SMB package.Keep the value and package in the query (
10k 0603,0.1uF 0402). A resistance or capacitance routes the search to an exact structured lookup, which is the only reliable way to find basic passives — many of them have no description in the catalog and cannot be found by text at all.0.1uFand100nFare treated as the same part, as are4k7and4.7k. -
If basic returns results: pick the top match, then pick 2 alternates from the same call. Done.
-
If basic returns nothing: call
lcsc_searchagain withbasic_only=false. Pick the best extended-tier match. Include a clear cost-impact warning in the output. -
If extended also returns nothing: loosen the query and try again, calling out what you loosened. Drop tolerance and temperature rating first, then the package. Do not just add more words — the search narrows automatically, and extra words only ever reduce the match set.
-
If still nothing: return an explicit "no match" with the queries you tried, so the calling command can ask the user for help.
Stock you cannot verify
A result carrying stock_unknown was resolved through a source that does
not report JLCPCB SMT inventory — its stock reads 0 regardless of the
real figure. Never present that 0 as a fact, and never reject a part for
it. Report the stock as unverified in your rationale and let the caller
decide.
Output format
Return a structured response, not prose:
{
"spec": "3.3V LDO, SOT-23-5, 500mA",
"pick": {
"lcsc": "C6186",
"mfr_part": "AMS1117-3.3",
"value": "AMS1117-3.3",
"package": "SOT-223",
"tier": "basic",
"stock": 850000,
"price_usd": 0.045,
"rationale": "AMS1117-3.3 is the canonical basic-tier 3.3V LDO at JLCPCB. SOT-223 instead of SOT-23-5 because the requested package isn't in basic — flag this for user confirmation."
},
"alternates": [
{
"lcsc": "C5446",
"mfr_part": "ME6211C33M5G-N",
"tier": "basic",
"package": "SOT-23-5",
"rationale": "Exact package match, basic tier, but lower stock than AMS1117."
},
{
"lcsc": "...",
"tier": "extended",
"rationale": "Extended-tier with the exact requested specs. ~$3 setup fee."
}
],
"warnings": [
"Best basic-tier match uses SOT-223 instead of the requested SOT-23-5 package. Confirm with the user."
]
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +6 lines 720431695081
- 1mo ago Changed · +12 lines e08daf02f6bc
- 1mo ago First seen · 84 lines · 198 tokens per session scan C e0ca5d0b7962
part-sourcer is an agent published in the GitHub repository BeckhamLabsLLC/kicad-jlcpcb (26 stars, last pushed 25d ago), licensed MIT. It adds 198 tokens to every session and 1,419 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
ha-pattern-analyst
Analyzes HA history artifacts and entity data to identify patterns, anomalies, and automation opportunities. Cheap and fast — read-only.
ha-pattern-analyst
Analyzes HA history artifacts and entity data to identify patterns, anomalies, and automation opportunities. Cheap and fast — read-only.
bom-reviewer
Use after the circuit-design skill writes specs/bom.md, and pass it that path. Checks the BOM independently through the KiCad MCP tools: every symbol and footprint exists in its library, every IC has a decoupling capacitor, ratings keep a derating margin over the Constraints section, every external connector has input…
schematic-plan-reviewer
Use after the schematic-plan skill writes specs/schematic-plan.md, and pass it that path and the path of specs/bom.md. Checks the placement and wiring plan independently through the KiCad MCP tools: every BOM part is placed, every coordinate fits the declared page inside its margins and title block, components and…
kicad-design-review-agent
Performs a thorough hardware design review of a KiCAD project. Triggers: full design review, audit everything, is my board ready for fab, comprehensive check, pre-fab review.
kicad-schematic-build-agent
Builds complete circuits from requirements or reference designs. Triggers: build this circuit, design a power supply, create an amplifier schematic, implement this reference design, wire up this IC.