Circuit Skills — Design skill for Claude Code
Claude Code skills for code-driven electronics: circuit-sim (ngspice/Falstad) + pcb-layout (tscircuit→KiCad, IPC routing, fast place→route loop).
How to install Circuit Skills
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open punkfab/circuit-skills and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Circuit Skills does
Claude Code skills for code-driven electronics: circuit-sim (ngspice/Falstad) + pcb-layout (tscircuit→KiCad, IPC routing, fast place→route loop).
Alternatives in Design
- Dna — Place a design in the measured design space — nearest systems, per-axis percentiles, outliers 3.6k ★
- Deepclaude — Use Claude Code's autonomous agent loop with DeepSeek V4 Pro, OpenRouter, or any Anthropic-compatible backend 2.3k ★
- Scroll Craft — Claude Code skill for premium scroll-driven websites 1k ★
README
circuit-skills
[Claude Code](https://claude.com/claude-code) skills for designing real electronics — from topology to a fabbable board to a hero render — the code-driven, reproducible way. Skills that compose across the flow: **simulate → lay out → fit the enclosure → render.**
`circuit-sim` — simulate before you commit
Find the topology and pick parts with evidence, not guesses. Two passes from **one parametric ngspice deck** (the source of truth): Falstad/CircuitJS1 for interactive intuition (its netlist is *generated* from the deck so the toy and the rigorous sim never drift), then ngspice for exact transient/AC, parametric sweeps, and data-driven part selection. For power converters, drivers, resonant tanks, filters, oscillators, analog front-ends.
`pcb-layout` — generate placement in code, finish routing in KiCad
The north star: **routing difficulty is set at placement time, and every autorouter is immature** — so you design so routing is trivial and hand-finish the tail. tscircuit (React/TSX) generates a placed board; KiCad routes. What's encoded here:
- The repeatable place→route loop in one command (
scripts/route.sh): export placement → reconcile nets → keepout the board holes → fast Freerouting (capped, never spins) → inject the route into KiCad over the IPC API →drc_check.pytriage. Iterate on placement, not the router. - Automate KiCad headless via the IPC API (
kipy) — add ground/power planes, inject a Freerouting SES, refill zones, save — all without GUI menus (the deprecated SWIGExportSpecctraDSNis broken). - Net reconciliation (
merge_nets.py) — collapse the per-subcircuit net fragments tscircuit emits, so the modular flow gets a flat netlist and no false shorts. - Auto-keepouts (
add_cutout_keepouts.py) — detect interior board holes (windows, cutouts, screw holes) and stop the router crossing them. - Layer-stackup strategy — 2-layer + pour for simple boards; 4-layer with real GND/PWR p
Related Skills
Add Admin Panel
Create basic admin dashboard with protected routes. Implement admin route protection with role-based access co
Nxt Page
Generates a Next.js App Router page with page.tsx, loading.tsx, and error.tsx. Auto-detects route conventions,
Claude Code Debug Mode
Cursor-style Debug Mode skill for coding agents. Hypothesis-driven debugging with runtime log instrumentation
Comments Harness
Visual feedback loop for agent-driven frontend work: annotate an element in your dev build, an agent fixes it
Init Project Fast
Bootstrap project documentation with progressive artifact generation and interstitial working files. Outputs C
Ohd New Project
Interview-driven scaffolder for a new research project — campaign lifecycle, protected trunk, machine×env matr
Related Agents
Circuit Reviewer
Independent electrical review of a kipcb design spec (JSON) or KiCad schematic before layout. Give it the spec
Pcb Engineer
Owns board placement, routing and zone fills for one board variant, all emitted by a generator and gated on DR
Vacation Planner
Plans a multi-place, multi-day trip as one itinerary spec (route, day-by-day plan, transport legs, bookings, f