rat-p4p5-impl-verify-policy

rat-p4p5-impl-verify-policy is a skill for Claude Code from babyworm/rtl-agent-team. It costs 30 tokens per session (2,386 once invoked), scanned A, original, MIT.

An internal policy for turning a hardware microarchitecture into RTL and then checking that the implementation matches the original specification.

In plain words
What is it for?
Use it as guidance for RTL implementation and verification workflows in FPGA or ASIC projects.
Why use it?
It keeps implementation and verification connected to earlier design decisions and requires both required artifacts and quality checks before moving on.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

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

Good fit Use it as guidance for RTL implementation and verification workflows in FPGA or ASIC projects.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/babyworm/rtl-agent-team/rat-p4p5-impl-verify-policy"><img src="https://agentmods.dev/badge/skills/babyworm/rtl-agent-team/rat-p4p5-impl-verify-policy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,386 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.00030 $0.02386
Opus 5 $0.00015 $0.01193
Sonnet 5 $0.00006 $0.00477
Haiku 4.5 $0.00003 $0.00239

Measured 7d ago against content hash 256776c7f608, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rat-p4p5-impl-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 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.

skills/rat-p4p5-impl-verify-policy/SKILL.md · 201 lines

How it starts

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

μArch-to-Verify Policy

Core Principles

Hierarchical Spec Compliance

Lower phases MUST NOT violate upper phase specifications: Spec → Architecture → μArch → RTL → Verification RTL must faithfully implement the μArch design. Verification must validate against the original Spec.

Design Priority Order

  1. Functional Correctness (highest) — Every required feature works exactly
  2. Interface Compliance — Ports, protocols, timing match Architecture
  3. Timing/Performance — Throughput, latency targets met
  4. Area/Power (lowest)

Document-as-Memory

Phase 4 reads Phase 1-3 documents as input context. Phase 5 reads Phase 4 artifacts. No agent needs to "remember" another agent's output — it reads the document. State is persisted at .rat/state/rat-p4p5-impl-verify-state.json for resumability.

Execution Rules

Dual-Layer Phase Gates

Phase 4→5 transition requires BOTH:

  1. Artifact Gate: Required files exist (fast check)
  2. Quality Gate: Reviewer agent(s) verify quality AND hierarchical spec compliance

Quality Gate verdicts: PASS or FAIL + findings[]

Gate Retry Policy

  • Artifact Gate failure: retry phase once, then escalate to user
  • Quality Gate failure: pass findings to worker agent, re-run gate. Max 2 retries
  • Upper-spec violation: IMMEDIATE STOP (see Escalation)

Context Preload

Before each phase, verify required upstream files exist:

  • required (full read): files that MUST be fully read before starting the phase
  • summary only: files where only the phase summary is sufficient
  • optional (on demand): files read only when a specific question arises

Specific file lists are defined inline in each orchestrator's phase steps.

Termination

After Phase 5 Final Compliance Gate PASS, generate summary, then STOP. Do NOT proceed to Phase 6.

Prerequisite Requirements

Artifact Required Check
docs/phase-3-uarch/*.md At least one μArch module spec exists
reviews/phase-3-uarch/uarch-review.md File exists AND contains Verdict: PASS
docs/phase-1-research/iron-requirements.json File exists (needed for traceability)
docs/phase-1-research/io_definition.json File exists (needed for port verification)
refc/*/*.c At least one C reference model source exists
docs/phase-3-uarch/phase-3-summary.md File exists (Phase 3 summary for context)

Read the full file on GitHub · 201 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. 7d ago First seen · 201 lines · 30 tokens per session scan A 256776c7f608

Subscribe to this mod's changes

rat-p4p5-impl-verify-policy is a skill published in the GitHub repository babyworm/rtl-agent-team (51 stars, last pushed 18d ago), licensed MIT. It adds 30 tokens to every session and 2,386 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-09-03.