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 skills add phamcuong21478/rtl-skills --skill vtestgengit clone --depth 1 https://github.com/phamcuong21478/rtl-skillsWrote 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/skills/phamcuong21478/rtl-skills/vtestgen)<a href="https://agentmods.dev/skills/phamcuong21478/rtl-skills/vtestgen"><img src="https://agentmods.dev/badge/skills/phamcuong21478/rtl-skills/vtestgen/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/skills/phamcuong21478/rtl-skills/vtestgen"><img src="https://agentmods.dev/badge/skills/phamcuong21478/rtl-skills/vtestgen.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.00043 | $0.07001 |
| Opus 5 | $0.00022 | $0.03501 |
| Sonnet 5 | $0.00009 | $0.01400 |
| Haiku 4.5 | $0.00004 | $0.00700 |
Grade C, and why
vtestgen scanned grade C with 1 finding 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 11d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
> non-PASS sim dirs) or `rm -rf sim/tb_<name>` — then re-run. How it starts
The opening of the file, as written. The whole thing — 442 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Verilog Testcase Generator
Overview
This skill builds the IP-level test environment in two phases:
- Phase A — Scaffold the bench project. Parse
<ip>_top, then generate a reusable, Makefile-driven simulation project undertb/<ip>/: build system, clock/reset generators, a DUT-instance core, CPU-bus BFM tasks, and one CPU-controllable stimulus driver per data interface. - Phase B — Plan and generate the suite. Plan testcases across six mandatory
categories, write each as a thin
tb_*.svthat drives the bench only through the CPU bus, validate each withmake, and writetc_list.md.
vtestrun later executes the suite through the same Makefile.
The input is an IP name. The outputs are:
tb/<ip>/Makefile top dispatcher (auto-discovers tb_*.sv)
tb/<ip>/script/library.mk per-testcase xvlog/xelab/xsim recipe
tb/<ip>/script/rtl.f generated RTL hierarchy filelist
tb/<ip>/script/skip.list names of skipped testcases, excluded by the Makefile
tb/<ip>/clock.vh parameterized clock + sync-reset generators
tb/<ip>/dut.vh reg-map, DUT signals/instance, sti instances, CPU BFM tasks + sequences
tb/<ip>/sti_<iface>.sv one CPU-controllable stimulus driver per data interface
tb/<ip>/sco_<iface>.sv one CPU-controllable scoreboard per checkable stream output (optional)
tb/<ip>/tb_<name>.sv self-checking testcases (CPU-bus only)
tb/<ip>/tc_list.md testcase index with status
tb/<ip>/sim/<tc>/ disposable build dirs
Template files for every artifact live in templates/ next to this SKILL.md.
Treat them as the canonical shape; fill the {{...}} placeholders from the
parsed IP. Testbench code is SystemVerilog (.sv) — permitted under tb/ (see
.claude/skills/shared/CodingStyle.md).
Central design rule — the CPU bus is the single control plane. Every testcase
drives the whole bench using only cpu_write / cpu_read / cpu_read_check (and
the higher-level sequences built on them in dut.vh). The DUT is configured over
the CPU bus; traffic generators live in separate sti_*.sv modules that are
themselves CPU-bus slaves, so the test script configures and starts stimulus with
cpu_write too.
What ships with it
8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 442 lines · 43 tokens per session scan C de50e1c1c061
vtestgen is a skill published in the GitHub repository phamcuong21478/rtl-skills (11 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 7,001 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
simulation
Use when materializing and running a module's UVM TB from an approved verification plan (regression, coverage); not for plan authoring or RTL changes.
simulation-plan
Use when generating or evolving the verification plan, scaffold specification, testpoints, and power scenarios for a module; not for materializing UVM TB or running EDA tools.
synthesis
Use when running Design Compiler synthesis, analyzing timing/area/power reports, supplementing SDC exceptions, or re-synthesizing after RTL changes; not for power analysis or static timing.
design-flow
Use when progressing IC design through stages, checking module status, or routing rework decisions; not for single-stage execution or artifact authoring.
lint-cdc
Use when running SpyGlass lint or CDC checks, analyzing violations, adding waivers, supplementing SGDC annotations, or re-running after RTL changes; not for synthesis or simulation.
power-analysis
Use when running gate-level power simulation + PT-PX averaged power analysis (SAIF flow) for PPA gating; not for RTL functional simulation, static timing, or time-resolved waveforms.