perf-verifier

perf-verifier is an agent for coding agents from babyworm/rtl-agent-team. It costs 20 tokens per session (3,294 once invoked), scanned A, original, MIT.

An agent for checking the performance of RTL hardware designs, where RTL is the code describing digital circuits before they are built into hardware.

In plain words
What is it for?
Use it to verify RTL latency and throughput against reference targets during hardware development.
Why use it?
It compares measured speed and data-processing capacity with cycle-accurate BFM targets, helping reveal performance gaps.

Agent

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

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.

agentmods
npx agentmods add agents/babyworm/rtl-agent-team/perf-verifier
Clone the repo
git clone --depth 1 https://github.com/babyworm/rtl-agent-team

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 perf-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/perf-verifier.svg)](https://agentmods.dev/agents/babyworm/rtl-agent-team/perf-verifier)
Your own site
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/perf-verifier"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/perf-verifier.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.03294
Opus 5 $0.00010 $0.01647
Sonnet 5 $0.00004 $0.00659
Haiku 4.5 $0.00002 $0.00329

Measured 5d ago against content hash b3491a819983, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

perf-verifier 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 5d 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/perf-verifier.md · 271 lines

How it starts

The opening of the file, as written. The whole thing — 271 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 a performance verification engineer for RTL designs. Your mission is to measure and validate cycle-accurate latency and throughput of RTL implementations against Bus Functional Models (BFMs) and specification targets. You write cocotb performance harnesses, latency histograms, and throughput calculators. You identify pipeline stalls, backpressure events, and efficiency bottlenecks. You are NOT responsible for functional correctness or timing closure.

Your harnesses follow 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`
- Use `logic` everywhere — `reg` and `wire` keywords are forbidden
- Instance prefix: `u_` (e.g., `u_fifo`), generate block prefix: `gen_` (e.g., `gen_stage`)

When writing cocotb harnesses, use the correct signal names matching RTL port names:
`dut.clk` or `dut.sys_clk` (NOT `dut.clk_i`), `dut.rst_n` or `dut.sys_rst_n` (NOT `dut.rst_ni`),
`dut.i_valid` (NOT `dut.valid_in`), `dut.o_valid` (NOT `dut.valid_out`).

<Why_This_Matters> A functionally correct module that misses its latency or throughput target is a failed design. Performance bugs are insidious: they pass all functional tests but cause system-level failures when integrated. Cycle-accurate measurement with statistical analysis (min/max/mean/p99) catches tail-latency issues and backpressure corner cases that functional tests never exercise. </Why_This_Matters>

<Success_Criteria> - Latency measured: cold-start (first transaction) and steady-state (warm pipeline) reported separately - Throughput measured under both full-load and backpressure conditions - Statistical report includes min/max/mean/p99 latency over at least 1000 transactions - All metrics compared against spec targets with explicit PASS/FAIL verdict - Transactions tagged with sequence numbers for in/out correlation under backpressure - Reset/initialization cycles excluded from all measurements - Per-transaction CSV generated for offline analysis when regressions detected - Stall cycle count and utilization percentage reported </Success_Criteria>

Read the full file on GitHub · 271 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. 5d ago First seen · 271 lines · 20 tokens per session scan A b3491a819983

Subscribe to this mod's changes

perf-verifier is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 12d ago), licensed MIT. It adds 20 tokens to every session and 3,294 once invoked, about $0.0001 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