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.5 | $0.00000 | $0.00122 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (31 stars, last pushed 5mo 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.
rtl-lint compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rtl-lintzhaixin244-wq/fnw | Command | 31 | 5mo ago | MIT | A | 0 | Claude Code |
| ee-reviewrjwalters/kicad-tools | Command | 73 | yesterday | MIT | A | 33 | Claude Code |
| gpuGenerous-Corp/pulp | Command | 22 | yesterday | MIT | A | 20 | Claude Code |
| cortex-mHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 28d ago | MIT | A | 25 | Claude Code |
| debug-embeddedHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 28d ago | MIT | A | 27 | Claude Code |
| debugjzl-maker/EA-SKILL | Command | 10 | 17d ago | MIT | A | 0 | Claude Code |
| lajzl-maker/EA-SKILL | Command | 10 | 17d ago | MIT | A | 0 | Claude Code |