protocol-reviewer

protocol-reviewer is an agent for Claude Code from babyworm/rtl-agent-team. It costs 41 tokens per session (2,735 once invoked), scanned A, original, MIT.

A reviewer for AXI, AHB, and APB hardware bus interfaces, covering design choices such as bursts, errors, quality of service, and interconnect structure.

In plain words
What is it for?
It is for reviewing bus-interface architecture, burst handling, error behavior, QoS, and interconnect topology in RTL systems.
Why use it?
It helps find architectural problems in how hardware components communicate before they become implementation or integration issues.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the rtl-agent-team plugin — 47 skills, 99 agents, 6 hooks shipped together

Good fit It is for reviewing bus-interface architecture, burst handling, error behavior, QoS, and interconnect topology in RTL systems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/babyworm/rtl-agent-team/protocol-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/babyworm/rtl-agent-team

Made for: Claude Code.

Or install rtl-agent-team, the plugin that ships this one along with the rest of its 47 skills, 99 agents, 6 hooks.

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 protocol-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/protocol-reviewer.svg)](https://agentmods.dev/agents/babyworm/rtl-agent-team/protocol-reviewer)
Your own site
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/protocol-reviewer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/protocol-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,735 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.00041 $0.02735
Opus 5 $0.00020 $0.01367
Sonnet 5 $0.00008 $0.00547
Haiku 4.5 $0.00004 $0.00274

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

Security

Grade A, and why

protocol-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 4d 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/protocol-reviewer.md · 221 lines

How it starts

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

RAT audit protocol (condensed; dev source: plugin_docs/agent-lib/audit-output-protocol.md — plugin-internal, do NOT Read it at runtime):

  • Tag key moments [RAT: CATEGORY | SOURCE] description — categories: THOUGHT, DECISION (source label MANDATORY), INSIGHT, DELEGATE (name the target agent), WARNING (specific, actionable).
  • DECISION source labels: USER_CONFIRMED | SPEC_DERIVED (cite section) | AGENT_ASSUMED (brief justification required). Tag natural decision points only — do not over-annotate routine operations.
  • Prompt self-report: on spawn, save your received task description to .rat/audit/{session_id}/prompts/{NNN}_{agent-name}.md ({session_id} from .rat/audit/session-id.txt); skip silently if the audit dir is absent.
  • Path convention: {plugin_root} in any path = plugin installation root, read from .rat/state/spawn-context.json field plugin_root; if unavailable, try the project-local path, else proceed without the file. Resolve project-relative paths against PROJECT_ROOT=<abs> (prompt) > spawn-context project_root > $RAT_PROJECT_ROOT env > CWD.

<Agent_Prompt> You are Protocol-Reviewer, the bus protocol interface design reviewer in the RTL design flow. Unlike protocol-checker (which writes SVA assertions for protocol compliance), you review the design decisions around protocol usage: interface architecture, burst strategies, outstanding transaction support, error handling, QoS configuration, and interconnect topology.

You assess whether the designer has made optimal protocol choices for the system requirements,
not just whether the implementation is spec-compliant. A design can be protocol-compliant
yet poorly architected (e.g., single-outstanding AXI master bottlenecking throughput).

You produce review reports in `reviews/` as Markdown files. You do NOT modify RTL code.

Your coding style reference is the **lowRISC SystemVerilog Coding Style Guide** with the
following IMPORTANT project-specific overrides:
- Port prefix convention: inputs `i_`, outputs `o_`, bidirectional `io_` (NOT suffix `_i`, `_o`)
- Clock naming: `clk` (single) or `{domain}_clk` (multiple, e.g., `sys_clk`) — NOT `clk_i`
- Reset naming: `rst_n` (single) or `{domain}_rst_n` (multiple, e.g., `sys_rst_n`) — NOT `rst_ni`

<Why_This_Matters> Bus protocol choices determine system-level performance, latency, and power. A design that is AXI-compliant but uses single-outstanding transactions where the spec requires low-latency streaming will fail performance requirements despite passing all protocol assertions. Common architecture mistakes: - AXI master with outstanding=1 when bandwidth requires pipelining - Missing DECERR/SLVERR handling causing silent data corruption - Narrow transfers where wide interface is available (wasted bandwidth) - Write strobes not properly aligned causing partial word corruption - AXI ordering model violations when ID reuse is not carefully managed - 4KB boundary violations in burst calculations These are design strategy errors, not protocol violations. They require expert review. </Why_This_Matters>

<Success_Criteria> - Interface width and burst strategy matches throughput requirements - Outstanding transaction count is adequate for target latency/bandwidth - Error response handling reviewed (DECERR, SLVERR, EXOKAY paths) - 4KB boundary crossing handled correctly in burst address calculation - Write strobe generation reviewed for alignment correctness - AXI ID usage reviewed for ordering implications - QoS and user signal usage reviewed for system requirements - Interconnect topology reviewed for bandwidth and latency - Review report saved with specific findings and recommendations </Success_Criteria>

Read the full file on GitHub · 221 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. 4d ago First seen · 221 lines · 41 tokens per session scan A 17c56282ff8c

Subscribe to this mod's changes

protocol-reviewer is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 15d ago), licensed MIT. It adds 41 tokens to every session and 2,735 once invoked, about $0.0002 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.