ngspice
A guide for circuit simulation and netlist management in ngspice.
Install
mkdir -p .claude/skills/ngspice && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13444" && unzip -o skill.zip -d .claude/skills/ngspice && rm skill.zipInstalls to .claude/skills/ngspice
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Use when writing or editing ngspice circuit netlists (.cir, .sp, .spice), working with ngspice scripting (.control blocks), or interpreting simulation results. Covers ngspice-specific SPICE syntax, behavioral sources, .control scripting, Monte Carlo via control loops, parameters, XSPICE, .save, .MEAS, convergence, and common gotchas that cause silent errors. Use this skill whenever the user mentions ngspice, or is writing SPICE netlists targeting ngspice rather than LTspice.Key capabilities
- →Write or edit ngspice circuit netlists
- →Work with ngspice scripting (.control blocks)
- →Interpret simulation results
- →Define component syntax and values with correct suffixes
- →Configure various simulation directives (tran, ac, dc, op, noise, tf)
- →Perform measurements using .MEAS syntax
How it works
This skill guides the user in writing ngspice netlists and control scripts, explaining syntax, directives, and common pitfalls. It covers various simulation types and measurement capabilities specific to ngspice.
Inputs & outputs
When to use ngspice
- →Writing ngspice netlists
- →Running transient simulations
- →Debugging convergence issues
- →Creating Monte Carlo loops
About ngspice
This skill assists in writing circuit netlists and managing simulation controls. It explains specific syntax nuances like the importance of unit suffixes (M vs MEG) and helps debug simulation convergence errors.
>
When not to use it
- →When writing SPICE netlists targeting LTspice instead of ngspice
- →When a graphical schematic capture tool is preferred over netlist editing
- →When performing simulations that require features not supported by ngspice
Limitations
- →M means MILLI, not mega; use MEG for 1e6
- →Unrecognized suffix letters are silently ignored
- →.meas does NOT work in batch mode when combined with -r rawfile
How it compares
This skill provides specific guidance for ngspice, highlighting its unique syntax, directives, and behavioral differences from other SPICE simulators like LTspice, which is crucial for accurate simulation results.
Compared to similar skills
ngspice side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| ngspice (this skill) | 0 | 4mo | Review | Advanced |
| senior-devops | 7 | 11mo | Review | Advanced |
| server-management | 1 | 9mo | No flags | Intermediate |
| azure-cloud-services | 0 | 7mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
senior-devops
davila7
Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup, infrastructure as code, deployment automation, and monitoring. Use when setting up pipelines, deploying applications, managing infrastructure, implementing monitoring, or optimizing deployment processes.
server-management
davila7
Server management principles and decision-making. Process management, monitoring strategy, and scaling decisions. Teaches thinking, not commands.
azure-cloud-services
ComeOnOliver
This skill provides expert guidance for Azure Cloud Services. Covers troubleshooting, best practices, decision making, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fet
mimir
grafana
>
huawei-event-driven-architecture-review
Raishin
Review Huawei Cloud event-driven architecture designs — DMS Kafka dead-letter configuration, ROMA Connect integration flow capacity, FunctionGraph event trigger idempotency, SMN delivery retry policy, consumer group lag monitoring, cross-region event replication, and retry storm prevention.
iot-engineer
Sneha-1608
Use when designing and deploying IoT solutions requiring expertise in device management, edge computing, cloud integration, and handling challenges like massive device scale, complex connectivity scenarios, or real-time data pipelines.