hv-isolation-loop

hv-isolation-loop is a command for Claude Code from rjwalters/kicad-tools. It costs 86 tokens per session (4,365 once invoked), scanned A, original, MIT.

An orchestration workflow for designing safe spacing and routing on a mains or high-voltage circuit board. Creepage is the required surface distance between conductors at different voltages.

In plain words
What is it for?
Use it to capture voltage domains, set spacing targets, create plane voids, place and route high-voltage areas, run creepage and Kelvin checks, and prepare handoff decisions.
Why use it?
It coordinates voltage-domain planning, placement, routing, and electrical-spacing checks so the board can progress toward manufacturing sign-off.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to capture voltage domains, set spacing targets, create plane voids, place and route high-voltage areas, run creepage and Kelvin checks, and prepare handoff decisions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjwalters/kicad-tools/hv-isolation-loop
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.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

Made for: Claude Code.

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 hv-isolation-loop

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/hv-isolation-loop/github.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/hv-isolation-loop)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/hv-isolation-loop"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/hv-isolation-loop/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 hv-isolation-loop

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/hv-isolation-loop"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/hv-isolation-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,365 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.00086 $0.04365
Opus 5.5 $0.00034 $0.01746
Sonnet 5.5 $0.00017 $0.00873
Haiku 4.5 $0.00009 $0.00436

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

Security

Grade A, and why

hv-isolation-loop 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 21d 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.

.claude/commands/kct/hv-isolation-loop.md · 200 lines

How it starts

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

HV-isolation design loop

Drive a non-isolated-mains or high-voltage-bank board from a raw floorplan to a creepage-closed, sign-off-ready layout. This skill is the orchestration layer over the shipped kct HV commands: it sequences voltage-domain capture, per-pair creepage targets, HV plane-void generation, HV-aware placement, routing, and the isolation gates into one coherent runbook, then hands the decision and fab sign-off steps off to the sibling skills.

It complements, not duplicates, {{skill:ee-review}} (which writes the decision document) and {{skill:manufacturing-readiness}} / {{skill:tapeout}} (which do fab sign-off). This skill drives the layout to closure and calls those skills at the right steps.

The kct namespace. This skill lives in {{skills-dir}} — the kicad-tools-native, harness-agnostic agent-tool namespace, invoked as {{skill:hv-isolation-loop}}. Keep kicad-tools' own agent tools in this namespace, not in the loom namespace: that one is installed from rjwalters/loom and belongs to the loom framework. The kct namespace is deliberately harness-agnostic — it hosts kicad-tools-native skills that live alongside installable harness frameworks (loom, rjwalters/anvil, or any future orchestrator). It runs from inside a consumer repo that depends on kicad-tools as a uv dependency (kct ... is on PATH via the venv); it does not assume the current directory is the kicad-tools repo, and it hardcodes no board path and no fab tier.

Scope (advisory / orchestration only). This skill sequences commands and states gates. It does not itself route copper, place parts, or edit the .kicad_pcb beyond invoking the documented mutating commands, and it never self-applies a work label. The one human-judgment input — the voltage-map sidecar (net → volts) — is authored by a qualified EE, and the human EE ratifies the result before fabrication. Derived IEC creepage/clearance values are an engineering aid, NOT a certification: the governing standard and a qualified engineer remain authoritative (same disclaimer as manufacturing-readiness Gate 4).

Read the full file on GitHub · 200 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. 21d ago Changed · +9 lines ac1ff8d585bf
  2. 1mo ago Changed · +1 lines 7fd8170719b5
  3. 1mo ago Changed · +3 lines 8d4edcebad8b
  4. 1mo ago Changed f476a72a42dc
  5. 3mo ago First seen · 187 lines · 86 tokens per session scan A 377c8a35ed36

Subscribe to this mod's changes

hv-isolation-loop is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It adds 86 tokens to every session and 4,365 once invoked, about $0.0003 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-08-30.

Related

hv-isolation-loop compared with commands from other repositories

hv-isolation-loop next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hv-isolation-looprjwalters/kicad-toolsCommand7715d agoMITA86Claude Code
eol-reportWYRE-AI/msp-claude-pluginsCommand57todayApache-2.0A28Claude Code
rvcsi-calibrateruvnet/rvcsiCommand3026d agoApache-2.0A20Claude Code
device-infophinn/KinetAiosCommand175d agoGPL-3.0A22Claude Code
esp-hardenmathisk2095/jko-claude-pluginsCommand31mo agoMITA17Claude Code
hw-troubleshootphinn/KinetAiosCommand175d agoGPL-3.0A34Claude Code
pentest-wirelessJoasASantos/ClaudeAdvancedPluginsCommand1629mo agoMITA0Claude Code