spice

Automate SPICE simulations for subcircuits detected from KiCad schematics.

919|70|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/aklofas/kicad-happy --skill spice-aklofas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spice
Source: https://github.com/aklofas/kicad-happy/tree/main/skills/spice
Command: npx skills add https://github.com/aklofas/kicad-happy --skill spice-aklofas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires analyze_schematic.py, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of running SPICE simulations on subcircuits detected from KiCad schematics, providing detailed verification and analysis of analog circuits.

Core Features & Use Cases

  • Automated SPICE Simulation: Run simulations for various subcircuits like RC filters, LC filters, voltage dividers, and opamp circuits.
  • Multiple Simulators Supported: Supports ngspice, LTspice, and Xyce, with auto-detection.
  • Structured Reporting: Provides a structured report with pass/fail results, simulation outputs, and Monte Carlo tolerance analysis.
  • Use Case: When analyzing an analog circuit in KiCad, this Skill can automatically run simulations for critical subcircuits, allowing designers to validate their designs before manufacturing.

Quick Start

Run SPICE simulations on the 'circuit.sch' file located at 'path/to/circuit' using the spice skill.

Frequently Asked Questions about spice

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run SPICE simulations on KiCad schematics to verify analog circuits?

This Skill automates SPICE simulations for KiCad schematics by detecting subcircuits, running simulations using ngspice, LTspice, or Xyce, and validating calculated values to detect common analog circuit design errors.

Does automated SPICE simulation work with ngspice, LTspice, and Xyce simulators?

Yes, automated SPICE simulation works with ngspice, LTspice, and Xyce by auto-detecting the available simulators to run analyses on detected subcircuits and generate structured reports with pass/fail results.

What do I need to run automated analog circuit simulations from KiCad files?

To run automated analog circuit simulations from KiCad files, you need the 'analyze_schematic.py' script to produce the analysis JSON, along with ngspice, LTspice, or Xyce simulators installed to execute the SPICE simulations.

How do I perform Monte Carlo tolerance analysis on KiCad subcircuits?

You perform Monte Carlo tolerance analysis on KiCad subcircuits by running this Skill, which automates the SPICE simulations and outputs a structured report including the Monte Carlo tolerance analysis results.

What types of analog subcircuits can be automatically simulated from a KiCad schematic?

Subcircuits that can be automatically simulated from a KiCad schematic include RC filters, LC filters, voltage dividers, and opamp circuits, allowing designers to validate critical analog designs before manufacturing.

Can I validate calculated values and detect design errors in KiCad before manufacturing?

Yes, you can validate calculated values and detect common design errors in KiCad before manufacturing by running this Skill to execute SPICE simulations and generate a structured report with pass/fail results.