KiCad Happy
Give coding agents the tools to catch KiCad circuit, PCB, EMC, and production risks before fabrication.
- Source repo
- aklofas/kicad-happy
- Stars
- ★ 1.8k
- Last updated
- 17d ago v3.0.2
- FARS reviewed
- Nov 07, 2026 +1 new
- License
- MIT
- Primary language
- Python
- FA score
- 72/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free, no paid service needed
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A hardware engineer finishing a KiCad controller board can check regulator feedback values, missing protection, unconnected nets, and inadequate decoupling before ordering prototypes.
- Not a fit if
- Teams that need direct analysis of proprietary Altium or OrCAD project formats
- Teams that need EMC output to replace lab certification or engineering sign-off
- Users without ngspice, LTspice, or Xyce who need high-fidelity SPICE validation
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-15latest release v3.0.2 (2026-11-15)+8.7 ★/day over 7 days
- Source review
- 72/100 · Some gaps
What does this agent do, and when should you use it?
KiCad Happy is a collection of electronics-focused agent skills and pure Python 3.10+ analyzers that read KiCad 5 through 10 schematics, PCB layouts, and Gerbers. Its 11 named skills—kicad, spice, emc, datasheets, bom, digikey, mouser, lcsc, element14, jlcpcb, and pcbway—span design review, simulation, sourcing, and fabrication preparation. The analyzers parse components, nets, and board geometry, identify functional circuits, and produce severity-ranked findings covering power, signal integrity, thermal behavior, EMC, DFM, and lifecycle concerns. It can run inside Claude Code, OpenAI Codex, Google Antigravity, or opencode, as standalone Python scripts, or as a GitHub Action that reviews KiCad-related pushes and pull requests. Core static analysis does not require KiCad, Docker, or third-party Python packages, while SPICE validation and online datasheet or distributor operations require the relevant simulator, network access, or credentials.
The workflow begins by reading .kicad_sch, legacy .sch/.lib, PCB, and Gerber data. The kicad skill converts S-expression and related design files into structured component, net, copper, and subcircuit data, then calculates feedback voltages, filter cutoffs, crystal loading, power trees, trace-current limits, and thermal indicators. The emc skill applies 44 checks for ground-plane voids, decoupling, exposed interfaces, differential-pair skew, PDN impedance, crosstalk, and radiation risk, producing a risk score, priority frequency bands, and suggested near-field probe points. The spice skill generates testbenches for detected RC/LC filters, op-amp stages, dividers, feedback networks, transistor switches, and oscillators; it invokes ngspice, LTspice, or Xyce and supports Monte Carlo tolerance analysis and parameter sweeps. If no simulator is found, it skips simulation without stopping the remaining analysis. The datasheets skill downloads and verifies PDFs through DigiKey, LCSC, element14, or Mouser, then extracts pinouts, electrical limits, topology, and model data into quality-scored, per-MPN JSON caches. BOM and supplier skills audit MPN coverage, find and validate parts, and produce purchasing files plus JLCPCB or PCBWay BOM/CPL outputs. Results can be delivered as structured design reports, fabrication release-gate assessments, supplier order files, or GitHub status checks and review comments.
- A hardware engineer finishing a KiCad controller board can check regulator feedback values, missing protection, unconnected nets, and inadequate decoupling before ordering prototypes.
- A team preparing for FCC, CISPR 32, CISPR 25, or MIL-STD-461G pre-compliance can prioritize risky bands, connectors, return paths, and differential-pair problems from schematic and PCB geometry.
- An analog or power designer can have detected filters, op-amp stages, and feedback networks verified with ngspice, LTspice, or Xyce, including tolerance and what-if sweeps.
- A team moving from prototype to production can synchronize datasheets, fill MPN gaps, review component lifecycle status, and export distributor and JLCPCB/PCBWay BOM/CPL files.
- A development team maintaining KiCad files in GitHub can add automated status checks and structured PR comments whenever schematic or PCB files change.
- An engineer using Claude Code, Codex, Antigravity, or opencode can ask a focused question about a USB pair, boost-converter loop, touch input, or power sequence without requesting a full-board review.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
DIGIKEY_CLIENT_IDDIGIKEY_CLIENT_SECRETMOUSER_SEARCH_API_KEYELEMENT14_API_KEY- Config files
~/.codex/skills.opencode/opencode.json- Runtime
- Python 3.10+
- Install notes cover
- Docker
How do you install or deploy this agent?
Python 3.10+ is required. In Codex, use the documented request: Use $skill-installer to install the kicad-happy skills from https://github.com/aklofas/kicad-happy. For a manual Codex installation, run:
git clone https://github.com/aklofas/kicad-happy.git
cd kicad-happy
mkdir -p ~/.codex/skills
for skill in kicad spice emc datasheets bom digikey mouser lcsc element14 jlcpcb pcbway; do ln -sf "$(pwd)/skills/$skill" ~/.codex/skills/$skill; doneFor Claude Code, run:
/plugin marketplace add aklofas/kicad-happy
/plugin install kicad-happy@kicad-happyFor Google Antigravity, run: agy plugin install https://github.com/aklofas/kicad-happy.git. For opencode, clone the repository and run opencode inside it; .opencode/opencode.json loads all 11 skills from ./skills/. Core analysis needs no pip installation, Docker, or KiCad. SPICE requires ngspice, LTspice, or Xyce. Distributor APIs can use DIGIKEY_CLIENT_ID, DIGIKEY_CLIENT_SECRET, MOUSER_SEARCH_API_KEY, and ELEMENT14_API_KEY; LCSC requires no key.
How do you use this agent?
After installation, point the agent to a local project with a request such as: Analyze my KiCad project at hardware/rev2/. Focused requests are also supported, for example: Check the two capacitive touch buttons on my PCB for routing or placement issues. To populate the datasheet cache, ask: Sync datasheets for my board at hardware/rev2/. For simulation, request: Run SPICE on everything the analyzer detected and tell me what doesn't look right; the tool auto-detects ngspice, LTspice, or Xyce. Before production, ask: Is this board ready to order? or Generate the BOM for JLCPCB assembly. For continuous review, configure the repository's GitHub Action so pushes and pull requests touching KiCad files receive a status check and structured review comment.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- It covers a connected hardware workflow from schematics, PCB files, and Gerbers through datasheets, BOM sourcing, supplier orders, and fabrication release checks.
- The core analyzers are dependency-free Python 3.10+ scripts that do not require KiCad or Docker and support KiCad versions 5 through 10.
- EMC analysis includes 44 checks, while SPICE supports per-part behavioral models, PCB parasitics, Monte Carlo tolerance analysis, and parameter sweeps.
- Delivery is flexible: Claude Code and Codex skills, an Antigravity plugin, opencode configuration, standalone scripts, and a GitHub Action are all documented.
- The project reports validation across more than 5,800 open-source KiCad repositories, including 6,845 schematic files, 3,498 PCB files, and over 808,000 regression assertions.
- Its documented parsing scope is KiCad; there is no evidence of equivalent direct analysis for proprietary Altium or OrCAD project formats.
- High-fidelity SPICE checks require a separate ngspice, LTspice, or Xyce installation and are skipped when none is available.
- Datasheet synchronization and sourcing need network access, and full DigiKey, Mouser, and element14 API flows require provider-specific credentials.
- The EMC output is explicitly pre-compliance analysis; the supplied evidence does not establish it as a substitute for laboratory certification or engineering sign-off.
- Analyzer upgrades may change findings: v2.2.0 specifically warns that hierarchical and bus-heavy designs can receive corrected net lists and that bare net-name suppressions should be reviewed.
How does this agent compare with similar options?
Compared with Altium or OrCAD, the repository explicitly relies on KiCad's readable S-expression files to inspect components and nets without a proprietary export plugin; it does not document equivalent support for those commercial EDA formats. At the agent-runtime level, it is not tied to one coding assistant: the same skills are documented for Claude Code, OpenAI Codex, Google Antigravity, and opencode, with standalone Python and GitHub Action paths available when an interactive agent is unnecessary.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| KiCad Happy This agent | 72 · Some gaps | Agent plugin / skillFree | ★ 1.8k | 17d ago | Python | Codex · Claude Code |
| Mirafold | 87 · Good | CLIFreemium | ★ 20 | 2mo ago | TypeScript | Codex · Claude Code |
| roborev Code Review | 81 · Good | CLIFree + model costs | ★ 1.8k | today | Go | Codex · Claude Code |
| Argot Repository Style Analyzer | 78 · Good | CLIFree | ★ 48 | 3mo ago | Rust | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
Script examples show an optional --dry-run, a dry-run before applying schematic property edits, and download retry behavior that preserves existing files on refresh failure; the CI workflow declares contents: read. Deductions: BOM workflows write to schematics and generate order files, and DigiKey credentials are supplied through environment variables with an example for exporting a secrets file, but the supplied material does not fully explain credential protection, the scope of data sent externally, or confirmation constraints before writes. Supplier sources and datasheet download paths are described, but source attribution is only partly substantiated.
The documentation broadly matches the shared CLI layer: the download scripts expose JSON summaries, error exit codes, concurrency, and retry options, while CI lists compile, startup, unit, and isolated-install checks. Deductions: this is a static review, and the README's claimed feature scope is much broader than the supplied source excerpts, so full implementation consistency cannot be established. Some CI checks also depend on an external harness and simulator.
The skills cover KiCad analysis, SPICE, EMC, datasheets, BOM, supplier search, and multiple manufacturers; the README gives circuit-level prompts and end-to-end workflow examples. Deductions: several skill descriptions use broad always-trigger language, leaving boundaries and inter-skill routing partly to agent judgment; the supplied excerpts do not fully show limitations for every target environment or optional capability.
Skills are organized by directory, and the README includes multi-platform installation, platform notes, workflows, guide links, and example reports; the MIT license is explicit, and plugin metadata supplies version and author fields. Deductions: the supplied material does not show a complete changelog, clear maintenance responsibility, or ongoing support commitment. Version metadata is present, but release-history stability cannot be assessed from these files alone.
Domain-focused analysis, BOM management, supplier exports, and readable report examples can directly support design review and manufacturing preparation, adding value beyond a general coding agent. Deductions: the scope is broad, some workflows depend on API credentials or optional SPICE tools, and the material does not establish operating costs, human review burden, or independent validation of the example results.
The README connects some outputs to described methods and guide documents; the CLI, shared download implementation, and CI workflow provide concrete interfaces and check items for inspection. Deductions: many coverage, detection-count, and success-rate claims lack corresponding data or independent corroboration in the supplied material. Example reports are illustrative rather than verified results, and some text does not clearly distinguish inference from measurement.
- BOM and supplier workflows may edit schematics, make external API requests, and generate order files; confirm target files, credential configuration, and order quantities before running them.
- Treat EMC, thermal, SPICE, and fabrication-readiness outputs as design-review aids; the supplied material does not independently verify the example results or all accuracy claims.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v3.0.2 v3.0.2 — Signal over noise
Release notes excerpt
v3.0.2 is fixes only: no new output fields and no new rule IDs. Most of it does one of two things. It reads a design the way KiCad reads it, and it drops the findings that came from misreading it. The work came from the tracker issues left open after v3.0.1 and from new GitHub reports, and went in as five waves, each checked against the full regression corpus before the next began. …View on GitHub ↗ -
v3.0.1 v3.0.1 — Audit fixes
Release notes excerpt
v3.0.0 changed how the code is organised, not what it reports. Before it shipped, its code went through an independent audit: 45 separate reviews of security, false signals, KiCad file handling, the detectors and the tools around them. A second round of 21 reviews followed the release, and a third of 31 after that. v3.0.1 is the fixes from all three rounds, made in a series of waves, each checked against the full regression corpus before the next began. …View on GitHub ↗ -
v3.0.0 v3.0.0 — The v3 refactor
Release notes excerpt
The 2.x line had grown around a few very large files: the schematic analyzer alone was over nine thousand lines, a shared utility module was imported by everything, and each distributor kept its own copy of the datasheet sync loop. v3 restructures that code without changing what it reports. It was done in nine gated rounds. Eight changed no analysis output: every output field was compared against the previous candidate and found identical, on a 200-project cross-section of the regression corpus (5,829 open-source KiCad projects) for the first two rounds and on all 149,629 corpus analysis units …View on GitHub ↗
FAQ
Do I need KiCad installed on the analysis machine?
What happens if no SPICE simulator is installed?
Which credentials are needed for sourcing and datasheets?
Can it guarantee that a board will pass EMC certification?
Can I review one circuit instead of the entire board?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.