audit-erc-drc-and-safety

audit-erc-drc-and-safety is a skill for Claude Code from w1ne/labwired-core. It costs 49 tokens per session (732 once invoked), scanned A, original, MIT.

A pre-production safety audit for electronic circuits and PCB layouts. It checks electrical connections, board design rules, signal quality, power and heat limits, microcontroller pin limits, and firmware responses to faults.

In plain words
What is it for?
Use it to review schematics and PCB layouts, check power and signal margins, verify component limits, and test fault-handling and fail-safe behavior.
Why use it?
It helps find unsafe or unreliable designs before prototypes are ordered or hardware revisions are approved. Checking voltage, current, protection parts, and failure behavior can expose problems that a simple compile or visual review misses.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the labwired plugin — 6 skills, 1 MCP server shipped together

Good fit Use it to review schematics and PCB layouts, check power and signal margins, verify component limits, and test fault-handling and fail-safe behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/w1ne/labwired-core/audit-erc-drc-and-safety
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 w1ne/labwired-core --skill audit-erc-drc-and-safety
Clone the repo
git clone --depth 1 https://github.com/w1ne/labwired-core

Made for: Claude Code.

Or install labwired, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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 audit-erc-drc-and-safety

README.md
[![agentmods](https://agentmods.dev/badge/skills/w1ne/labwired-core/audit-erc-drc-and-safety/github.svg)](https://agentmods.dev/skills/w1ne/labwired-core/audit-erc-drc-and-safety)
Your own site
<a href="https://agentmods.dev/skills/w1ne/labwired-core/audit-erc-drc-and-safety"><img src="https://agentmods.dev/badge/skills/w1ne/labwired-core/audit-erc-drc-and-safety/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 audit-erc-drc-and-safety

Your own site · 80×15
<a href="https://agentmods.dev/skills/w1ne/labwired-core/audit-erc-drc-and-safety"><img src="https://agentmods.dev/badge/skills/w1ne/labwired-core/audit-erc-drc-and-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 732 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.00049 $0.00732
Opus 5.5 $0.00020 $0.00293
Sonnet 5.5 $0.00010 $0.00146
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

audit-erc-drc-and-safety 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 4d 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.

plugins/labwired/skills/audit-erc-drc-and-safety/SKILL.md · 44 lines

How it starts

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

Audit ERC, DRC, and Safety

Use this skill before ordering prototypes, merging hardware revisions, or approving an AI-generated circuit. It systematically audits electrical rules, PCB design rules, signal integrity, power/thermal budgets, MCU pin absolute maximums, and firmware fail-safe behavior.

Audit Checklist & Tool Sequence

1. Electrical Rules Check (ERC) & Pin-Limit Audit

  • Call labwired_validate on the diagram.
  • Call labwired_describe and labwired_datasheet on the MCU and key ICs to cross-check:
    • Supply rail voltages (3.3 V vs 5 V vs 1.8 V) and logic-level compatibility across every connected net
    • Per-GPIO source/sink current limits and total package VCC/GND current limits
    • Mandatory passives: decoupling capacitors on every IC power rail, I2C pull-ups, LED current-limiting resistors, reset pull-ups, boot-strap pin states
    • Reverse-polarity, ESD, and flyback diode protection on inductive loads (relays, solenoids, motors)

2. Signal Integrity, Power & Thermal Margin Audit

  • Call labwired_si to evaluate trace/signal integrity, bus loading, voltage drop, and analog margins.
  • Run labwired_pcb_simulate (when a board layout exists) or labwired_run with analog instrumentation to inspect steady-state and peak current draw, regulator dropout/dissipation, and rail sag under load.
  • Flag any component operating above 70% of its rated voltage, current, or thermal dissipation limit.

3. PCB Design Rules Check (DRC)

  • If a PCB exists (generated or imported), run labwired_pcb_inspect and/or labwired_pcb_validate_imported.
  • Verify:
    • Zero unconnected nets (ratsnest = 0)
    • Zero clearance, trace-width, silkscreen-over-pad, or drill/annular-ring violations
    • Adequate copper width for power rails and high-current paths
    • Clean ground return paths and crystal/RF keepout zones

4. Fault-Injection & Fail-Safe Firmware Audit

When firmware controls actuators, heaters, chargers, or safety-critical outputs, test failure modes with labwired_verify:

  • Inject realistic faults via the faults parameter (sensor open-circuit, shorted input, I2C bus hang, power brownout).
  • Assert that firmware detects the fault within its safety timeout, logs an error, and drives outputs to a safe state (e.g., heater/motor off).

Read the full file on GitHub · 44 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. 4d ago First seen · 44 lines · 49 tokens per session scan A 4141ae470bb2

Subscribe to this mod's changes

audit-erc-drc-and-safety is a skill published in the GitHub repository w1ne/labwired-core (210 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 732 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-11-26.

Related

audit-erc-drc-and-safety compared with skills from other repositories

audit-erc-drc-and-safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-erc-drc-and-safetyw1ne/labwired-coreSkill210todayMITA49Claude Code
unifi-protectsirkirby/unifi-mcpSkill1.1ktodayMITA112Claude Code
unifi-accesssirkirby/unifi-mcpSkill1.1ktodayMITA70Claude Code
unifi-drive-setupsirkirby/unifi-mcpSkill1.1ktodayMITA64Claude Code
unifi-sitemanager-setupsirkirby/unifi-mcpSkill1.1ktodayMITA44Claude Code
streamdeck-designerverygoodplugins/streamdeck-mcpSkill556d agoMITA167Claude Code, Codex
streamdeck-profileverygoodplugins/streamdeck-mcpSkill556d agoMITA0Claude Code, Codex