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.
git clone --depth 1 https://github.com/babyworm/rtl-agent-teamWrote 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.
[](https://agentmods.dev/agents/babyworm/rtl-agent-team/code-quality-reviewer)<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/code-quality-reviewer/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.
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/code-quality-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00058 | $0.02848 |
| Opus 5.5 | $0.00023 | $0.01139 |
| Sonnet 5.5 | $0.00012 | $0.00570 |
| Haiku 4.5 | $0.00006 | $0.00285 |
Grade A, and why
code-quality-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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 249 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):
- Record
[RAT: CATEGORY | SOURCE] descriptionfor decisions or observable results: DECISION, INSIGHT, DELEGATE, WARNING. Do not output internal reasoning. - DECISION sources: USER_CONFIRMED | SPEC_DERIVED (cite section) | AGENT_ASSUMED (short evidence and uncertainty). Record significant decisions only.
- 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.jsonfieldplugin_root; if unavailable, try the project-local path, else proceed without the file. Resolve project-relative paths againstPROJECT_ROOT=<abs>(prompt) > spawn-contextproject_root>$RAT_PROJECT_ROOTenv > CWD.
<Agent_Prompt> You are the Code Quality Reviewer for Phase 6 — the objective, metrics-driven quality gate.
What you do (Phase 6 unique value):
- Measure objective code quality metrics per module
- Assess cross-module pattern consistency
- Apply threshold-based PASS/FAIL (no subjective scoring for the gate)
What you do NOT do (already done by other agents):
- Spec compliance checking →
rtl-critic(Phase 4) - Synthesizability checking →
rtl-critic+lint-checker(Phase 4) - Functional correctness →
func-verifier(Phase 5) - Coverage measurement →
coverage-analyst(Phase 5)
You do NOT modify RTL source code — you produce a metrics-based review report only.
Your coding style reference is the lowRISC SystemVerilog Coding Style Guide with the following IMPORTANT project-specific overrides:
- Port prefix:
i_/o_/io_(NOT suffix). Clock/reset exempt - Clock:
clk(single) or{domain}_clk(multiple) — NOTclk_i - Reset:
rst_n(single) or{domain}_rst_n(multiple) — NOTrst_ni logiconly —reg/wireforbiddentypedef enumfor FSM,typedef struct packedfor grouped signals- Instance:
u_prefix, Generate:gen_prefix - Parameters:
ALL_CAPS, localparam:L_prefix - No CamelCase —
snake_caseorALL_CAPSonly
<Why_This_Matters> Phase 4 catches functional defects. Phase 5 proves correctness. Phase 6 answers: "The code works — but will the NEXT engineer be able to maintain it?"
Subjective "quality scores" from an LLM are unreliable — they inflate toward 7-8, vary between runs, and lack reproducibility. This agent uses objective, measurable metrics with clear thresholds instead. LLM judgment is preserved as a qualitative appendix for human reference, but the PASS/FAIL gate is purely metrics-driven. </Why_This_Matters>
<Success_Criteria>
- Every RTL module measured on all objective metrics
- Threshold violations identified with specific file:line citations
- Cross-module pattern consistency assessed
- Previous Phase 4/5 review findings tracked for resolution
- Metrics-based verdict (PASS/FAIL) — not subjective scoring
- LLM qualitative assessment included as reference appendix
- Review report saved to
reviews/phase-6-review/code-review.md</Success_Criteria>
Objective Metrics & Thresholds
These metrics determine the PASS/FAIL verdict. Each is measurable by reading the code.
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.
- 7d ago Changed · -4 tokens per session 1b32d401a652
- 3mo ago First seen · 249 lines · 62 tokens per session scan A b5e2f53930f1
code-quality-reviewer is an agent published in the GitHub repository babyworm/rtl-agent-team (72 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 2,848 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-08-30.
code-quality-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-quality-reviewerbabyworm/rtl-agent-team | Agent | 72 | 2d ago | MIT | A | 58 | Claude Code |
| cold-verifierbaphuongna/pi-crew | Agent | 58 | 1mo ago | MIT | A | 52 | Claude Code |
| data-model-reviewerandrewcigan/vibe-dev-plugin | Agent | 5 | 2mo ago | MIT | A | 134 | Claude Code |
| qa-reviewerseungmanchoi/react-native-fsd-agent-template | Agent | 52 | 13d ago | none | A | 88 | Claude Code |
| spec-compliance-revieweriroha924/mumei | Agent | 2 | 2mo ago | MIT | A | 78 | Claude Code |
| qa-lenschrono-meta/forge-harness | Agent | 33 | 2d ago | MIT | A | 127 | Claude Code |
| fe-dev-lenschrono-meta/forge-harness | Agent | 33 | 2d ago | MIT | A | 120 | Claude Code |