# Analog hw tuning loop

> Analog hw tuning loop is an open-source agent skill for developer tools. Guides an agent through hardware-in-the-loop analog circuit tuning against SPICE and spec. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/vibeic/vibe-ic/tree/main/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** analog-hw-tuning-loop
- **Collection:** https://github.com/vibeic/vibe-ic
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill orchestrates analog circuit design that is verified on physical hardware. It first has the agent converge a block in SPICE simulation by delegating to a companion sizing loop, then moves to a bench phase where the agent compares hardware measurements, simulation predictions and the original specification under matching conditions.

The workflow caps hardware trials at three iterations and asks the agent to change only one component per iteration, recording before and after measurements so each effect can be attributed. Verdicts fall into categories such as converged, converged with a model-accuracy warning, model inaccuracy or a return to the simulation phase, and the skill asks that unmeasured items be marked as not measured rather than assumed.

The skill expects block spec and sizing files, simulation results, and a bench setup with an FPGA board, oscilloscope and breadboard or PCB. It pauses for user confirmation before the build, and its output is a hardware tuning report that feeds a later hardmacro generation step.

## When your agent uses it

> Closed-loop hardware-in-the-loop analog tuning — iterates SPICE sizing → hardware build → measure → compare → adjust until hardware matches SPICE matches spec. Use when the user says "tune analog on hardware", "hardware convergence", "HIL tuning loop".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop)

## Features

- **Two-phase convergence:** Runs a simulation-only convergence phase before any hardware trial begins.
- **Three-way comparison:** Compares hardware, SPICE predictions and the design spec to reach a verdict.
- **Single-change iterations:** Limits each hardware trial to one component change with recorded before and after data.
- **Convergence verdicts:** Classifies results as ideal, converged, warning, model inaccuracy or back to simulation.
- **Bench wiring gate:** Displays a wiring guide and waits for user confirmation before hardware work.
- **Tuning report output:** Produces a hardware tuning report with measurements, conditions and iteration history.

## Good for

- Tune an LDO block on a bench and check it against SPICE results
- Compare hardware measurements with simulation for an analog block
- Run a bounded hardware tuning loop with recorded iterations
- Document model discrepancies between SPICE and real silicon-style hardware

## Install

### Claude Code

This skill ships in the `vibe-ic` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add vibeic/vibe-ic
/plugin install vibe-ic@vibe-ic-marketplace
```

Or copy only this skill to `~/.claude/skills/analog-hw-tuning-loop`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/analog-hw-tuning-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop" ~/.claude/skills/analog-hw-tuning-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/analog-hw-tuning-loop` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/analog-hw-tuning-loop` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/analog-hw-tuning-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop" ~/.agents/skills/analog-hw-tuning-loop &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/analog-hw-tuning-loop` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/analog-hw-tuning-loop` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/analog-hw-tuning-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop" ~/.cursor/skills/analog-hw-tuning-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/analog-hw-tuning-loop` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/vibeic/vibe-ic.git --path vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop
```

Or copy the folder to `~/.gemini/skills/analog-hw-tuning-loop` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/analog-hw-tuning-loop`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/analog-hw-tuning-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop" ~/.copilot/skills/analog-hw-tuning-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/analog-hw-tuning-loop` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vibeic/vibe-ic.git
```

Then copy `vibe-ic/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hw-tuning-loop` into your agent's skills folder as `analog-hw-tuning-loop`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It expects an analog block spec file, a SPICE-converged sizing file, simulation corner results, and a hardware setup with an FPGA board, oscilloscope and breadboard or PCB.

### Does Analog hw tuning loop run hardware steps automatically?

No. It displays a wiring guide and waits for user confirmation before the hardware build, and hardware steps that were not executed are recorded as not measured.

### How many hardware iterations does Analog hw tuning loop allow?

A maximum of three hardware iterations, after which remaining model discrepancies are reported and investigated before another trial.

### What triggers the skill?

Requests such as tuning analog on hardware, hardware convergence, or running a HIL tuning loop.

### How do I install Analog hw tuning loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/analog-hw-tuning-loop to use it in all your projects, or to .claude/skills/analog-hw-tuning-loop in one project. Or install the vibe-ic plugin, which includes it: /plugin marketplace add vibeic/vibe-ic, then /plugin install vibe-ic@vibe-ic-marketplace.

### Does Analog hw tuning loop run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Analog hw tuning loop?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Analog hw tuning loop?

The closest alternatives to Analog hw tuning loop are Analog hw measure, Analog sizing loop, Analog flow orchestrate, Ams sim and Hw debug loop.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Analog hw measure](https://ai-powered.com/skills/analog-hw-measure): Analog hw measure is an open-source agent skill for developer tools.
- [Analog sizing loop](https://ai-powered.com/skills/analog-sizing-loop): Analog sizing loop is an open-source agent skill for developer tools.
- [Analog flow orchestrate](https://ai-powered.com/skills/analog-flow-orchestrate): Analog flow orchestrate is an open-source agent skill for developer tools.
- [Ams sim](https://ai-powered.com/skills/ams-sim): Ams sim is an open-source agent skill for developer tools.
- [Hw debug loop](https://ai-powered.com/skills/hw-debug-loop): Hw debug loop is an open-source agent skill for developer tools.
- [Analog output verify](https://ai-powered.com/skills/analog-output-verify): Analog output verify is an open-source agent skill for developer tools.
- [Analog sizing](https://ai-powered.com/skills/analog-sizing): Analog sizing is an open-source agent skill for developer tools.
- [Analog hw testbench gen](https://ai-powered.com/skills/analog-hw-testbench-gen): Analog hw testbench gen is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/analog-hw-tuning-loop
