universal-netlist: Instructions file for Claude Code

CLAUDE.md

universal-netlist CLAUDE.md is an instructions file for Claude Code from IntelligentElectron/universal-netlist. It costs 2,984 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 for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

This is IntelligentElectron/universal-netlist's own configuration. It tells Claude Code how to work on universal-netlist itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything universal-netlist configures →

Reuse

Borrowing it

Nothing to install: this file belongs to IntelligentElectron/universal-netlist. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/IntelligentElectron/universal-netlist/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/IntelligentElectron/universal-netlist

Made for: Claude Code.

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

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,984 This file is loaded in full into every session.
When invoked 2,984 The same file — it is already loaded in full.
Security scan C 2 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.02984 $0.02984
Opus 5.5 $0.01194 $0.01194
Sonnet 5.5 $0.00597 $0.00597
Haiku 4.5 $0.00298 $0.00298

Measured yesterday against content hash 6fd2c093e612, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 yesterday.

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 · 259 lines

How it starts

The opening of the file, as written. The whole thing — 259 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. Developer scripts (scripts/dsn-vs-dat-coverage.ts, scripts/dsn-coverage-report.ts, golden generation) still use DAT as an independent reference; do not advertise that path to MCP clients, the CLI, or user-facing docs.

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         # oxlint
npm run lint:fix     # oxlint 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 legacy 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 · 259 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. yesterday Changed · +2 lines · +70 tokens per session 6fd2c093e612
  2. 2d ago Changed 58be12b272a9
  3. 20d ago Changed · +20 lines · +293 tokens per session c6fd7d6207f6
  4. 1mo ago Changed · +1 lines · +36 tokens per session f89ca93737f2
  5. 1mo ago Changed · +8 lines · +106 tokens per session bd74088c15cb
  6. 2mo 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 (56 stars, last pushed today), licensed Apache-2.0. It adds 2,984 tokens to every session, about $0.0119 per session on Opus 5.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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens