Logo di Eda Install

Eda Install

Community
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.

Panoramica

Pubblicato daShenShan123
Repositoryr2g-skills
Nome della skilleda-install
Stelle
44
Fork
1
File inclusi
27
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 27

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da ShenShan123 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Eda Install in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/ShenShan123/r2g-skills/tree/main/r2g-skills/eda-install
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Eda Install in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Eda Install non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Eda Install non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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...

Perché usare Eda Install su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Eda Install è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Eda Install in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/ShenShan123/r2g-skills/tree/main/r2g-skills/eda-install. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Eda Install?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Eda Install?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Eda Install: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Eda Install è gratuita?

Sì. È pubblicata su GitHub da ShenShan123 con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇