circuit-simulation

circuit-simulation is a skill for Claude Code from hdl-tools/analog-chip-design-agents. It costs 70 tokens per session (2,527 once invoked), scanned A, original, MIT.

A set of rules for verifying analog circuit designs with SPICE simulation, a method for predicting circuit behavior before hardware is built.

In plain words
What is it for?
Use it for analog simulation tasks involving testbenches, DC, AC, transient, noise, stability, process-voltage-temperature corners, convergence problems, and Monte Carlo yield.
Why use it?
It defines the stages and sign-off checks for finding electrical problems across operating conditions and component mismatches, while directing the actual work to a coordinating agent.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the analog-design-simulation plugin — 1 skill, 1 agent shipped together

Good fit Use it for analog simulation tasks involving testbenches, DC, AC, transient, noise, stability, process-voltage-temperature corners, convergence problems, and Monte Carlo yield.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hdl-tools/analog-chip-design-agents/circuit-simulation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hdl-tools/analog-chip-design-agents --skill circuit-simulation
Clone the repo
git clone --depth 1 https://github.com/hdl-tools/analog-chip-design-agents

Made for: Claude Code.

Or install analog-design-simulation, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for circuit-simulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/circuit-simulation/github.svg)](https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/circuit-simulation)
Your own site
<a href="https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/circuit-simulation"><img src="https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/circuit-simulation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for circuit-simulation

Your own site · 80×15
<a href="https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/circuit-simulation"><img src="https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/circuit-simulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.02527
Opus 5 $0.00035 $0.01264
Sonnet 5 $0.00014 $0.00505
Haiku 4.5 $0.00007 $0.00253

Measured 9d ago against content hash 1002b98ef44a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

circuit-simulation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/simulation/skills/circuit-simulation/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Circuit Simulation

Invocation

  • If invoked by a user presenting a simulation/spec-closure task: immediately spawn the analog-chip-design-agents:circuit-simulation-orchestrator agent and pass the full user request and any available context. Do not execute stages directly.
  • If invoked by the circuit-simulation-orchestrator mid-flow: do not spawn a new agent. Treat this file as read-only — return the requested stage rules, sign-off criteria, or loop-back guidance.

Pre-run Context

Before executing or advising on any stage, read the following if they exist:

  1. memory/sim/knowledge.md — known convergence fixes, successful solver options, corner pitfalls, PDK model quirks.
  2. memory/sim/run_state.md — current run identity for resume-after-interruption.

Purpose

Verify an analog block's electrical specifications across the full PVT + mismatch space and close Monte-Carlo yield. Eight stages with explicit QoR gates. On a spec violation that the testbench cannot resolve, this domain opens a fix_request routed to circuit-design by the pipeline-orchestrator.


Supported EDA Tools

Open-Source

  • ngspice (ngspice) — DC/AC/tran/noise; .measure, .dc, .ac, .noise, .tran
  • Xyce (Xyce) — parallel SPICE for large netlists and big Monte-Carlo sweeps
  • gnucap (gnucap) — general circuit analysis
  • Qucs-S (qucs-s) — simulation front-end driving ngspice/Xyce
  • PySpice (python -m PySpice) — scripted corner/Monte-Carlo orchestration and post-processing

Proprietary (detect-only — never installed)

  • Cadence Spectre / Spectre X / APS (spectre) — industry analog simulator
  • Synopsys HSPICE (hspice) / PrimeSim (primesim) / FineSim (finesim)
  • Siemens AFS (Analog FastSPICE) (afs) / Eldo (eldo)
  • Silvaco SmartSpice / Empyrean ALPS / NanoSpice

Stage: testbench_setup

Domain Rules

  1. Build a reusable testbench: stimulus sources, loads, supply, and .param-driven corner/temperature hooks.
  2. Include the PDK model library with corner-selectable .lib statements (tt/ss/ff/sf/fs).
  3. Define .measure statements for every spec (gain, GBW, PM, noise, offset, settling, power) — never read specs by eye.
  4. Use realistic load and source impedance from the block spec; document assumptions.
  5. Keep one testbench per analysis where solver settings differ (e.g. tran vs noise).

Read the full file on GitHub · 258 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 258 lines · 70 tokens per session scan A 1002b98ef44a

Subscribe to this mod's changes

circuit-simulation is a skill published in the GitHub repository hdl-tools/analog-chip-design-agents (22 stars, last pushed 3mo ago), licensed MIT. It adds 70 tokens to every session and 2,527 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.