by arwidcool
Free, open-source circuit simulator that runs while you draw. Wires show their voltage live, and full SPICE analyses match ngspice. Windows, macOS, Linux and the browser. KiCad, EasyEDA and LTspice import, MCP server for AI agents.
# Add to your Claude Code skills
git clone https://github.com/arwidcool/BetterSPICEBetterSPICE is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by arwidcool. Free, open-source circuit simulator that runs while you draw. Wires show their voltage live, and full SPICE analyses match ngspice. Windows, macOS, Linux and the browser. KiCad, EasyEDA and LTspice import, MCP server for AI agents. It has 151 GitHub stars.
BetterSPICE's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/arwidcool/BetterSPICE" and add it to your Claude Code skills directory (see the Installation section above).
BetterSPICE is primarily written in Rust. It is open-source under arwidcool on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh BetterSPICE against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
In BetterSPICE the circuit runs from the moment it has a source and a ground. Wires take the colour of their voltage, dots show the current, and the scope and every part's volts, amps and watts update as you edit. Press F5 and the same schematic goes through a full transient, AC or DC analysis, with results checked against ngspice.
| 5,767 of 5,767 signals of 455 test circuits pass, 4,647 of them against ngspice | 160,807 vendor SPICE models from more than 70 manufacturers | 1,000 example circuits that open and run, every part type in at least three |
| 144 frames a second on the scope, measured on the Windows app at 1600 x 1000 | 132 part types in the Part Wizard, from a resistor to a stepper driver | 5 systems: Windows, macOS on Apple Silicon, Ubuntu, Arch and NixOS |
Version 1.0.0, for Windows, macOS (Apple Silicon), Ubuntu, Arch and the AppImage, with NixOS following shortly (it stays on 0.9.0 until then). 1.0.0 adds Report a problem (desktop and web app), physical quantities as signals (a motor's speed, a relay's armature, a thermistor's temperature), duty cycle in %, nearly 2,000 more vendor models in the live view, recovery after a crash or an update, a daily signed update check and datasheet-checked marks on 9,294 models, after a bug hunt and code review that fixed more than 80 problems. 0.9.0 opened SPICE netlists, Multisim and Altium designs and made the live view equal Simulate to the last digit. The full app also runs in a browser at app.bspicesim.com: the same window, live view and analyses on the built-in engine, nothing to install (see In your browser). 0.8.2 brought the website, bspicesim.com, with the manual online and the calculators, share links that open there, and the installed app in a browser tab. 0.8.1 gave each of the 17 calculators an Advanced view. 0.8.0 was the beta test release: a full test suite of 52 entries checks every release. The accuracy figures were run again on 0.9.0 on 20 November 2026: every one of the 438 test circuits and 74 parameter circuits passes, and the live view equals Simulate on all 1,000 examples.
An active high-pass filter, running. Select any part and change its value while the simulation runs, and the waveforms follow. Keys 1 to 4 change the speed and Ctrl+R runs or pauses, a dragged slider ramps the value in run time instead of jumping once per screen frame, and a capacitor keeps its voltage and an inductor its current when you edit its value while the circuit runs, so a 50 Hz rectifier and a 1 MHz converter can both be watched at a pace you can follow. When a circuit is too heavy for the timebase you set, the toolbar says how fast it really runs, and Live quality Balanced or Fast keeps the timebase at reduced accuracy, always with a banner that says what changed. A slider's Min, Max and Log stay with its part until the part is deleted, through Undo, copy and save.
The wires use one voltage scale from 1 mV to 1 kV, so the same voltage always has the same colour: pale yellow for millivolts, through lime to green at 48 V, then teal into blue past 50 V, and red to purple for negative voltages. A lighter wire always means a smaller voltage. Current dots grow from small dots into long dashes as the current rises and only race for large currents. View > Live look switches back to Classic at any time. A slim legend shows the scale and marks the wire under the pointer, pointing at a pin shows its voltage, current and the part's power, and after an operating point (F9) the DC voltages and currents can be written on the schematic.
The live engine is written in Rust and compiled to WebAssembly, and the desktop app also runs it natively for big boards. It solves the circuit with modified nodal analysis and Newton iteration, using ngspice's device equations, and needs no setup to start. The live view starts on exactly the step Simulate takes, so at the same step the two give the same points, and the test suite checks the live view against Simulate and the native engine against WebAssembly on every example, 8,573 checks in the 1.0.0 run. Where WebAssembly is not available, a JavaScript engine takes over, and in 0.8.0 it runs the parts with the Rust engine's own device equations.
View > Tolerance band (off by default) shades the range each scope trace takes with the parts at the ends of their tolerance, while the circuit runs. Extra live engines, one for each corner and each in its own worker, follow every edit and never run ahead of the trace. Resistors default to 1 %, capacitors to 10 % and inductors to 20 %, and the label in the scope says how many corners it ran.
A circuit of 100 parts or more runs its