跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
开发与测试

R2g Skills

Claude Code skill for automated RTL-to-GDS flow using open-source EDA tools.

ShenShan123 · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add ShenShan123/r2g-skills

技能说明

agent-r2g

A Claude Code skill that drives an open-source RTL-to-GDS flow — from natural-language spec (or existing RTL) through synthesis, place-and-route, and full signoff (DRC, LVS, RCX) — using Yosys, OpenROAD-flow-scripts, KLayout, and OpenRCX.

Install the r2g-skills skills (eda-install to set up the toolchain, rtl-acquire to grow an RTL corpus at scale, signoff-loop for RTL→GDS + signoff, def-graph for graph datasets), then ask Claude: "set up the EDA tools" followed by "synthesize this UART at 100 MHz on nangate45" — it handles everything from provisioning to GDSII. Recent changes: see CHANGELOG.md.


Prerequisites

ToolRequiredPurpose
Python 3.10+yesskill scripts
Yosysyessynthesis
iverilog / vvpyessimulation
OpenROAD + ORFSyesplace & route, RCX
Verilatoroptionalfaster lint
KLayoutoptionalGDS viewer, DRC, LVS
Magic + Netgenoptionalsky130 DRC / LVS
OpenSTAoptionalstandalone STA
sky130A PDKoptionalsky130 signoff
torch + torch_geometric + pandasoptionalPyG graph datasets (run_graphs.sh; venv on /proj, R2G_GRAPH_PYTHON)

Install the skill

git clone https://github.com/ShenShan123/agent-r2g.git
cd agent-r2g
bash r2g-skills/install.sh --user   # installs eda-install + rtl-acquire + signoff-loop + def-graph into ~/.claude/skills/

Restart Claude Code (or run /reload) after install.

Other options:

bash r2g-skills/install.sh --user            # global — available in every Claude Code session (default)
bash r2g-skills/install.sh --project .       # local  — scoped to the current project directory
bash r2g-skills/install.sh --link --user     # symlink — edits are picked up without reinstalling
bash r2g-skills/install.sh --force --user    # overwrite an existing install
bash r2g-skills/install.sh --uninstall       # remove all sub-skills

**Installing