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 commands/zhaixin244-wq/fnw/rtl-lintWrote 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/commands/zhaixin244-wq/fnw/rtl-lint)<a href="https://agentmods.dev/commands/zhaixin244-wq/fnw/rtl-lint"><img src="https://agentmods.dev/badge/commands/zhaixin244-wq/fnw/rtl-lint/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/commands/zhaixin244-wq/fnw/rtl-lint"><img src="https://agentmods.dev/badge/commands/zhaixin244-wq/fnw/rtl-lint.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.00000 | $0.00304 |
| Opus 5 | $0.00000 | $0.00152 |
| Sonnet 5 | $0.00000 | $0.00061 |
| Haiku 4.5 | $0.00000 | $0.00030 |
Grade A, and why
rtl-lint 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 11d 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.
What it actually says
RTL Lint — Verilator + Verible 双重检查
对 Verilog/SystemVerilog 文件执行综合 lint 检查。
检查内容
- Verible 语法检查 — 解析器级别的语法正确性
- Verible 风格检查 — 50+ 可配置规则(命名、格式、结构)
- Verilator 功能检查 — 功能级 lint(latch、位宽、未连接端口等)
使用方式
# 完整检查
bash .claude/shared/rtl-lint.sh {file}.v
# 检查 + 自动格式化
bash .claude/shared/rtl-lint.sh {file}.v --fix
参数
$ARGUMENTS— 要检查的 Verilog 文件路径
检查规则
| 工具 | 检查维度 | 规则文件 |
|---|---|---|
| Verible | 语法、命名、格式、结构 | .claude/tools/verible/verible-lint.rules |
| Verilator | 功能、位宽、latch、未连接端口 | 内置 -Wall |
规则定制
编辑 .claude/tools/verible/verible-lint.rules 可启用/禁用规则:
+rule-name启用-rule-name禁用
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.
- 11d ago First seen · 37 lines · 0 tokens per session scan A db598808756e
rtl-lint is a command published in the GitHub repository zhaixin244-wq/fnw (29 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 304 tokens. 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 commands, from other repositories
gpu
Diagnose GPU health, discover bounded recipes, and collect typed numeric evidence without guessing from screenshots.
debug
A command-line debugging toolkit for embedded programs using J-Link or OpenOCD, tools that connect a computer to a microcontroller for inspection.
la
A command for capturing and decoding signals with a Saleae logic analyzer, a device that records electrical digital signals over time. It supports buses such as UART, SPI, and I2C, which are common ways chips communicate with peripherals.
map
A parser for Keil compiler map files, which are build reports describing where program code and data are placed in memory. It reports object sizes, memory regions, symbols, and stack or heap details.
verify
An embedded-device verification workflow that checks a development step through building, flashing firmware, debugging with J-Link, and reading serial logs. Firmware is software that runs directly on a microcontroller or other device.
log
Analyze captured serial logs for key events.