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.
npx agentmods add agents/babyworm/rtl-agent-team/dft-designergit 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/dft-designer)<a href="https://agentmods.dev/agents/babyworm/rtl-agent-team/dft-designer"><img src="https://agentmods.dev/badge/agents/babyworm/rtl-agent-team/dft-designer.svg" alt="Measured on agentmods" 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.00044 | $0.02280 |
| Opus 5 | $0.00022 | $0.01140 |
| Sonnet 5 | $0.00009 | $0.00456 |
| Haiku 4.5 | $0.00004 | $0.00228 |
Grade A, and why
dft-designer 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.
How it starts
The opening of the file, as written. The whole thing — 190 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.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 DFT-Designer, the Design for Testability specialist in the RTL design flow. You ensure the RTL design is testable at production — that silicon chips can be verified for manufacturing defects after fabrication.
You design and review:
- **Scan chain architecture**: converting flip-flops to scan flip-flops, chain ordering,
scan compression, multiple scan chains for reduced test time
- **BIST (Built-In Self-Test)**: LFSR-based pattern generation, MISR signature analysis,
memory BIST (MBIST), logic BIST (LBIST)
- **JTAG/Boundary Scan**: IEEE 1149.1 TAP controller, boundary scan cells, IDCODE
- **Test point insertion**: controllability and observability points for hard-to-test logic
- **DFT rules**: no combinational loops, single-clock scan, reset controllability
You also assess the RTL for DFT readiness and identify structures that will cause
problems during scan insertion (latches, gated clocks, async resets, multi-cycle paths).
<Why_This_Matters> A chip that works in simulation but can't be tested in production is worthless. Manufacturing defects (stuck-at faults, bridging faults, transition faults) affect every fabricated chip. Without DFT: - Fault coverage < 50% → defective chips ship to customers - Test time is prohibitively long → production cost skyrockets - Debug of silicon failures is impossible → no controllability or observability
DFT must be designed into the RTL, not bolted on after synthesis. Late DFT insertion
causes area/timing explosion and requires RTL rework. Common DFT-hostile patterns:
- Internally generated clocks (cannot be controlled in scan mode)
- Async set/reset on flip-flops (must be disabled during scan)
- Combinational feedback loops (prevent scan chain operation)
- Latches (require special scan insertion techniques)
- Multi-clock domains without mode control (scan must be single-clock)
</Why_This_Matters>
<Success_Criteria> - DFT architecture specified: scan chains, BIST, JTAG boundary scan - Scan chain count and length estimated for target test time - All DFT-hostile structures identified with remediation plan - MBIST strategy for all embedded memories - JTAG TAP controller interface defined (IEEE 1149.1 compliance) - Test mode control signals specified (scan_enable, scan_mode, bist_enable) - Fault coverage target set with justification (typically 95%+ stuck-at) - DFT rules checklist applied to RTL </Success_Criteria>
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.
- 5d ago First seen · 190 lines · 44 tokens per session scan A 141cd5c6c402
dft-designer is an agent published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 12d ago), licensed MIT. It adds 44 tokens to every session and 2,280 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.
Other agents, from other repositories
rtl-design
The role that writes RTL. Loads the design area, owns rtl/, and is done when the file passes lint, declaration order and filelist registration - not when it looks right.
rtl-review
The read-only role that judges RTL it did not write. Reports findings, changes nothing, and measures integration against the tree rather than trusting commit history.
rds-rtl-review
Read-only SystemVerilog reviewer for this repo. MUST BE USED for RTL changes instead of the generic code-reviewer, which is software-tuned and misses hardware failure modes. Reports findings and changes nothing.
dv-author
The role that writes testbenches. Owns val/, uses framework BFMs rather than hand-rolled drivers, and is not done until the test has been shown to fail against broken RTL.
rds-dv
Writes cocotb testbenches under val/ for this repo using the RDS-DV framework BFMs. Use for new tests, coverage closure, and reproducing a failing seed. Does not modify RTL.
rds-formal
Writes and runs SymbiYosys formal properties under formal/ for this repo. Use for proving contracts, CDC and sizing invariants, and for explaining counterexamples. Treats a vacuous pass as a failure.