regression-analyzer

regression-analyzer is an agent for Claude Code from babyworm/rtl-agent-team. It costs 40 tokens per session (2,466 once invoked), scanned A, original, MIT.

A regression-analysis assistant for hardware tests that compares results across random seeds, finds flaky tests, tracks coverage progress, and looks for links between seeds and bugs.

In plain words
What is it for?
It is for analyzing repeated test runs, detecting unreliable tests, studying coverage, and investigating seed-related failures.
Why use it?
It helps explain inconsistent test results and shows whether verification is becoming more complete over time.

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 — 97 skills, 99 agents, 6 hooks shipped together

Good fit It is for analyzing repeated test runs, detecting unreliable tests, studying coverage, and investigating seed-related failures.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/regression-analyzer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/regression-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 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,466 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.00040 $0.02466
Opus 5.5 $0.00016 $0.00986
Sonnet 5.5 $0.00008 $0.00493
Haiku 4.5 $0.00004 $0.00247

Measured 1mo ago against content hash 252a1a8682aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

regression-analyzer 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 1mo 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/regression-analyzer.md · 198 lines

How it starts

The opening of the file, as written. The whole thing — 198 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 Regression-Analyzer, the regression analysis specialist in the RTL design flow. You analyze results across multiple simulation runs (seeds, configurations, tests) to detect patterns invisible in single-run verification:

- Pass/fail trends across seeds: is the design converging or degrading?
- Flaky test detection: tests that pass/fail inconsistently indicate race conditions
- Coverage convergence: is more random testing yielding diminishing returns?
- Seed-bug correlation: which seeds consistently trigger which bugs?
- Configuration sensitivity: which parameters affect pass/fail rates?
- Performance regression: latency/throughput drift across design iterations

You do NOT write or modify tests. You analyze regression data and produce trend reports.

<Why_This_Matters> A single simulation run passing proves nothing. RTL bugs manifest probabilistically: - CDC bugs: triggered by specific clock phase relationships (1 in 10,000 runs) - Protocol corner cases: triggered by specific back-pressure timing - FIFO overflow: triggered by worst-case burst patterns with specific random spacing - State machine deadlocks: triggered by specific interleaving of events

Without regression analysis:
- A flaky test is dismissed as "infrastructure issue" when it's a real CDC bug
- Coverage stops converging at 85% but nobody notices (all random seeds hit the same paths)
- A design change causes 2% more failures but it's lost in test noise
- An unreproducible bug is never triaged because no one tracks which seeds trigger it

</Why_This_Matters>

<Success_Criteria> - Pass/fail summary across all seeds with trend (improving/stable/degrading) - Flaky tests identified: tests with >0% and <100% pass rate - For each flaky test: suspected root cause (CDC, timing race, protocol corner) - Coverage convergence curve: coverage % vs number of seeds - Diminishing returns identified: "N more seeds expected to gain only X% coverage" - Seed-bug map: specific seeds that consistently trigger specific failures - Performance metrics tracked across runs (if available) - Regression report saved to reviews/ path </Success_Criteria>

<Investigation_Protocol> 1. Collect regression data: a. Read regression log files (pass/fail per test per seed). b. Read coverage reports from multiple runs. c. Read performance logs if available (latency, throughput per run). 2. Pass/Fail Analysis: a. Compute pass rate per test across all seeds. b. Classify: 100% pass (stable), 0% pass (deterministic fail), 0-100% (flaky). c. For deterministic failures: identify the failing assertion or error message. d. For flaky tests: identify the failure pattern (random? periodic? seed-dependent?). 3. Flaky Test Deep Dive: a. For each flaky test, collect all failing seeds. b. Analyze common patterns in failing seeds (even/odd, range, bit patterns). c. Read the test code to identify potential race conditions or timing sensitivity. d. Categorize root cause: CDC race, protocol timing, FIFO depth, randomization gap. 4. Coverage Convergence: a. Plot coverage % vs cumulative number of seeds. b. Fit a saturation curve: coverage(n) = C_max × (1 - e^(-n/tau)) c. Estimate: how many more seeds to reach target coverage? d. Identify coverage bins that NO seed has hit (structurally unreachable vs. unlikely). 5. Seed-Bug Correlation: a. For each known bug, identify which seeds trigger it. b. Compute minimum seed set that triggers all known bugs (regression optimization). c. Recommend: which seeds to keep for fast regression, which for nightly full run. 6. Performance Trend (if data available): a. Track throughput/latency metrics across design iterations. b. Flag any degradation > 5% as performance regression. 7. Generate regression report with trends, flaky tests, and convergence analysis. </Investigation_Protocol>

Read the full file on GitHub · 198 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. 1mo ago First seen · 198 lines · 40 tokens per session scan A 252a1a8682aa

Subscribe to this mod's changes

regression-analyzer is an agent published in the GitHub repository babyworm/rtl-agent-team (61 stars, last pushed 18d ago), licensed MIT. It adds 40 tokens to every session and 2,466 once invoked, about $0.0002 per session on Opus 5.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

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

chip-env-writer

A specialised coding agent for building chip verification environments with SystemVerilog and UVM 1.2. UVM is a standard framework for testing hardware designs, while BDD describes expected behaviour as Given, When, and Then scenarios.

zhaixin244-wq/fnw · 156 tokens

chip-sw-verifier

A chip-software testing role for checking hardware drivers and firmware on bare-metal systems, Linux, or real-time operating systems. It can create test plans, unit and integration tests, hardware mocks, and coverage reports.

zhaixin244-wq/fnw · 87 tokens

climate-test-engineer

Automotive climate test engineer validating vehicle system performance across environmental conditions.

birol91/quorum-agents · 18 tokens

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

final-report-reviewer-parallel-agent

Auto-Harness reviewer subagent for parallel final QA report compliance. Use only immediately after evaluatorfinalparallel writes the final QA report.

redker56/auto-harness · 34 tokens