JonathanLiu1401

Aspice — Design skill for Claude Code

Design community

Agentic SPICE: a Claude Code skill for transistor-level analog CMOS design and Cadence ADE/Spectre netlists, built on PySpice and ngspice.

How to install Aspice

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JonathanLiu1401/Aspice and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Aspice does

Agentic SPICE: a Claude Code skill for transistor-level analog CMOS design and Cadence ADE/Spectre netlists, built on PySpice and ngspice.

Alternatives in Design

  • Designer Skills — Designer Skills Collection: agentic skills, commands, and plugins for design — from research to systems, UI, i 2.3k ★
  • Scaffold Project — Scaffold a new design-product project that matches the recommended Claude Code layout (the reference structure 781 ★
  • Claude Agent Teams UI — You're the CTO, agents are your team 645 ★

README

aspice

Research codebase for the EMiT Lab (UW ECE) on LLM agents that design analog CMOS in Cadence Virtuoso: a schematic a person can read, a layout a working designer would ship, and a parasitic extraction that still meets spec.

This is a group project, not a personal hobby wrapper around PySpice and not an auto-layout button. The agent writes the generator. The code under `lib/` checks each step and keeps netlists small enough to fit in a context window. The rules the agent must follow are [`AGENTS.md`](AGENTS.md) (loaded from [`CLAUDE.md`](CLAUDE.md)).

The benchmark that runs those agents is a separate repository, not part of this package. The layout method follows LAYGO (DOI 10.1109/TCSI.2020.3046524) and BAG3++ (DOI 10.1109/OJCAS.2024.3502641). BAG3++ is CC BY 4.0 and is in `references/papers/`. The LAYGO PDF is not; IEEE Xplore forbids redistributing it. The flow those papers and [laygo2](https://laygo2.github.io/overview.html) describe is implemented here by `lib/laygrid.py`.

What an agent is required to do

  • Draw schematics by hand, wires between terminals, not a grid of net labels.
  • Prove the operating point (Razavi regions) with scripts/opcheck.py before layout.
  • Generate layout from PDK pcells on a metal grid. One Python file per cell. No bond pads on a block. No draw-and-resimulate loop. Search scripts/layout_search.py before inventing a structure.
  • Sign off with scripts/verify.py (DRC, LVS, Quantus, pre vs post).
  • Read scripts/netbrief.py, never a raw netlist.

What is in the repo

Piece Role
AGENTS.md Project rules. Read this first
SKILL.md Claude Code skill: schematic, operating point, layout, sign-off
references/layout-kb/ Searchable layout technique cards, citing Hastings, Saint & Saint, LAYGO, BAG3++, laygo2. Not the books themselves
lib/laygrid.py, lib/layaudit.py Template-and-grid layout generator and the floorplan audit
lib/aspverify/ , scripts/verify.py Batc