一键导入
initialize
Detect local toolchain versions and write .chipagent/env.json with capability flags. Updates CLAUDE.md Tech Stack table with detected versions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect local toolchain versions and write .chipagent/env.json with capability flags. Updates CLAUDE.md Tech Stack table with detected versions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run full Chipyard-to-ORFS PnR flow for large designs (SmallBOOM etc.) using All-Mock memory blackboxing in Docker: generate RTL, preprocess nosram, run multi-round ORFS synth->finish with mock SRAMs to avoid OOM.
Docker Chipyard flow: generate RTL from a Chipyard config via Docker, run SRAM mapping, stage artifacts into MyDesign, and hand off to PnR.
Run full Chipyard-to-ORFS PnR flow with multi-round parameter iteration in Docker: generate RTL from Chipyard Docker, preprocess nosram+SRAM override, run 3 rounds of ORFS synth→finish on sky130hd with progressive clock/utilization/density tuning for optimal PPA.
Run full Chipyard-to-ORFS PnR flow with multi-round parameter iteration: generate RTL from Chipyard with ENABLE_YOSYS_FLOW, preprocess nosram+SRAM override, run 3 rounds of ORFS synth→finish on sky130hd with progressive clock/utilization/density tuning for optimal PPA.
Unified Chipyard PnR flow: automatically routes to local or Docker workflow based on backend_mode setting.
Unified Chipyard flow: automatically routes to local or Docker workflow based on backend_mode setting.
| name | initialize |
| description | Detect local toolchain versions and write .chipagent/env.json with capability flags. Updates CLAUDE.md Tech Stack table with detected versions. |
| disable-model-invocation | true |
| allowed-tools | ["Bash","Read","Write","Edit"] |
Detect the local toolchain environment and report which ChipAgent capabilities are available on this machine.
/chip-agent:initialize
Determine the project root directory by finding the nearest ancestor directory of this skill file that contains .claude. Use that directory as the base for all paths below.
Run the environment detection script via Bash:
<project-root>/scripts/detect-env.sh
This script detects installed versions of Java, sbt, Scala, Verilator, Make, g++, Yosys, OpenROAD, and KLayout, detects the sky130hd PDK, ORFS installation, Docker availability, Chipyard installation, and RISCV toolchain, computes capability flags, and writes the results to .chipagent/env.json. The script output includes a human-readable summary.
Read the detection results using the Read tool:
<project-root>/.chipagent/env.json
Parse the JSON to extract tool versions and capability flags.
Update the CLAUDE.md Tech Stack table using the Edit tool. Update ONLY these rows with detected versions:
build.sbt regardless of the system Scala version -- add a note if they differ.If a tool is not installed, leave the row unchanged (keep the existing placeholder version). Do NOT modify the Chisel, FIRRTL, or Claude Code Plugin rows -- those versions are pinned in project configuration files.
Present a summary to the user showing:
apt install default-jdk or download from https://adoptium.net)apt install verilatorapt install make or Xcode Command Line Toolsapt install g++ or Xcode Command Line Toolsapt install yosysapt install openroadapt install klayoutscripts/setup-tools.sh or set RISCV env var to toolchain pathbuild.sbt (2.13.10) is independent of the system Scala version$ARGUMENTS -- none expected. This command takes no arguments.
.chipagent/env.json -- Machine-readable environment detection results (tools, PDK, Chipyard, RISCV, capabilities)