eda-install

eda-install is a skill for Claude Code from ShenShan123/r2g-skills. It costs 179 tokens per session (2,308 once invoked), scanned B, original, MIT.

A setup skill for installing and checking an open-source electronic-design automation toolchain. EDA tools help turn chip designs into physical layouts, while a process design kit provides manufacturing data and rules.

In plain words
What is it for?
Use it on a new machine to prepare tools such as OpenROAD, Yosys, circuit simulators, layout viewers, timing tools, the sky130A process kit, and a graph-learning Python environment.
Why use it?
It detects what is already installed, identifies missing tools, and verifies the environment needed by the related chip-design workflows.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the r2g-skills plugin — 4 skills shipped together

Good fit Use it on a new machine to prepare tools such as OpenROAD, Yosys, circuit simulators, layout viewers, timing tools, the sky130A process kit, and a graph-learning Python environment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shenshan123/r2g-skills/eda-install
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.

Any agent
npx skills add ShenShan123/r2g-skills --skill eda-install
Clone the repo
git clone --depth 1 https://github.com/ShenShan123/r2g-skills

Made for: Claude Code.

Or install r2g-skills, the plugin that ships this one along with the rest of its 4 skills.

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 eda-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/shenshan123/r2g-skills/eda-install/github.svg)](https://agentmods.dev/skills/shenshan123/r2g-skills/eda-install)
Your own site
<a href="https://agentmods.dev/skills/shenshan123/r2g-skills/eda-install"><img src="https://agentmods.dev/badge/skills/shenshan123/r2g-skills/eda-install/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 eda-install

Your own site · 80×15
<a href="https://agentmods.dev/skills/shenshan123/r2g-skills/eda-install"><img src="https://agentmods.dev/badge/skills/shenshan123/r2g-skills/eda-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,308 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 3
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 18
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 74
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 76
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 79
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 115
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
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.00179 $0.02308
Opus 5 $0.00089 $0.01154
Sonnet 5 $0.00036 $0.00462
Haiku 4.5 $0.00018 $0.00231

Measured 12d ago against content hash 6e89c6db333a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

eda-install scanned grade B 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 12d ago.

The scan reads SKILL.md. This mod also ships 18 executable files (bootstrap.sh, scripts/flow/_env.sh, scripts/flow/check_env.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

description: Detect a machine's environment and install + verify the open-source EDA toolchain that the signoff-loop and def-graph skills need — OpenROAD-flow-scripts (openroad/yosys), iverilog, KLayout, Magic, Netgen, O

Makes network callslowCapability

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

optional_bins: [conda, git, curl]
r2g-skills/eda-install/SKILL.md · 117 lines

How it starts

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

eda-install Skill

Provision the open-source EDA toolchain, then get out of the way. This is the setup companion to the two working skills: signoff-loop (RTL→GDS + signoff) and def-graph (graph datasets). It answers one question — "are the tools this machine needs present, and if not, how do I get them without breaking anything?" — and acts on the answer.

The one command

bash r2g-skills/eda-install/bootstrap.sh --dry-run     # detect + plan, install NOTHING
bash r2g-skills/eda-install/bootstrap.sh               # install missing tiers + pin env.local.sh + verify

bash r2g-skills/bootstrap.sh is a shim to the same script.

What it does — detect → plan → install → pin → verify

  1. Detect (scripts/setup/detect_env.sh) — a clean KEY=VALUE snapshot of the machine: OS + package manager, HAVE_SUDO, HAVE_CONDA, a big writable volume (≥15 GB, preferring /proj), plus every tool + PDK the shared scripts/flow/_env.sh resolver already discovers, and a torch-capable python. Absence is data, never an error.
  2. Planbootstrap.sh prints a per-tier table (core / frontend / sky130 / klayout / pdk / graph), each OK / MISS (required, absent) / OPT (optional, installable), with the exact action it would take. The install channel is chosen by HAVE_SUDO (see below).
  3. Install — each tier is scripts/setup/install_<tier>.sh; bootstrap.sh dispatches to one the moment it exists (and until then prints the command it would run). The platform_rules tier is in the default plan (2026-07-20, round-2 pilot P0-3 — a stock nangate45 checkout has no LVS deck and an unusable 0-area antenna diode, so strict signoff is impossible while every tool reads green): the plan probes platform_capability.py --platform nangate45 --strict and shows OK/OPT; being ORFS-mutating it still installs only when named (--tiers platform_rules), materializing the repo's bundled nangate45 DRC/LVS/antenna rule decks into the ORFS checkout (install_platform_rules.sh, best-effort, HINTs when the repo tools/ installers are unreachable — EXCEPT the sky130hs .lyt lefdef repair, a REQUIRED postcondition verified by patch_sky130hs_lyt.py --check plus the sky130hs_gds_canary.py DEF→GDS geometry canary; a failed repair FAILS setup, RMD-P0-04). Platforms SELECTED as strict (--strict-platforms nangate45,sky130hd,sky130hs on bootstrap.sh, or R2G_STRICT_PLATFORMS / --platforms on the installer) are FAIL-CLOSED end-to-end (RMD2-P1-01, failure-patterns #55): a missing/failing rule installer, an unverifiable canary, or a failed post-install platform_capability.py --strict probe fails setup, and the capability verdict + collateral sha256 digests are persisted to eda-install/references/install_manifest.json. Selecting strict platforms also makes the platform_rules tier REQUIRED in the plan. check_env.sh prints the same per-platform capability table; check_env.sh --platform <p> (or R2G_TARGET_PLATFORM) makes the NAMED campaign platform's strict readiness REQUIRED and fail-closed (RMD-P0-03); R2G_STRICT_PLATFORMS="nangate45" does the same for a standing list.
  4. Pin (scripts/setup/write_env_local.sh) — writes references/env.local.sh into both signoff-loop and def-graph from the resolved paths, so the flow skills find a conda / /proj toolchain with no manual edit. It pins only what autodetect would miss (e.g. omits openroad/yosys already under $ORFS_ROOT/tools/install) and adds R2G_GRAPH_PYTHON.
  5. Verify — runs scripts/flow/check_env.sh (ORFS + required + optional + graph stage + platforms) and reports the same table the README documents.

Read the full file on GitHub · 117 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. 12d ago First seen · 117 lines · 179 tokens per session scan B 6e89c6db333a

Subscribe to this mod's changes

eda-install is a skill published in the GitHub repository ShenShan123/r2g-skills (42 stars, last pushed today), licensed MIT. It adds 179 tokens to every session and 2,308 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

jetson-diagnostic

Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.

NVIDIA/skills · 30 tokens

doca-socket-relay

Use this skill when the operator is driving the DOCA Socket Relay to bridge a socket-oriented host application onto a BlueField DPU peer without rewriting it — picking the deployment shape (in-process, sidecar, or BlueField service container), configuring the host-side socket and the DPU-side forwarding endpoint…

NVIDIA/skills · 236 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

hsb-flash

Flash the FPGA on an HSB board connected to an NVIDIA devkit. Supports HSB Lattice boards (FPGA versions 2407, 2412, 2507, 2510) and Leopard Imaging VB1940 "all-in-one" cameras (FPGA versions 2507, 2510). Uses release-specific YAML manifests and board-type-specific program commands. Lattice and VB1940 commands must…

NVIDIA/skills · 94 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens