netlist
/netlist
Semantic cleanup and curation of Spectre/SPICE transistor netlists for analog review or reusable reference circuits. Use when Codex needs to understand generated ADE/PEX netlists, split DUT/testbench/run decks, optionally strip layout-derived MOS tail parameters by reasoning, rename random nodes/instances into semantic names, or prepare clean comparator/opamp/SAR reference netlists. Scripts in this skill are checkers only, not primary cleanup engines.
- Author
- arcadia-1 ↗
- Repository
- virtuoso-bridge-lite ↗
- Licence
- MIT
- Last repository change
- 23.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/check_spectre_netlist.py
What it does and when to use it
Semantic cleanup and curation of Spectre/SPICE transistor netlists for analog review or reusable reference circuits. Use when Codex needs to understand generated ADE/PEX netlists, split DUT/testbench/run decks, optionally strip layout-derived MOS tail parameters by reasoning, rename random nodes/instances into semantic names, or prepare clean comparator/opamp/SAR reference netlists. Scripts in this skill are checkers only, not primary cleanup engines.
Original author description
Semantic cleanup and curation of Spectre/SPICE transistor netlists for analog review or reusable reference circuits. Use when Codex needs to understand generated ADE/PEX netlists, split DUT/testbench/run decks, optionally strip layout-derived MOS tail parameters by reasoning, rename random nodes/instances into semantic names, or prepare clean comparator/opamp/SAR reference netlists. Scripts in this skill are checkers only, not primary cleanup engines.
How it works
- Principle
- Workflow
- Rules
SKILL.md preview
--- name: netlist description: "Semantic cleanup and curation of Spectre/SPICE transistor netlists for analog review or reusable reference circuits. Use when Codex needs to understand generated ADE/PEX netlists, split DUT/testbench/run decks, optionally strip layout-derived MOS tail parameters by reasoning, rename random nodes/instances into semantic names, or prepare clean comparator/opamp/SAR reference netlists. Scripts in this skill are checkers only, not primary cleanup engines." --- # Netlist Semantic Cleanup Use this skill when converting generated netlists into readable, reviewable Spectre/SPICE reference decks. ## Principle The primary cleanup engine is semantic understanding by the model and engineer. Do not treat netlist cleanup as a blind text rewrite. A checker can report leftover tool artifacts, but it cannot decide circuit boundaries, node meaning, or instance names. ## Workflow 1. Preserve the raw generated artifact. Never edit ADE/PEX output in place. 2. Read enough context to understand the circuit: ports, hierarchy, stimulus, measurements, clocking, biasing, and intended DUT boundary. 3. Read `references/cleaning.md` before curating a real design. 4. Draft the semantic cleanup plan: - DUT subckt or wrapper interface. - Testbench-owned supplies, clocks, stimulus, loads, probes, and analyses. - Run-deck-owned parameters, model includes, corners, sweeps, and saves. - Rename map for random nodes/instances, plus unresolved review notes. 5. Create the clean netlist as a curated source artifact. Use model reasoning to split DUT/testbench/run decks and to choose semantic names. 6. Run the checker only after the semantic pass: ```bash python skills/netlist/scripts/check_spectre_netlist.py netlist/dut/block.scs --mode dut python skills/netlist/scripts/check_spectre_netlist.py netlist/tb/tb_block.scs --mode tb ``` The checker reports suspicious MOS tail parameters, random-looking node names, generic instance names, and DUT/testbench mixing. It does not rewrite files and should not be used as the main cleanup mechanism. ## Rules - Preserve MOS instance parameters by default when numerical behavior matters. Removing layout side-effect tails is an explicit stripped-reference choice, not the default. - If a stripped reference is requested, it may remove `ad/as`, `pd/ps`, `nrd/nrs`, `sa/sb/sca/scb`, `sp*`, DFM, stress, proximity, and extraction parameters, but expect performance differences and validate against the full-parameter or raw deck. - Split reusable artifacts into DUT, testbench, and run decks. A clean DUT file should not contain supplies, clocks, sweeps, saves, probes, or analysis statements. - At the top of every curated netlist file or section containing MOS devices, add an explicit terminal-order comment, for example: `// MOS terminal order: D G S B (drain gate source bulk/body)`. - Replace random names (`net1`, `_net23`, `N_*`, numeric mesh nodes, `I42`, `M0`) with semantic names where the circuit meaning is known. If meaning is unknown, leave a short review note instead of guessing. - Validate after cleanup with a parser or Spectre syntax/smoke run when Cadence is available.
Files in this package (3)
- SKILL.md 3 KB
- references/cleaning.md 15 KB
- scripts/check_spectre_netlist.py 10 KB
Versions
The database has no other skills named netlist.
Database snapshot: 13.11.2026 · package version 0109f14bf42d (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100analog-netlist-gen
Generate a complete SPICE netlist (.sp) from a sized analog topology, with correct PDK device models, body connections, and testbench. Use when the user says "generate SPICE", "write netlist", "create spice deck", or at Step A3 of the analog track. - 100spectre
Run Cadence Spectre simulations remotely via virtuoso-bridge: upload netlists, execute, parse PSF results. TRIGGER when the user wants to run a SPICE/Spectre simulation from a netlist file, do transient/AC/PSS/pnoise analysis outside Virtuoso GUI, parse PSF waveform data, run… - 100circuit-simulation
Analog circuit simulation — testbench setup, DC operating point, AC, transient, noise, stability, PVT corners, and Monte-Carlo yield analysis, ending in electrical-spec sign-off. Use when verifying an analog block's specs across corners, debugging convergence, or closing… - 100analog-hw-tuning-loop
Closed-loop hardware-in-the-loop analog tuning — iterates SPICE sizing → hardware build → measure → compare → adjust until hardware matches SPICE matches spec. Use when the user says "tune analog on hardware", "hardware convergence", "HIL tuning loop". - 100spice
Run automatic SPICE simulations on subcircuits detected from KiCad schematic analysis — validates filter frequencies, divider ratios, opamp gains, LC resonance, and crystal load capacitance. Supports ngspice, LTspice, and Xyce (auto-detected). Generates testbenches, runs batch… - 98multisim-spice
把自然语言电路描述变成经过验证、可在 Multisim 打开的 SPICE 网表。流程为「生成 SPICE 网表 → 用内置 ngspice 批处理自检 → 校验通过后导入 NI Multisim」。当用户要设计电路、画电路、做电路仿真、写 SPICE 网表、做 prelab 电路、用 Multisim 仿真时触发。Also triggers on: SPICE netlist generation, circuit design, Multisim simulation, ngspice check, electronics prelab.