pcb

pcb is a skill for Claude Code, Codex from earthtojake/text-to-cad. It costs 103 tokens per session (3,466 once invoked), scanned A, original, MIT.

A KiCad circuit-board and schematic workspace. KiCad is an electronics design program; this add-on helps create and review its board files, wiring diagrams, parts, and manufacturing outputs.

In plain words
What is it for?
Use it to edit KiCad boards and schematics, run electrical and design-rule checks, review routing and parts, and prepare files and bills of materials for a manufacturer.
Why use it?
It brings design checks into the coding workflow, helping catch wiring, placement, clearance, power, and manufacturing problems before ordering a board.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the text-to-cad plugin — 8 skills shipped together

Good fit Use it to edit KiCad boards and schematics, run electrical and design-rule checks, review routing and parts, and prepare files and bills of materials for a manufacturer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/earthtojake/text-to-cad/pcb
About the project

text-to-cad is a collection of agent workflows for creating, examining, finding, preparing, and transferring CAD, engineering, manufacturing, and robot-description files. It is for agents working with mechanical design, fabrication, simulation, and robotics projects. Catalogue skills, instructions, and a plugin implement these workflows.

earthtojake/text-to-cad · 27,807 stars · on GitHub · texttocad.dev

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.

Any agent
npx skills add earthtojake/text-to-cad --skill pcb
Clone the repo
git clone --depth 1 https://github.com/earthtojake/text-to-cad

Made for: Claude Code, Codex.

Or install text-to-cad, the plugin that ships this one along with the rest of its 8 skills.

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 pcb

README.md
[![agentmods](https://agentmods.dev/badge/skills/earthtojake/text-to-cad/pcb/github.svg)](https://agentmods.dev/skills/earthtojake/text-to-cad/pcb)
Your own site
<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/pcb"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/pcb/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 pcb

Your own site · 80×15
<a href="https://agentmods.dev/skills/earthtojake/text-to-cad/pcb"><img src="https://agentmods.dev/badge/skills/earthtojake/text-to-cad/pcb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,466 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.00103 $0.03466
Opus 5.5 $0.00041 $0.01386
Sonnet 5.5 $0.00021 $0.00693
Haiku 4.5 $0.00010 $0.00347

Measured today against content hash 8cddb197b0fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pcb 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 today.

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.

skills/pcb/SKILL.md · 206 lines

How it starts

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

PCB design

A board is its native KiCad files: the .kicad_pcb, its schematic and its project. text-to-cad reads, draws and inspects them itself, and runs KiCad headless for everything KiCad owns: ERC, DRC, exports and edits through its IPC API. There is no board model or build step; the files are the source.

Start with the task

Task Start with Reference
Read a board or a schematic kicad_pcb.read, kicad_sch.read in a script; cad kicad_pcb inspect Checks, schematic
Draw or edit a schematic kicad_sch.edit, then cad kicad_sch erc Schematic
Choose parts and footprints The datasheet, then the project's libraries Parts
Create or edit a board kicad_pcb.edit (below) Native files
Place and route The schematic's netlist, one functional group at a time Layout, placement
Check a change cad kicad_pcb drc, snapshots Check each change
Review before ordering DRC, then measurements, then the checklist Before ordering
Export fabrication files, a BOM, or a STEP for an enclosure cad kicad_pcb export, cad kicad_sch export Manufacturing
Show a board or a schematic; what the person can see or pick in it; a missing 3D model cad viewer --json FILE Show the model, views

Setup

Written for cad==0.11.21. Before first use in a chat, run cad --version. If it fails, or cad is missing or older than 0.11.12, run uv tool install --force cad. If it is older than the release this skill was written for, run cad update.

If cad is a major or minor version newer than this skill, tell the person to update the text-to-cad plugin: https://github.com/earthtojake/text-to-cad A project written for an earlier version may need changes; the migration guides say what: https://github.com/earthtojake/text-to-cad/tree/main/docs/migrations

Read the full file on GitHub · 206 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. today Changed 8cddb197b0fc
  2. yesterday Changed · +4 lines 41f0cf9be53d
  3. 3d ago Changed fb2b8865c98a
  4. 6d ago Changed e6497d2b936c
  5. 7d ago Changed 85aa31f38f6b
  6. 8d ago Changed · -121 lines · -6 tokens per session d2afa32178dd
  7. 10d ago Changed · +3 tokens per session 36dc0bccf83f
  8. 11d ago Changed · +4 lines scan C → A 1e257b1cda99
  9. 19d ago Changed · +3 lines c212ce07c0b7
  10. 20d ago First seen · 316 lines · 106 tokens per session scan C 5737026cd985

Subscribe to this mod's changes

pcb is a skill published in the GitHub repository earthtojake/text-to-cad (27,807 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 3,466 once invoked, about $0.0004 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-08.

Related

pcb compared with skills from other repositories

pcb next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pcbearthtojake/text-to-cadSkill28ktodayMITA103Claude Code, Codex
fluidcad-assemblyFluid-CAD/FluidCADSkill794todayMITA154Claude Code, Codex
fluidcad-from-drawingFluid-CAD/FluidCADSkill794todayMITA114Claude Code, Codex
gapgraph-robots/graph-as-policySkill2277d agoApache-2.0A195Claude Code
step-partsearthtojake/step.partsSkill4305mo agoMITA107Codex
solidworks-apiguoleizhen717/solidworks-api-skillSkill66mo agoMITA118Claude Code, Codex
evaluating-cosmos-policyOrchestra-Research/AI-Research-SKILLsSkill15k1mo agoMITA51Claude Code