/analog-design-infrastructure:infrastructurefrom analog-design-infrastructure
Detects analog/RF EDA tools, generates install scripts for missing open-source tools, deploys JSON-output shell wrappers, and configures MCP templates for chip design environments.
Ships in analog-design-infrastructure. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
analog-chip-design-agents:infrastructure-orchestrator agent and pass the full user
request and any available context. Do not execute stages directly.infrastructure-orchestrator mid-flow: do not spawn a new agent.
Treat this file as read-only — return the requested stage rules or sign-off criteria.Detect open-source and proprietary analog/RF EDA tools, generate installation scripts for
missing open-source tools, deploy output-filtering shell wrappers that emit compact JSON
instead of raw SPICE .lis/.measure and DRC/LVS logs, configure MCP server templates, and
validate the environment before any domain orchestrator begins work.
ngspice) — SPICE simulator; loads Verilog-A via OSDIXyce) — parallel SPICE; harmonic balance; large MCgnucap) — general circuit analysisqucs-s) — schematic + simulation front-end (RF capable)xschem) — analog schematic capture and netlistingmagic) — layout editor, DRC, and extractionnetgen) — LVSklayout) — layout viewer, DRC/LVS, GDS/OASISopenvaf) — Verilog-A → OSDI compileradmsXml) — legacy Verilog-A → C model compileropenEMS) — FDTD electromagnetic solverfasthenry) / FastCap (fastcap) — inductance/capacitance field solversgmsh) — mesh generation for EMskrf) — S-parameter / network analysisPySpice) — scripted SPICE corner/Monte-Carlo controlcocotb) — analog↔digital co-simulation controlhdl21) — programmatic analog hardware descriptiongdstk) / gdsfactory — layout generationverilator) / Icarus Verilog (iverilog) — digital + RNM co-simgtkwave) — waveform vieweropen_pdks; detect-only, non-manufacturableuv) — fast Python package/project manager (required for PySpice/cocotb installs)virtuoso) — schematic/layout/ADEspectre) — analog/RF simulationxrun) — Verilog-AMS / mixed-signalquantus) — parasitic extractionpegasus) — DRC/LVSliberate) — characterizationhspice) / PrimeSim (primesim) / FineSim (finesim) — SPICEcustom_compiler) — schematic/layoutStarXtract) — extractionicv) — DRC/LVScalibre) — DRC/LVS/PEX/PERCafs) — AMS / Analog FastSPICEsolido) — variation / ML characterizationads) — RF circuit + EMhfss) — 3D EMsonnet) — planar EM| MCP config | Tool | Typical duration |
|---|---|---|
mcp-ngspice.json | ngspice single analysis | seconds–minutes |
mcp-xyce.json | Xyce single analysis / HB | minutes |
mcp-magic.json | Magic DRC / extract | minutes |
mcp-klayout.json | KLayout DRC/LVS | minutes |
mcp-netgen.json | Netgen LVS | seconds–minutes |
mcp-openvaf.json | OpenVAF Verilog-A compile | seconds |
mcp-openems.json | openEMS short solve | minutes (set TOOL_TIMEOUT_S) |
The adapter is plugins/infrastructure/tools/mcp-adapter.py.
| MCP config | Tool | Exposed tools |
|---|---|---|
mcp-ngspice-session.json | ngspice interactive control | load_netlist, run_analysis, measure, alter_param, run_corner, close |
The adapter is plugins/infrastructure/tools/mcp-session-adapter.py.
Large Monte-Carlo sweeps and 3D EM solves run for tens of minutes to hours and write
structured output files. Launch via Bash and read the output files (.mt*, .csv,
Touchstone .sNp) directly.
which <command> and <command> --version (or -v) for every open-source tool above.$MODULESHOME is set or modulecmd exists, run module avail 2>&1, match python/python3, load the latest, resolve PYTHON_EXEC with which python3, set python_env.type = "module" and record python_env.module_name. Keep the module loaded for the whole run.which python3 → PYTHON_EXEC; FAIL if empty (required for all wrappers). Classify system (/usr/bin/python3) vs custom.PYTHON_BIN_DIR = dirname(PYTHON_EXEC); record python_env { exec, type, bin_dir, module_name }; add a python3 entry to the tools array.PySpice, cocotb, skrf, hdl21, gdstk, uv): for custom/module Python use "$PYTHON_EXEC" -m pip show <pkg>; for system use the PATH tool. Report MISSING if absent.which <primary-executable> only (see executable names above); never install; record PROPRIETARY_ONLY if found, MISSING otherwise.FOUND, MISSING, or PROPRIETARY_ONLY; capture the exact version for each FOUND.tool-status.json before advancing.tools_detected: count of FOUND tools (target ≥ 8 for a functional open-source analog flow)tools_missing: count of MISSING open-source toolsproprietary_found: count of PROPRIETARY_ONLY tools detectedtool-status.json with python_env object and a tools array of { tool, command, status, version, path }$MODULESHOME set or modulecmd in PATH); else set module_system: "none", WARN, write empty module-status.json, advance.module avail 2>&1; match entries against the tool→module map (case-insensitive substring), e.g. spectre→cadence/spectre, hspice→synopsys/hspice, calibre→mentor/calibre, virtuoso→cadence/virtuoso, ngspice→ngspice, magic→magic, xschem→xschem, klayout→klayout, xyce→xyce.FOUND tool with a module available: upgrade status to FOUND_PREFER_MODULE; for MISSING with a module: MISSING_LOAD_MODULE. Add module_names/versions_available.load-modules.sh (default to latest version; comment alternatives). Never auto-run it; print: "Review and source load-modules.sh, then re-run the flow".module_system_detected: booltools_found_via_modules: count of FOUND_PREFER_MODULE + MISSING_LOAD_MODULEmodule-status.json, updated tool-status.json, load-modules.sh (when modules found)install-<toolname>.sh in install-missing-tools/.python3 is missing: FAIL immediately and escalate (required for all wrappers).MISSING tool; skip FOUND/FOUND_PREFER_MODULE/MISSING_LOAD_MODULE/PROPRIETARY_ONLY.PySpice, cocotb, skrf, hdl21, gdstk, uv) read python_env.exec and use "$PYTHON_EXEC" -m pip install <pkg>; never bare pip for custom/module Python.$EDA_MODULEFILES_ROOT/<tool>/<version> with at least PATH and LD_LIBRARY_PATH.| Tool | apt | brew | source / notes |
|---|---|---|---|
ngspice | ngspice | ngspice | — |
Xyce | build-from-source | — | https://github.com/Xyce/Xyce |
xschem | xschem | build-from-source | https://github.com/StefanSchippers/xschem |
magic | magic | — | http://opencircuitdesign.com/magic |
netgen | netgen-lvs | — | http://opencircuitdesign.com/netgen |
klayout | klayout | klayout | — |
openvaf | build-from-source | — | https://github.com/pascalkuthe/OpenVAF |
openEMS | openems | — | https://github.com/thliebig/openEMS-Project |
PySpice/cocotb/skrf/hdl21/gdstk | <PYTHON_EXEC> -m pip install <pkg> | same | Python packages |
uv | curl -LsSf https://astral.sh/uv/install.sh | sh | uv | prefer standalone installer |
install-<toolname>.sh per MISSING tool in install-missing-tools/plugins/infrastructure/tools/ and chmod +x each; on permission denied, FAIL and escalate with sudo chmod +x.status: "FAIL").{
"tool": "<tool-name>",
"exit_code": 0,
"status": "PASS|FAIL|WARN",
"summary": {},
"errors": [],
"warnings": [],
"raw_log": "/tmp/<tool>-XXXXXX.log"
}
summary carries tool-specific metrics (e.g. ngspice: measured specs + convergence; magic/klayout: DRC/LVS counts; openvaf: compile status; openEMS: S-param/passivity).
plugins/infrastructure/tools/"command": "python3" with mcp-adapter.py (never point directly at the wrapper); session configs use mcp-session-adapter.py --tool ngspice.realpath/pwd); never leave /absolute/path/to/.plugins/infrastructure/mcp/; do not modify .claude/settings.json automatically — instruct the user to paste the mcpServers block.plugins/infrastructure/mcp/ (mcp-ngspice.json, mcp-xyce.json, mcp-magic.json, mcp-klayout.json, mcp-netgen.json, mcp-openvaf.json, mcp-openems.json)mcp-ngspice-session.json)plugins/infrastructure/tools/ (mcp-adapter.py, mcp-session-adapter.py)python_env; if type == module, verify the module is still loaded; if custom/system, verify the path matches python_env.exec (WARN on mismatch).tool_discovery.MISSING.MISSING_LOAD_MODULE critical tools: WARN and instruct to source load-modules.sh.tool-status.json written (includes python_env)module-status.json written (even if "none")install-<toolname>.sh generated for all MISSING toolsload-modules.sh generated if module-available tools foundmcp-adapter.py and mcp-session-adapter.py presentMISSINGtool-manifest.json with the final confirmed stateInfrastructure memory is opt-in (default off) and environment-keyed — see the
infrastructure orchestrator's Infrastructure Memory section and
memory/README.md. When enabled
(design_state.pipeline_config.track_infrastructure == true or --track-memory), upsert a
record into memory/infrastructure/experiences.jsonl after environment_validation with a
key_metrics.tool_versions map. Distillation into memory/infrastructure/knowledge.md is
handled by the memory-keeper skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub hdl-tools/analog-chip-design-agents --plugin analog-design-infrastructureOther plugins' skills for the same job