universal-netlist CLAUDE.md

universal-netlist CLAUDE.md is an instructions file for coding agents from IntelligentElectron/universal-netlist. It costs 2,585 tokens per session, scanned C, original, Apache-2.0.

Development instructions for Universal Netlist, a server that lets an agent query electronic-design netlists and trace connections between circuit components. It supports Cadence, Altium Designer, and KiCad file formats.

In plain words
What is it for?
Use it when developing, building, type-checking, testing, or packaging the Universal Netlist server.
Why use it?
It gives the agent the project’s setup, dependency, build, and testing rules, including how to keep its two lockfiles consistent.

Instructions file

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.

agentmods
npx agentmods add instructions/intelligentelectron/universal-netlist/claude-md
Clone the repo
git clone --depth 1 https://github.com/IntelligentElectron/universal-netlist

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 universal-netlist CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/intelligentelectron/universal-netlist/claude-md.svg)](https://agentmods.dev/instructions/intelligentelectron/universal-netlist/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/intelligentelectron/universal-netlist/claude-md"><img src="https://agentmods.dev/badge/instructions/intelligentelectron/universal-netlist/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,585 This file is loaded in full into every session.
When invoked 2,585 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
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 $0.02585 $0.02585
Opus 5 $0.01293 $0.01293
Sonnet 5 $0.00517 $0.00517
Haiku 4.5 $0.00259 $0.00259

Measured today against content hash bd74088c15cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

universal-netlist CLAUDE.md scanned grade C with 2 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 today.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://bun.sh/install | bash -s "bun-v$(cat .bun-version)"

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://bun.sh/install | bash -s "bun-v$(cat .bun-version)"
CLAUDE.md · 236 lines

How it starts

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

Universal Netlist MCP Server

Overview

MCP server for querying EDA netlists and tracing circuit connectivity. Supports Cadence OrCAD/CIS (.DSN), Altium Designer, KiCad, and Universal Netlist formats.

DAT parsing and export_cadence_netlist are dormant in MCP, controlled by src/features.ts. Keep their implementations and regression tests. The CLI coverage command and developer golden-generation scripts still use DAT as an independent reference; do not advertise that path to MCP clients.

Development

Setup

bun install         # Prefer bun over npm
npm run setup       # Initialize test fixture submodules
npm run dev

Note: Test fixtures are git submodules. Run npm run setup after clone.

Dependencies

Both lockfiles are committed. Binary packaging installs from bun.lock; CI installs from package-lock.json and produces the npm tarball that is later published unchanged. When you change a dependency, regenerate both lockfiles in the same commit:

bun install                      # updates bun.lock
npm install --package-lock-only  # updates package-lock.json

CI installs with npm ci and binary packaging with bun install --frozen-lockfile. Both fail if the lockfile does not match package.json, so an out-of-date lockfile is caught instead of being silently re-resolved.

Commands

npm run dev          # Run with tsx (auto-reload)
npm run build        # Compile TypeScript to dist/
npm run start        # Run compiled version
npm run type-check   # TypeScript type checking
npm run lint         # ESLint
npm run lint:fix     # ESLint with auto-fix
npm test             # Run tests with Vitest
npm run test:watch   # Run tests in watch mode
npm run compile:all  # Build the five per-arch binaries (any host)
npm run compile:darwin-universal  # Add the lipo'd macOS universal binary (macOS only)

Binary Compilation

Bun compiles the TypeScript into standalone executables. One script does this, and release.yml and the compile:* npm scripts all call it, so you can reproduce a release binary locally:

Read the full file on GitHub · 236 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. today Changed · +8 lines · +106 tokens per session bd74088c15cb
  2. 4d ago First seen · 228 lines · 2,479 tokens per session scan C 3aa51f6fc5b3

Subscribe to this mod's changes

universal-netlist CLAUDE.md is an instructions file published in the GitHub repository IntelligentElectron/universal-netlist (34 stars, last pushed yesterday), licensed Apache-2.0. It adds 2,585 tokens to every session, about $0.0129 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

naja-verilog AGENTS.md

AGENTS.md instructions for najaeda/naja-verilog, covering repository guidance and keep the googletest pins synchronized.

najaeda/naja-verilog · 456 tokens

circuit-synth CLAUDE.md

Instructions for circuit-synth/circuit-synth, covering claude.md - circuit-synth library development guide, project context, professional quality standards, 🎯 core development philosophy and 1. github issue-driven development.

circuit-synth/circuit-synth · 5,625 tokens

naja-scope CLAUDE.md

Claude Code instructions for najaeda/naja-scope: When writing code that talks to najaeda — inside src/najascope/ or in throwaway exploration scripts — always go through from najaeda import naja (the raw naja.so binding: NLUniverse, NLDB, SNL objects) and never through najaeda.netlist (the high-level…

najaeda/naja-scope · 397 tokens

copper-mcp AGENTS.md

AGENTS.md instructions for seunghyukchoe/copper-mcp, covering repository instructions, product boundary, required workflow, agent coordination and commands.

seunghyukchoe/copper-mcp · 566 tokens

kicad-mcp CLAUDE.md

Claude Code instructions for antonmadto/kicad-mcp, covering claude.md — kicad-mcp project constitution, read first, every session, current status, mission — two pillars and hard architectural rules (never violate — plan.md §3).

antonmadto/kicad-mcp · 4,197 tokens

kicad-sch-api CLAUDE.md

Claude Code instructions for circuit-synth/kicad-sch-api, covering claude.md, project overview, critical: kicad coordinate system ⚠️, 🔴 the most important concept in this library and the two coordinate systems.

circuit-synth/kicad-sch-api · 6,033 tokens