Logo: Eda Install

Eda Install

Communautéit
ShenShan123
eda-install

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, OpenSTA, the sky130A PDK, and the torch+torch_geometric graph venv. Use when setting up a new machine, when `check_env.sh` reports missing tools, when the user asks to install/bootstrap/provision the EDA tools or "set up the environment", or when a flow fails because a tool or PDK is absent. Without root it automatically installs a no-sudo path (the pinned r2g openroad+yosys bundle, conda litex-hub for the other tools, and a venv — all on a big volume). Produces references/env.local.sh so a bootstrapped toolchain is auto-discovered by the flow skills.

Iwwersiicht

EditeurShenShan123
Repositoryr2g-skills
Skill-Nummeda-install
Stären
44
Forks
1
Matgeliwwert Dateien
27
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 27 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    ShenShan123 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Eda Install an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/ShenShan123/r2g-skills/tree/main/r2g-skills/eda-install
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShenShan123/r2g-skills.git /tmp/r2g-skills
mkdir -p .claude/skills
cp -r /tmp/r2g-skills/r2g-skills/eda-install .claude/skills/eda-install
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Eda Install an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Eda Install automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Eda Install net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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
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. Plan — bootstrap.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.

The channel is chosen for you: no-sudo is the default

Detection runs sudo -n true. Without root (HAVE_SUDO=0 — the common case on shared servers) every tier routes through pre-built conda litex-hub packages + a venv, all under the big volume:

Tool(s)No-sudo channel
openroad, yosys (+ sta), klayoutthe r2g toolchain bundle — the exact OpenROAD/Yosys build (sha256-identical) and KLayout 0.30.7 of the signoff image r2g-orfs:26Q3 every r2g corpus was run in, relocatable, ~220 MB, a GitHub release asset pinned by URL + sha256 in references/toolchain_bundle.json (built by scripts/setup/make_toolchain_bundle.sh); needs host glibc ≥ 2.35. Not conda: litex-hub froze openroad/yosys in Feb 2024 (yosys 0.38) and conda-forge has no openroad, so conda binaries + a current ORFS cannot synthesize (fresh-user test, 2026-10-23)
iverilog, verilator, magic, netgenconda litex-hub (all --override-channels -c litex-hub -c conda-forge — the ToS-gate workaround)
ORFS flow + platformsshallow fetch of the commit the bundle was validated with (no submodules, no build); a read-only system checkout never counts as installed
sky130A PDKconda open_pdks.sky130a → the big volume (never volare — proxy/rate-limit caveat)
torch / torch_geometric / pandaspython3 -m venv + pip (CPU wheels)

"No sudo" means download pre-built binaries into a user-writable prefix — not compile in userspace. With root, core/frontend may instead build ORFS from source (--yes-gated, ~30 min); every other tier is already root-free. What cannot be self-healed (conda/network blocked, no ≥15 GB volume, a GLIBC older than the bundle's floor — use --build) escalates with a clear HINT — never a silent failure.

Flags

FlagEffect
--dry-runDetect + plan only; install nothing. Always run this first.
--yes / -yNon-interactive; accept the plan (incl. --yes-gated heavy tiers).
--prefix DIRBig-volume root for the conda install, PDK, and torch venv.
--tiers a,b,cAct only on a subset (core,frontend,sky130,klayout,pdk,graph).
--graph-python PPin an existing torch venv (R2G_GRAPH_PYTHON) instead of building one.
--plan-from FILEPlan against a saved detect dump (review / tests) — implies --dry-run.
--deploy [--link]After provisioning, run install.sh to deploy the skills (--link recommended).

Invariants (honesty layer)

  • scripts/flow/_env.sh is byte-identical across all three skills (md5 a5ac873e…) — the same resolver the flow scripts use; edit every copy together.
  • Detection is read-only and total — it emits every key (empty == absent) and never exits non-zero for a missing tool.
  • The pin file is idempotent — regenerating env.local.sh writes only what autodetect misses, so it never fights _env.sh.
  • --dry-run and --plan-from install nothing — the plan is always previewable before any action.

References

  • references/setup.md — tiers, the no-sudo path in depth, and troubleshooting.
  • docs/superpowers/plans/r2g-skills-bootstrap-2026-07-08.md — full design + rationale.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Eda Install?

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, OpenSTA, the sky130A PDK, and the torch+torch_geometric graph venv. Use when setting up a new machine, when `check_env.sh` reports missing tools, when the user asks to install/bootstrap/provision the EDA tools or "set up the environment", or when a flow fails because a tool or PDK is absent. Without root it automatically installs a no-sudo path (the pinned r2g openroad+yosys bundle, conda...

Firwat Eda Install op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Eda Install besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Eda Install an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ShenShan123/r2g-skills/tree/main/r2g-skills/eda-install an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Eda Install benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Eda Install benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Eda Install domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Eda Install gratis?

Jo. ShenShan123 huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇