# Analog sizing loop

> Analog sizing loop is an open-source agent skill for developer tools. Runs an iterative analog sizing loop that re-simulates SPICE corners until specs pass. 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-sizing-loop
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** analog-sizing-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 guides an agent through a closed-loop optimization of an analog circuit block. Each pass runs SPICE across the required process, voltage and temperature corners, reads the failing measurements such as gain, bandwidth, phase margin, noise, swing or power, and proposes a small sizing change. The agent limits itself to at most two parameter changes per iteration so each effect can be traced, then regenerates the netlist and reruns the same measurements.

The workflow keeps a record of every iteration, including the prior sizing and results, so a regression can be reverted. It stops when all required corners meet their original limits, or after five unsuccessful iterations, at which point it reports the best result and recommends reconsidering the topology. A table of common failure modes and typical candidate adjustments is included as starting hypotheses that must be verified by simulation.

The skill expects an existing spec file, topology description and initial sizing for the block, plus a choice of PDK (gf180 or sky130). It relies on companion sizing, netlist generation and corner simulation tools in the same plugin, and the scripts are written in Python.

## When your agent uses it

> Closed-loop analog optimization — iterates sizing → netlist → SPICE corner sweep → spec check → re-size until all PVT corners pass. Use when the user says "optimize the analog block", "close the loop", "auto-size", or at Step A4 of the analog track.

## 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-sizing-loop)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop)

## Features

- **Closed-loop corner sweep:** Repeats SPICE simulation across PVT corners after each sizing change until requirements are met.
- **Bounded sizing changes:** Limits each iteration to at most two parameter edits so the effect of each change is attributable.
- **Failure-mode guidance:** Provides a table mapping failure modes such as low gain or high noise to candidate sizing moves.
- **Iteration history:** Records each design change and its results so regressions can be reverted and reviewed.
- **Stop and escalation rules:** Defines convergence checks and a five-iteration budget before falling back to topology review.
- **Final sizing output:** Writes a final sizing file with the converged parameters, worst corner and yield figure.

## Good for

- Auto-size a sub-block until it passes all PVT corners
- Close the loop on an LDO design that fails at a slow corner
- Tune bias current and input-pair width to meet a gain target
- Recover phase margin by adjusting compensation capacitance
- Document the iteration history of an analog optimization run

## 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-sizing-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-sizing-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop" ~/.claude/skills/analog-sizing-loop &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/analog-sizing-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-sizing-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop" ~/.agents/skills/analog-sizing-loop &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/analog-sizing-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-sizing-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop" ~/.cursor/skills/analog-sizing-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/analog-sizing-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-sizing-loop
```

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/analog-sizing-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-sizing-loop &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-sizing-loop" ~/.copilot/skills/analog-sizing-loop &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/analog-sizing-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-sizing-loop` into your agent's skills folder as `analog-sizing-loop`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It expects a spec.json with performance limits, a topology.md, an initial sizing.md and a chosen PDK of gf180 or sky130.

### When does Analog sizing loop trigger?

When the user asks to optimize the analog block, close the loop or auto-size, or at step A4 of the analog track.

### What happens if the design never converges?

After five unsuccessful iterations it reports the best measured result and remaining failures, and suggests revisiting the topology.

### Does Analog sizing loop change the specification limits to get a pass?

No. The instructions forbid moving specification or PDK limits and forbid treating missing results as convergence.

### How do I install Analog sizing loop in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/analog-sizing-loop to use it in all your projects, or to .claude/skills/analog-sizing-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 sizing 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 sizing 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 sizing loop?

The closest alternatives to Analog sizing loop are Analog sizing, Ams sim, Analog hw tuning loop, Analog output verify and Analog flow orchestrate.

## Where this comes from

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

## Alternatives

- [Analog sizing](https://ai-powered.com/skills/analog-sizing): Analog sizing 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.
- [Analog hw tuning loop](https://ai-powered.com/skills/analog-hw-tuning-loop): Analog hw tuning 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 flow orchestrate](https://ai-powered.com/skills/analog-flow-orchestrate): Analog flow orchestrate is an open-source agent skill for developer tools.
- [Analog extraction resim](https://ai-powered.com/skills/analog-extraction-resim): Analog extraction resim is an open-source agent skill for developer tools.
- [Analog hw measure](https://ai-powered.com/skills/analog-hw-measure): Analog hw measure is an open-source agent skill for developer tools.
- [Analog layout](https://ai-powered.com/skills/analog-layout): Analog layout is an open-source agent skill for developer tools.

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