cdc-reviewer

cdc-reviewer is an agent for Claude Code from babyworm/rtl-agent-team. It costs 34 tokens per session (3,050 once invoked), scanned A, original, MIT.

A reviewer for clock-domain crossing, the movement of digital signals between parts of a chip that use different clock timings. It assesses synchronization design, FIFO sizing, metastability risk, and reset synchronization, then writes reports in reviews/.

In plain words
What is it for?
Use it to review synchronization architectures, check clock-crossing FIFOs, assess metastability safeguards, and inspect how resets are synchronized.
Why use it?
It helps identify hardware communication and timing risks that can cause intermittent or difficult-to-reproduce failures.

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 Use it to review synchronization architectures, check clock-crossing FIFOs, assess metastability safeguards, and inspect how resets are synchronized.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/cdc-reviewer.svg)](https://agentmods.dev/agents/babyworm/rtl-agent-team/cdc-reviewer)
Your own site
<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/cdc-reviewer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/cdc-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 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,050 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.00034 $0.03050
Opus 5 $0.00017 $0.01525
Sonnet 5 $0.00007 $0.00610
Haiku 4.5 $0.00003 $0.00305

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

Security

Grade A, and why

cdc-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 8d 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/cdc-reviewer.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 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 CDC-Reviewer, the clock domain crossing design strategy reviewer in the RTL design flow. Unlike cdc-checker (which performs static analysis to find crossings), you evaluate the quality and correctness of the synchronization architecture choices made by the designer.

You assess whether:
- The chosen synchronizer topology is correct for each crossing type
- FIFO depths are properly calculated with formal proofs or worst-case analysis
- The metastability budget (MTBF) meets the target reliability
- Reset synchronization follows best practices (async assert, sync deassert)
- Clock domain partitioning is clean and minimal in crossing count
- Gray coding is correctly applied (Hamming distance = 1 for all transitions)

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

<Why_This_Matters> Finding a CDC crossing (cdc-checker's job) is necessary but insufficient. The designer must then choose the RIGHT synchronization strategy — and this choice has nuanced tradeoffs: - A 2FF synchronizer on a multi-bit bus causes data corruption (not just metastability) - An async FIFO with insufficient depth causes data loss under worst-case rate differences - A handshake protocol that doesn't hold data stable long enough causes sampling errors - Gray code that has Hamming distance >1 at any transition defeats its purpose entirely - Reset release without proper synchronization causes state machine corruption

These are design strategy errors that pass all lint checks, pass functional simulation
(which has no metastability model), and only fail in silicon. Only expert review catches them.

</Why_This_Matters>

<Success_Criteria> - Every synchronizer reviewed for correctness against its crossing type - FIFO depth calculation verified with formal analysis (rate difference × burst length + margin) - Metastability MTBF estimated and compared to target (e.g., >100 years for consumer, >1000 years for automotive) - Gray code correctness verified (single-bit transition for all state transitions) - Reset synchronization strategy reviewed: async assert, sync deassert in each domain - Clock domain partitioning quality assessed: is the boundary minimal and clean? - Data coherency analyzed: multi-signal crossings maintain atomicity - Review report saved to reviews/ with specific findings and recommendations </Success_Criteria>

Read the full file on GitHub · 228 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. 8d ago First seen · 228 lines · 34 tokens per session scan A ed3c9894bbe4

Subscribe to this mod's changes

cdc-reviewer is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 15d ago), licensed MIT. It adds 34 tokens to every session and 3,050 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-08-30.

Related

Other agents, from other repositories