rtl-p5s-func-verify-policy

rtl-p5s-func-verify-policy is a skill for Claude Code from babyworm/rtl-agent-team. It costs 28 tokens per session (2,772 once invoked), scanned A, original, MIT.

An internal rule set for Tier 3 functional verification of RTL modules with cocotb. It defines test ordering, signal naming, reset handling, and when a module can move to integration testing.

In plain words
What is it for?
Use it when creating or reviewing cocotb regression tests for RTL modules. It covers reference comparisons, multi-seed testing, signal access, reset sequences, and progression to the next verification tier.
Why use it?
It keeps hardware tests consistent with the RTL interface and prevents incorrect testbench signal names from hiding failures. It also separates module regression from unit and system-level testing.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the rtl-agent-team plugin — 97 skills, 99 agents, 6 hooks shipped together

Good fit Use it when creating or reviewing cocotb regression tests for RTL modules. It covers reference comparisons, multi-seed testing, signal access, reset sequences, and progression to the next verification tier.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/babyworm/rtl-agent-team/rtl-p5s-func-verify-policy
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.

Any agent
npx skills add babyworm/rtl-agent-team --skill rtl-p5s-func-verify-policy
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 rtl-p5s-func-verify-policy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/babyworm/rtl-agent-team/rtl-p5s-func-verify-policy"><img src="https://agentmods.dev/badge/skills/babyworm/rtl-agent-team/rtl-p5s-func-verify-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,772 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.00028 $0.02772
Opus 5.5 $0.00011 $0.01109
Sonnet 5.5 $0.00006 $0.00554
Haiku 4.5 $0.00003 $0.00277

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

Security

Grade A, and why

rtl-p5s-func-verify-policy 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 20d 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.

skills/rtl-p5s-func-verify-policy/SKILL.md · 221 lines

How it starts

The opening of the file, as written. The whole thing — 221 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tier 3 Functional Verification Policy

Testing Tier Context

Tier 1: Smoke Test     — connectivity, R/W, basic ops (rtl-p4-implement Wave 4)
Tier 2: Unit Test      — reference comparison, uarch features (rtl-p4s-unit-test)
Tier 3: Module Regr.   — cocotb multi-seed (THIS POLICY)
Tier 4: Integration    — cross-module, end-to-end (rtl-p5s-integration-test)

Tier transition rules:

  • Tier 2 PASS (rtl-p4s-unit-test) → Tier 3 eligible
  • Tier 3 PASS or PARTIAL_PASS (this skill) → Tier 4 eligible (rtl-p5s-integration-test) (PARTIAL_PASS = some Critical/High ac_ids PARTIAL; WARNING at Stage 1, escalated to FAIL at Stage 3)
  • Tier 3 FAIL → fix via rtl-p4s-bugfix, re-run Tier 2 then Tier 3

cocotb Signal Naming Convention

cocotb test files MUST use correct signal names matching RTL port conventions:

  • Signal access: dut.i_data (NOT dut.data_i), dut.o_valid (NOT dut.valid_o)
  • Clock: dut.clk (single domain) or dut.sys_clk (multiple domains) — NOT dut.clk_i
  • Reset: dut.rst_n (single domain) or dut.sys_rst_n (multiple domains) — NOT dut.rst_ni
  • cocotb clock utility: cocotb.clock.Clock(dut.sys_clk, 10, units="ns")
  • Reset sequence: drive dut.sys_rst_n.value = 0, wait, then dut.sys_rst_n.value = 1

Multi-Seed Strategy

  • Default 5 seeds: 1, 42, 123, 1337, 65536 (configurable via sim/regression/seed_list.txt)
  • Each seed tests different random stimulus ordering
  • A module passes multi-seed regression only when ALL seeds pass
  • Use COCOTB_RESOLVE_X=RANDOM for X-state handling
  • Use RANDOM_SEED={seed} for reproducibility

Execution Strategy

  • Local-first runtime: default to local execution on current host (--mode local)
  • Default parallel budget: use max(1, nproc-2) unless user explicitly overrides --parallel
  • AWS usage policy: aws-batch is allowed only when the user explicitly asks to use AWS and explicit gate/runner wiring exists (RTL_ALLOW_AWS=1, RTL_AWS_BATCH_RUNNER)
  • Pipelined: as each module's TB completes → immediately launch sim (don't wait for all TBs)
  • Module-level parallelism: each module's TB + sim runs as an independent parallel task
  • Multi-seed parallelism: queue 5 seeds × N modules; local active workers stay within max(1, nproc-2)
  • Incremental coverage: coverage-analyst starts partial analysis on completed modules
  • Early termination: >5% failure rate across seeds → halt and report immediately

Read the full file on GitHub · 221 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. 20d ago First seen · 221 lines · 28 tokens per session scan A e22a7ca4d8fe

Subscribe to this mod's changes

rtl-p5s-func-verify-policy is a skill published in the GitHub repository babyworm/rtl-agent-team (61 stars, last pushed 21d ago), licensed MIT. It adds 28 tokens to every session and 2,772 once invoked, about $0.0001 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-10-08.