submit-jlcpcb

submit-jlcpcb is a command for Claude Code from rjwalters/kicad-tools. It costs 56 tokens per session (1,869 once invoked), scanned A, original, MIT.

A preparation workflow for sending a signed-off circuit-board assembly bundle to JLCPCB, a company that manufactures printed circuit boards and assembles parts on them. It verifies the bundle, checks parts stock, and can prepare an optional upload, but a person places the order.

In plain words
What is it for?
It is for preflighting a PCB and schematic, creating an assembly plan, checking inventory, and producing a review page or optional JLCPCB upload.
Why use it?
It catches changed files, missing approval, incorrect board details, and insufficient or unknown stock before submission, without purchasing anything.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit It is for preflighting a PCB and schematic, creating an assembly plan, checking inventory, and producing a review page or optional JLCPCB upload.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjwalters/kicad-tools/submit-jlcpcb
Install

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.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

Made for: Claude Code.

Wrote 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.

agentmods badge for submit-jlcpcb

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/submit-jlcpcb/github.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/submit-jlcpcb)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/submit-jlcpcb"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/submit-jlcpcb/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.

agentmods 80×15 button for submit-jlcpcb

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/submit-jlcpcb"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/submit-jlcpcb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.01869
Opus 5.5 $0.00022 $0.00748
Sonnet 5.5 $0.00011 $0.00374
Haiku 4.5 $0.00006 $0.00187

Measured 19d ago against content hash 7b6cb1fcc4be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

submit-jlcpcb scanned grade A with 0 findings 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 19d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/kct/submit-jlcpcb.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Submit to JLCPCB (prepare only)

Drives kct submit-jlcpcb, which composes the existing submission pieces (export/submission_plan.py, submission_review.py, manufacturers/jlc_upload.py) through export/submission_workflow.py. It prepares and verifies; a human places the order.

Arguments

Arguments: $ARGUMENTS

$ARGUMENTS is <bundle> --board <pcb> --schematic <sch> [--quantity N] -o <new-dir> [--dry-run] [--inventory-covered C1,C2] [--upload --reviewer NAME]. Default to --dry-run unless the human asked for the upload.

Steps

  1. Preflight (offline, before any network call). Refuses on: a manifest.json file whose sha256/size no longer matches; no tapeout.human_signoff recorded in the manifest (record it with kct tapeout-sign-off <bundle> --board <board.kicad_pcb> --readiness <readiness.json> --reviewer "<name>"); no readiness receipt hash (tapeout.readiness_sha256); a board file whose sha256 differs from tapeout.board_sha256; a gerber zip that differs from the sha256 either sign-off bound. tapeout.human_signoff is only the release for upload (gates pass; these bytes may be previewed at the fab). --dry-run, --guided and --website up to the factory match work with it alone.
  2. Prepare + verify. Layer count (board copper layers) and assembly sides (CPL Layer column) come from the board/bundle, never guessed; quantity is --quantity.
  3. Stock gate. Live refresh_inventory at per_board × quantity. Every short line is listed with need vs stock; unknown stock blocks. Lines you hold in your JLC parts inventory are passed explicitly with --inventory-covered C123,C456 and shown as covered; this is never inferred.
  4. Optional API leg (--upload --reviewer NAME, credentials in the environment, or JLCPCB_* keys in the project .env, which submit-jlcpcb loads without overriding the shell): uploads the exact Gerber bytes, fetches the audit preview and records the receipt in upload-ledger.jsonl. Refused when the stock gate is blocked.

Read the full file on GitHub · 58 lines

Changes

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.

  1. 19d ago Changed · +1 lines 7b6cb1fcc4be
  2. 20d ago Changed · +1 lines 7d894f70b0b0
  3. 25d ago Changed · +2 lines 5a9bb51da338
  4. 26d ago First seen · 54 lines · 56 tokens per session scan A 8b82b1e25278

Subscribe to this mod's changes

submit-jlcpcb is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It adds 56 tokens to every session and 1,869 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

submit-jlcpcb compared with commands from other repositories

submit-jlcpcb next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
submit-jlcpcbrjwalters/kicad-toolsCommand7715d agoMITA56Claude Code
eol-reportWYRE-AI/msp-claude-pluginsCommand57todayApache-2.0A28Claude Code
rvcsi-calibrateruvnet/rvcsiCommand3026d agoApache-2.0A20Claude Code
device-infophinn/KinetAiosCommand175d agoGPL-3.0A22Claude Code
esp-hardenmathisk2095/jko-claude-pluginsCommand31mo agoMITA17Claude Code
hw-troubleshootphinn/KinetAiosCommand175d agoGPL-3.0A34Claude Code
pentest-wirelessJoasASantos/ClaudeAdvancedPluginsCommand1629mo agoMITA0Claude Code