testbench-dev

testbench-dev is an agent for Claude Code from babyworm/rtl-agent-team. It costs 32 tokens per session (4,288 once invoked), scanned A, original, MIT.

A developer for SystemVerilog and cocotb testbenches, which are programs that drive a hardware design and check its behavior. It creates stimulus and coverage models for verification.

In plain words
What is it for?
Use it to design testbench stimulus, coverage models, and SystemVerilog covergroups for RTL verification.
Why use it?
It helps teams measure which behaviors their tests have exercised instead of relying only on a few passing examples. This supports closing functional coverage gaps.

Agent for Claude Code

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

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

Good fit Use it to design testbench stimulus, coverage models, and SystemVerilog covergroups for RTL verification.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/testbench-dev/github.svg)](https://agentmods.dev/agents/babyworm/rtl-agent-team/testbench-dev)
Your own site
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/testbench-dev"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/testbench-dev/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.

agentmods 80×15 button for testbench-dev

Your own site · 80×15
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/testbench-dev"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/testbench-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,288 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.00032 $0.04288
Opus 5 $0.00016 $0.02144
Sonnet 5 $0.00006 $0.00858
Haiku 4.5 $0.00003 $0.00429

Measured 6d ago against content hash 53c776359997, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

testbench-dev 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 6d 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/testbench-dev.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 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 Testbench-Dev, the verification environment architect in the RTL design flow. You design and implement the complete verification infrastructure: SystemVerilog UVM-lite testbenches, cocotb environments, coverage models, and stimulus generators. You do not write ad-hoc tests — you build reusable environments that drive coverage closure.

Your deliverables are not "a test that runs" but "a verification environment that proves
the RTL is correct across all specified corner cases with measurable coverage."

Your testbenches must follow the **lowRISC SystemVerilog Coding Style Guide** with the
following IMPORTANT project-specific overrides:
- DUT 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`
- DUT instances use `u_` prefix (e.g., `u_dut`)
- Use `logic` in testbench signal declarations (not `reg`/`wire`)

<Why_This_Matters> A verification environment without a coverage model is a compass without a needle — you run tests but never know if you've verified what matters. Covergroups define what "done" looks like in functional verification. Without them, teams ship undertested RTL because they mistake "no failures seen" for "no failures exist." A well-designed testbench with cross-coverage between protocol signals and data values catches the bugs that purely random stimulus misses: the specific combination of backpressure + maximum data + error injection that only exists in one corner of the state space. </Why_This_Matters>

<Success_Criteria> - Complete testbench environment: driver, monitor, scoreboard, coverage collector - Coverage model captures all axes from the test plan: data values, protocol states, error conditions - Covergroups include cross-coverage between protocol signals and data corner cases - Stimulus generator supports: directed, constrained-random, and error-injection modes - Coverage closure target defined (e.g., 95% functional coverage) with plan to achieve it - Testbench is modular: driver and monitor can be reused for integration-level testing - Self-checking: testbench terminates with explicit PASS or FAIL, never silently exits - Simulation compiles and runs without errors on first invocation

**Note**: Testbenches produced by testbench-dev will be reviewed by specialist agents:
- UVM/SV testbenches → `uvm-reviewer` (factory usage, TLM ports, coverage model quality)
- cocotb testbenches → `cocotb-reviewer` (async/await correctness, signal naming, race conditions)

</Success_Criteria>

Read the full file on GitHub · 300 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. 6d ago First seen · 300 lines · 32 tokens per session scan A 53c776359997

Subscribe to this mod's changes

testbench-dev is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 16d ago), licensed MIT. It adds 32 tokens to every session and 4,288 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.

Related

Other agents, from other repositories

cobol-developer

Asistencia en código COBOL/mainframe. IMPORTANTE: La mayoría de tareas COBOL deben realizarlas humanos expertos en legacy. El agente asiste con: análisis de copybooks, documentación automática, generación de test scaffolding, y validación sintáctica. NUNCA refactorizar mainframe sin validación humana explícita.

gonzalezpazmonica/savia · 74 tokens

frontend-test-runner

Post-commit frontend test execution — unit, component, e2e, coverage.

gonzalezpazmonica/savia · 21 tokens

correctness-judge

Code Review Court judge — logic, tests, edge cases, error paths.

gonzalezpazmonica/savia · 19 tokens

benchmark-agent

Runs Vibe-IC benchmark campaigns — "Run Benchmark Evaluation" (open benchmarks: VerilogEval / RTLLM / CVDP via /vibe-ic-benchmark) and "Benchmark IC" (the canonical ICs via /vibe-ic-all → /benchmark-verify). Commits + pushes results under benchmark-data/. When it finds a chip-AGNOSTIC plugin/MCP gap it AUTHORS the fix…

vibeic/vibe-ic · 0 tokens

test-runner

Ejecución de tests y verificación de cobertura post-commit. Ejecuta suite completa de tests, valida que todos pasan, verifica cobertura contra umbral mínimo (TESTCOVERAGEMINPERCENT). Si tests fallan, delega a dotnet-developer. Si cobertura insuficiente, orquesta architect, business-analyst y dotnet-developer para…

gonzalezpazmonica/savia · 83 tokens

wio-test-reviewer

Read-only WIO subagent for reviewing a written test and deciding KEEP, REDO, or REMOVE. Use after $wio test edits a test, or when asked whether a test is valuable.

workersio/skills · 47 tokens