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.
npx skills add zhaixin244-wq/fnw --skill chip-synthesis-runnergit clone --depth 1 https://github.com/zhaixin244-wq/fnwWrote 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.
[](https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-synthesis-runner)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-synthesis-runner"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-synthesis-runner/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.
<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-synthesis-runner"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-synthesis-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00073 | $0.01760 |
| Opus 5 | $0.00036 | $0.00880 |
| Sonnet 5 | $0.00015 | $0.00352 |
| Haiku 4.5 | $0.00007 | $0.00176 |
Grade A, and why
chip-synthesis-runner scanned grade A with 0 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 9d ago.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chip Synthesis Runner
任务
使用 yosys 对 RTL 代码执行综合,验证可综合性并输出面积/资源估计。使用 oss-cad-suite 工具链。
目录约定
| 项目 | 路径 |
|---|---|
| Syn 脚本 | {module}_work/ds/run/run_synth.sh |
| 报告目录 | {module}_work/ds/report/syn/ |
| oss-cad-suite | .claude/tools/oss-cad-suite/ |
工具路径
| 工具 | 路径 | 用途 |
|---|---|---|
| yosys | .claude/tools/oss-cad-suite/bin/yosys |
RTL 综合、面积估计、资源分析 |
执行步骤
- 前置条件:确认 chip-lint-checker 全部阶段通过。若未执行 Lint,暂停并提示先运行
chip-lint-checker。 - 确定输入:
- 顶层模块名
- RTL 文件列表:用
Glob搜索{module}_work/ds/rtl/*.v获取所有 RTL 文件 - 文件存在性检查:验证 RTL 文件存在,不存在则暂停并列出候选文件
- 生成脚本:在
{module}_work/ds/run/下生成run_synth.sh(脚本模板见下方) - 创建报告目录:
mkdir -p {module}_work/ds/report/syn/ - 执行:
cd {module}_work && bash ds/run/run_synth.sh {top} {rtl_files} - 解析报告:读取
ds/report/syn/下的日志文件,与微架构 §8 PPA 预估对比
run_synth.sh 脚本模板
#!/bin/bash
# 综合脚本 — 由 chip-synthesis-runner 生成
# 用法: bash run_synth.sh <top_module> <rtl_file1> [rtl_file2] ...
TOP=$1
shift
RTL_FILES="$@"
REPORT_DIR="ds/report/syn"
TOOL_DIR=".claude/tools/oss-cad-suite/bin"
mkdir -p "$REPORT_DIR"
echo "=== Phase 1: 综合验证 ==="
$TOOL_DIR/yosys -p "
read_verilog -I. $RTL_FILES;
synth -top $TOP;
stat;
check;
" 2>&1 | tee "$REPORT_DIR/1_synth_verify.log"
# 提取面积统计
grep -A 20 "Printing statistics" "$REPORT_DIR/1_synth_verify.log" > "$REPORT_DIR/1_synth_check.log" 2>/dev/null
echo "=== Phase 2: Flatten 综合 ==="
$TOOL_DIR/yosys -p "
read_verilog -I. $RTL_FILES;
synth -top $TOP;
flatten;
stat;
opt_clean -purge;
" 2>&1 | tee "$REPORT_DIR/2_synth_flat.log"
# 提取面积统计
grep -A 20 "Printing statistics" "$REPORT_DIR/2_synth_flat.log" > "$REPORT_DIR/2_area_stat.log" 2>/dev/null
# 汇总
echo "=== Synthesis Summary ===" > "$REPORT_DIR/synth_summary.log"
if grep -q "ERROR" "$REPORT_DIR/1_synth_verify.log"; then
echo "Phase 1: FAIL" >> "$REPORT_DIR/synth_summary.log"
else
echo "Phase 1: PASS" >> "$REPORT_DIR/synth_summary.log"
fi
if grep -q "ERROR" "$REPORT_DIR/2_synth_flat.log"; then
echo "Phase 2: FAIL" >> "$REPORT_DIR/synth_summary.log"
else
echo "Phase 2: PASS" >> "$REPORT_DIR/synth_summary.log"
fi
cat "$REPORT_DIR/2_area_stat.log" >> "$REPORT_DIR/synth_summary.log"
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.
- 9d ago First seen · 158 lines · 73 tokens per session scan A 72da31092c73
chip-synthesis-runner is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 73 tokens to every session and 1,760 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
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…
jetson-diagnostic
Read-only Jetson health snapshot for identity, memory, GPU, thermal, power, storage, services, and top processes.
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…
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…
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…
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.