Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/zhaixin244-wq/fnwnpx agentmods add skills/zhaixin244-wq/fnw/chip-impl-quality-gateWrote 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-impl-quality-gate)<a href="https://agentmods.dev/skills/zhaixin244-wq/fnw/chip-impl-quality-gate"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-impl-quality-gate/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-impl-quality-gate"><img src="https://agentmods.dev/badge/skills/zhaixin244-wq/fnw/chip-impl-quality-gate.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.00076 | $0.01951 |
| Opus 5 | $0.00038 | $0.00975 |
| Sonnet 5 | $0.00015 | $0.00390 |
| Haiku 4.5 | $0.00008 | $0.00195 |
Grade A, and why
chip-impl-quality-gate 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 12d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
质量门禁 Skill
任务
执行 Lint 和综合检查,不通过时自动进入自愈循环修复。
强制门禁声明
铁律:Lint 和综合检查是 RTL 交付的强制前置条件,不可跳过、不可降级。
| 门禁 | 强制级别 | 通过标准 | 失败行为 |
|---|---|---|---|
| Lint | MUST | lint_summary.log ALL PASS |
进入自愈循环修复 |
| 综合 | MUST | synth_summary.log ALL PASS + 面积差异 <50% |
进入自愈循环优化 |
输入
rtl_files: RTL 文件列表sdc_file: SDC 约束文件work_dir: 工作目录路径
执行步骤
-
文件发现:用
Glob搜索{module}_work/ds/rtl/*.v获取 RTL 文件列表。若文件不存在,暂停并提示用户。同时验证 lint/synth 脚本({module}_work/ds/run/run_lint.sh、{module}_work/ds/run/run_synth.sh)存在 -
环境检测:检查工具可用性,缺失时提示安装:
# 检查 iverilog
command -v .claude/tools/oss-cad-suite/bin/iverilog >/dev/null 2>&1 || \
command -v iverilog >/dev/null 2>&1 || \
{ echo "[ENV-MISSING] iverilog not found. Install oss-cad-suite or add to PATH."; exit 1; }
# 检查 yosys
command -v .claude/tools/oss-cad-suite/bin/yosys >/dev/null 2>&1 || \
command -v yosys >/dev/null 2>&1 || \
{ echo "[ENV-MISSING] yosys not found. Install oss-cad-suite or add to PATH."; exit 1; }
工具路径优先级:项目本地 .claude/tools/oss-cad-suite/bin/ > 系统 PATH。
检测失败 → 暂停,标注 [ENV-MISSING],提示用户安装。
-
Lint 检查:
cd {module}_work && bash ds/run/run_lint.sh {top} rtl/*.v读取
ds/report/lint/lint_summary.log:- ALL PASS → 进入步骤 2
- HAS FAILURES → 进入 Lint 修复
-
综合检查:
cd {module}_work && bash ds/run/run_synth.sh {top} rtl/*.v
读取 ds/report/syn/synth_summary.log:
- ALL PASS + 面积差异 <50% → 门禁通过
- 面积差异 >50% → 暂停确认
- HAS FAILURES → 进入综合优化
自愈循环
Lint → ALL PASS? → Synthesis → ALL PASS? → 通过
↓ No ↓ No
Lint 分析 Synth 分析
↓ ↓
修复 RTL 优化 RTL
↓ ↓
重跑 Lint 重跑 Synth
Lint 修复规则
Critical(必须修复):
| 错误类型 | 识别特征 | 修复规则 |
|---|---|---|
| 语法 error | 1_iverilog.log 中 error 行 |
补分号/修正端口声明 |
| 组合环路 | 2_yosys_lint.log 中 combinational loop |
插入时序寄存器打断 |
| 多驱动 | 2_yosys_lint.log 中 multiple driver |
合并到单个 always 块 |
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.
- 12d ago First seen · 166 lines · 76 tokens per session scan A 6a423cafd529
chip-impl-quality-gate is a skill published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It adds 76 tokens to every session and 1,951 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-08-30.
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.