ngspice Circuit Simulator

Execute SPICE circuit simulations on netlists and return parsed results.

14|4|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/pacphi/sindri --skill ngspice-circuit-simulator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ngspice Circuit Simulator
Source: https://github.com/pacphi/sindri/tree/main/docker/lib/extensions/vf-ngspice/resources
Command: npx skills add https://github.com/pacphi/sindri --skill ngspice-circuit-simulator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides Claude with access to SPICE-based simulations through MCP for circuit analysis and design exploration.

Core Features & Use Cases

  • Netlist Execution: Run SPICE simulations from a netlist.
  • Result Extraction: Retrieve and parse results for DC/AC/transient analyses.
  • Batch Runs: Run multiple simulations for parameter sweeps.

Quick Start

Run a basic SPICE netlist and retrieve the DC operating point.

Frequently Asked Questions about ngspice Circuit Simulator

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

FAQPage Schema
How do I run SPICE circuit simulations on a netlist?

SPICE simulations execute electronic netlists through ngspice via MCP protocol in batch mode. Provide your netlist as input, and the Skill creates a temporary circuit file, runs the simulation, and returns structured results including stdout, stderr, and parsed data payload for DC, AC, or transient analyses.

Can I use ngspice for DC operating point analysis and AC frequency response?

Yes, ngspice simulations support DC operating point evaluation, AC frequency response, and transient response analysis. The Skill accepts any valid SPICE netlist and returns analysis results in structured format, enabling component testing and signal processing simulations across multiple analysis types.

What input format does the circuit simulator accept?

The simulator accepts SPICE netlists as input. You provide the netlist, the Skill generates a temporary circuit file, executes ngspice, and parses results into structured output including simulation data and any errors or warnings from execution.

How do I run parameter sweeps across multiple circuit configurations?

The Skill supports batch runs by executing multiple SPICE simulations sequentially. Submit different netlists or netlist variants to perform parameter sweeps, design exploration, and power-supply design optimization across multiple configurations.

What are the limitations of ngspice circuit simulation for complex designs?

NGSpice operates in batch mode and requires valid SPICE netlist syntax. Simulation results depend on netlist accuracy, model library availability, and numerical convergence. For highly nonlinear circuits or exotic components, model availability and convergence behavior may impose practical limits.

Does the simulator work for power-supply and signal processing analysis?

Yes, ngspice simulations apply to power-supply design scenarios, signal processing simulations, and component testing. The Skill handles transient response evaluation and AC analysis needed for these domains when provided with appropriate netlists.

Related Skills