analog-hw-tuning-loop

analog-hw-tuning-loop is a skill for Claude Code from vibeic/vibe-ic. It costs 60 tokens per session (1,786 once invoked), scanned A, original, Apache-2.0.

A hardware-in-the-loop tuning process that repeatedly compares circuit simulation, real hardware measurements, and design targets. Hardware-in-the-loop means the physical circuit is tested as part of the development loop.

In plain words
What is it for?
Use it to tune analog blocks such as an LDO on a bench with an FPGA, oscilloscope, and circuit board. It adjusts the design after comparing measured behavior with simulated results and specifications.
Why use it?
It helps find and correct differences between what SPICE predicts and what the built circuit does. The process continues through simulation convergence and a limited number of hardware checks.

Skill for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 plugins/vibe-ic/_shared/skill_compliance_check.py \.

Part of the vibe-ic plugin — 70 skills, 8 commands, 8 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it to tune analog blocks such as an LDO on a bench with an FPGA, oscilloscope, and circuit board. It adjusts the design after comparing measured behavior with simulated results and specifications.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/vibeic/vibe-ic
agentmods
npx agentmods add skills/vibeic/vibe-ic/analog-hw-tuning-loop

Made for: Claude Code.

Or install vibe-ic, the plugin that ships this one along with the rest of its 70 skills, 8 commands, 8 agents, 2 hooks, 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 analog-hw-tuning-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/vibeic/vibe-ic/analog-hw-tuning-loop/github.svg)](https://agentmods.dev/skills/vibeic/vibe-ic/analog-hw-tuning-loop)
Your own site
<a href="https://agentmods.dev/skills/vibeic/vibe-ic/analog-hw-tuning-loop"><img src="https://agentmods.dev/badge/skills/vibeic/vibe-ic/analog-hw-tuning-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 analog-hw-tuning-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/vibeic/vibe-ic/analog-hw-tuning-loop"><img src="https://agentmods.dev/badge/skills/vibeic/vibe-ic/analog-hw-tuning-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,786 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 pass 7 Sept 2026
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.00060 $0.01786
Opus 5 $0.00030 $0.00893
Sonnet 5 $0.00012 $0.00357
Haiku 4.5 $0.00006 $0.00179

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

Security

Grade A, and why

analog-hw-tuning-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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (tests/test_compliance.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop/SKILL.md · 146 lines

How it starts

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

Analog HW Tuning Loop

The master orchestrator for hardware-verified analog convergence. First converges in SPICE simulation, then validates on real hardware, iterating until all three sources agree: hardware measurement, SPICE prediction, and design spec.

When to use

  • Step A9 of the analog track (hardware verification)
  • When the user says "tune the LDO on hardware", "verify analog on bench"
  • After analog-sizing-loop has converged in simulation

Inputs

  1. analog/<block>/spec.json — target specs
  2. analog/<block>/sizing_final.json — SPICE-converged sizing
  3. analog/<block>/corner_results.json — SPICE simulation results
  4. Hardware setup: FPGA board, scope, breadboard/PCB

Two-phase convergence

Phase 1: SPICE convergence (delegates to analog-sizing-loop)

Run the simulation-only loop until all PVT corners pass. This phase is fully automatic with no hardware needed.

Phase 2: Hardware verification (max 3 iterations)

For each iteration:
  1. analog-hw-testbench-gen → generate FPGA stimulus RTL
  2. eda_fpga_compile → eda_fpga_program → program DE10-Lite
  3. Prompt user: "Confirm the breadboard circuit has been built"
     - Display component BOM derived from sizing_final.json
     - Show wiring diagram from hw_test/README.md
  4. analog-hw-measure → scope capture + ADC readings
  5. Three-way comparison + verdict — enforced by `programs/analog_hil_three_way_verdict.py`
  6. Iterate per the verdict; single-knob + iteration-cap discipline enforced by program (see below)

Three-way comparison logic (enforced by program)

The four-row decision table (SPICE-vs-Spec, HW-vs-Spec, HW-vs-SPICE-discrepancy) → {CONVERGED | CONVERGED_WARNING | MODEL_INACCURACY | BACK_TO_PHASE1} is a pure lookup — enforced by programs/analog_hil_three_way_verdict.py (PASS on a CONVERGED variant, FAIL on MODEL_INACCURACY / BACK_TO_PHASE1, SKIP on no data).

SPICE vs Spec HW vs Spec HW vs SPICE Verdict
PASS PASS <20% CONVERGED — ideal
PASS PASS >=20% CONVERGED_WARNING (model-accuracy)
PASS FAIL MODEL_INACCURACY — add margin, re-sim + re-measure
FAIL BACK_TO_PHASE1 — should not reach Phase 2

Read the full file on GitHub · 146 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 146 lines · 60 tokens per session scan A 13a084d73b7e

Subscribe to this mod's changes

analog-hw-tuning-loop is a skill published in the GitHub repository vibeic/vibe-ic (23 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 1,786 once invoked, about $0.0003 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-08-30.

Related

Other skills, from other repositories

analog-netlist-crawl

Crawl and analyze post-layout parasitic netlists without running SPICE. Answers "what's the effective resistance from node A to node B across this massive R mesh?", "inside the VREFN mesh, which device pins are electrically farthest apart?", "which nets have the worst coupling?", "where does settling bottleneck?" — by…

Arcadia-1/analog-agents · 291 tokens

analog-verify

Pre-simulation review and Spectre simulation verification for analog circuits. Reviews circuit netlist and testbench, runs simulation, produces margin report. Use after analog-design completes a netlist.

Arcadia-1/analog-agents · 41 tokens

analog-design

Transistor-level circuit design for one analog sub-block. Produces Spectre netlist with hand-calculation rationale. Use when designing a specific circuit block after architecture is defined.

Arcadia-1/analog-agents · 38 tokens

analog-pipeline

MANDATORY — MUST load this skill when the user mentions: OTA, ADC, PLL, comparator, bandgap, LDO, amplifier, opamp, or any analog/mixed-signal IC design task. Full analog design pipeline: spec -> architecture -> design -> verify -> deliver. Orchestrates analog-decompose, analog-behavioral, analog-design…

Arcadia-1/analog-agents · 94 tokens

analog-audit

Audit analog circuit netlists for correctness, quality, and risks. Supports both pre-layout (schematic) and post-layout (extracted) netlists. Post-layout mode filters massive parasitic netlists before auditing. Works without EDA. TRIGGER on: "audit", "review netlist", "check this circuit", "design review"…

Arcadia-1/analog-agents · 92 tokens

analog-decompose

Architect Phase 1: decompose top-level analog spec into sub-block specs. Use when starting a new analog design to select architecture, allocate budgets, define sub-block specs, write testbenches, and create verification plans.

Arcadia-1/analog-agents · 49 tokens