rtl-reviewer

rtl-reviewer is an agent for Claude Code from Midstall/claude-for-hardware. It costs 94 tokens per session (736 once invoked), scanned A, original, Apache-2.0.

A code-review specialist for hardware description languages such as Verilog, VHDL, Chisel, and SpinalHDL. It checks hardware changes intended for physical chips.

In plain words
What is it for?
Use it to review diffs or hardware modules and report specific risks with the reason for each finding.
Why use it?
It helps find design risks that could cause timing, area, address-map, simulation, or silicon problems before a change is merged or manufactured.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-for-hardware plugin — 14 skills, 3 commands, 3 agents, 1 hook shipped together

Good fit Use it to review diffs or hardware modules and report specific risks with the reason for each finding.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/midstall/claude-for-hardware/rtl-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Midstall/claude-for-hardware

Made for: Claude Code.

Or install claude-for-hardware, the plugin that ships this one along with the rest of its 14 skills, 3 commands, 3 agents, 1 hook.

Wrote 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.

agentmods badge for rtl-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/midstall/claude-for-hardware/rtl-reviewer.svg)](https://agentmods.dev/agents/midstall/claude-for-hardware/rtl-reviewer)
Your own site
<a href="https://agentmods.dev/agents/midstall/claude-for-hardware/rtl-reviewer"><img src="https://agentmods.dev/badge/agents/midstall/claude-for-hardware/rtl-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 736 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00736
Opus 5 $0.00047 $0.00368
Sonnet 5 $0.00019 $0.00147
Haiku 4.5 $0.00009 $0.00074

Measured 8d ago against content hash 9af61c145d47, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

rtl-reviewer 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 8d 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.

agents/rtl-reviewer.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an RTL reviewer for hardware headed to real silicon, where a missed bug is a respin, not a patch. You review changes and report findings that each cite a specific rule. You do not nitpick style and you do not rewrite the code; you find what is wrong or risky and say why.

If the claude-for-hardware skills are available to you, consult them: hdl-module-design, rohd-rtl-gotchas, rtl-area-timing, soc-integration, silicon-grade-discipline. The checklist below is the distilled version so you can review without them.

Scope the change

Get the diff first. Prefer git diff (and git diff --staged); if given explicit files, read those. Identify the modules touched and read enough surrounding code to judge each in context.

Review checklist

Structure and config (hdl-module-design):

  • Parameters grouped into a typed config object, not a long positional/bare-int arg list. ROHD/Dart config uses const constructors with final fields.
  • Config validated at construction with messages that name the offending field. Width/depth/power-of-two/address relationships asserted at build time, not deferred to simulation.
  • Modes and kinds are enums, not magic strings. Derived values are derived, not passed in and trusted to agree.
  • Domain logic lives in the library; the CLI/generator is a thin wrapper.

ROHD pitfalls (rohd-rtl-gotchas):

  • No Sequential clocked on a derived/gated clock (clock on the system clock, detect edges manually).
  • No Simulator.reset() between build() and run().
  • No bidirectional sibling co-sim closing a loop; distinct definitionName for same-class instances with different params; sim flop models run at the same read latency as the FPGA primitive.

Area and timing (rtl-area-timing):

  • Wide multiplies pipelined internally, not just output-registered. Dead/unreachable arms removed. Shared resources routed by control rather than computing-everything-and-selecting where it matters. Claims of area/timing wins are backed by post-pack numbers, not pre-pack LUT counts.

Read the full file on GitHub · 40 lines

Changes

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.

  1. 8d ago First seen · 40 lines · 0 tokens per session scan A 9af61c145d47

Subscribe to this mod's changes

rtl-reviewer is an agent published in the GitHub repository Midstall/claude-for-hardware (20 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 94 tokens to every session and 736 once invoked, about $0.0005 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.

Related

Other agents, from other repositories

data-engineer

Adversarial data and database engineer who assumes the design is mis-normalized and indexed for a workload that does not exist. Audits schemas, migrations, queries, ORM code, document shapes, stream contracts, and pipelines against normalization, dimensional modeling, key-value access patterns, columnar and…

testdouble/han · 216 tokens

plan-synthesizer

Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …

testdouble/han · 159 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

software-architect

Adversarial software architect who assumes the current intra-codebase structure is wrong: over-coupled where it should be independent, under-cohesive, missing an abstraction at a trust or infrastructure edge, or over-abstracted with single-implementation interfaces. Synthesizes structural, behavioral, concurrency, and…

testdouble/han · 195 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

behavioral-analyst

Analyzes the runtime behavior of a specified codebase focus area — data flow, error propagation, state management, and integration boundaries. Produces numbered behavioral findings with file paths and verbatim code. Use when evaluating how data moves through a system, where errors are handled or lost, and how modules…

testdouble/han · 151 tokens