rtl-p4s-bugfix

rtl-p4s-bugfix is a skill for Claude Code from babyworm/rtl-agent-team. It costs 45 tokens per session (619 once invoked), scanned A, original, MIT.

A workflow for fixing RTL bugs through code changes, testbench updates, linting, and functional simulation. RTL is hardware description code, and functional simulation checks that the described circuit behaves correctly over time.

In plain words
What is it for?
Use it to fix functional or integration bugs, add or update tests, check refactoring for regressions, and verify every modified module before finishing.
Why use it?
A lint pass alone cannot prove that a hardware bug is fixed. This workflow requires simulation and tests, including after verification sends a failure back to implementation.

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 to fix functional or integration bugs, add or update tests, check refactoring for regressions, and verify every modified module before finishing.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/babyworm/rtl-agent-team/rtl-p4s-bugfix"><img src="https://agentmods.dev/badge/skills/babyworm/rtl-agent-team/rtl-p4s-bugfix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 619 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.00045 $0.00619
Opus 5.5 $0.00018 $0.00248
Sonnet 5.5 $0.00009 $0.00124
Haiku 4.5 $0.00005 $0.00062

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

Security

Grade A, and why

rtl-p4s-bugfix 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 18d 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-p4s-bugfix/SKILL.md · 62 lines

How it starts

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

Core principle: lint is only a syntax check, not evidence of functional correctness.

This skill integrates with the PostToolUse:Edit hook tracking system. Modified .sv files are automatically tracked, and session termination is blocked without functional verification.

<Use_When>

  • Fixing RTL bugs found during Phase 4 review
  • Fixing functional errors in RTL modules
  • Adding or modifying functionality in existing RTL
  • Verifying no functional regression after refactoring
  • Fixing integration bugs spanning multiple modules
  • Phase 5→4 Feedback Loop: Automatic fix path invoked when Phase 5 verification FAILs </Use_When>

<Do_Not_Use_When>

  • Coding convention changes only (e.g., port renaming with no functional change) → use rtl-p4s-refactor
  • Writing a new module from scratch → use rtl-p4-implement
  • Simple lint error fixes (e.g., removing unused signals) → use rtl-lint-check </Do_Not_Use_When>

<Why_This_Exists> Born from a previous session where 9 RTL bugs were fixed with only lint runs, skipping TB/simulation entirely. Passing lint is merely "compilation success" — simulation is required to prove the fix is functionally correct.

Anti-pattern example:

  • 312 lines of RTL modified across 5 Waves → only verilator --lint-only executed → 0 TBs, 0 simulations
  • Result: declared "complete" with zero functional correctness verification </Why_This_Exists>

All policies, checklists, escalation rules, and parallel fix decision logic are defined in the rtl-p4s-bugfix-policy skill (loaded via the orchestrator's skills: field).

Execution

Task(subagent_type="rtl-agent-team:p4s-bugfix-orchestrator", prompt="Execute RTL bug fix cycle. Bug description: $ARGUMENTS")

Do not perform any work directly. The orchestrator agent manages the full analyze → fix → lint → TB → simulation cycle.

Read the full file on GitHub · 62 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. 18d ago First seen · 62 lines · 45 tokens per session scan A 8b11f6e936a8

Subscribe to this mod's changes

rtl-p4s-bugfix is a skill published in the GitHub repository babyworm/rtl-agent-team (61 stars, last pushed 19d ago), licensed MIT. It adds 45 tokens to every session and 619 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

hardware-health-check

Out-of-band hardware health via Redfish BMC (read-only) — power state, component health, thermal and power readings, firmware inventory, SEL log triage. Use when determining whether a host is powered off versus unreachable, checking hardware faults, reviewing thermal or PSU state, or triaging BMC event logs.

automateyournetwork/netclaw · 67 tokens

boot-doctor-mcp

Deterministic PC no-boot / no-POST / no-display troubleshooting — real BIOS beep-code lookup and a ranked next-steps engine, no LLM guessing at hardware causes. Use this whenever the user describes a computer that won't turn on, won't POST, has no display output, is beeping, or asks for hardware troubleshooting steps…

pamela-0/boot-doctor-mcp · 111 tokens

fpga-hardware-design-and-review-guide

Comprehensive FPGA hardware design guide based on real-world project experience. Covers pipeline architecture, timing optimization, SystemVerilog coding patterns, CDC handling, and practical debugging techniques. Use this skill when: (1) designing FPGA modules with timing constraints, (2) implementing video processing…

cobbpeng/fpga-hardware-design-and-review-guide · 99 tokens

vdebug

Trace failing signals through the RTL hierarchy, classify root cause, and write a debug report per issue — no fix is proposed.

phamcuong21478/rtl-skills · 27 tokens

gke-ai-troubleshooting-tpu-dynamic-slices-monitoring

Monitors, troubleshoots, and manages GKE TPU Dynamic Slices custom resources. Use when checking TPU slice lifecycle states, troubleshooting slice provisioning failures, validating single-slice or multi-slice (JobSet) workload manifests, or safely patching stuck finalizers and disabling the slice controller. Don't use…

google/skills · 107 tokens

gke-ai-troubleshooting-tpu-vbar-oom

Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…

google/skills · 125 tokens