Skip to content
Skill

Analog sizing loop

Runs an iterative analog sizing loop that re-simulates SPICE corners until specs pass

Analog sizing loop is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
33
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Analog sizing loop

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (13 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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

Or copy only this skill to ~/.claude/skills/analog-sizing-loop:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Analog sizing loop 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.

More from vibeic/vibe-ic

  1. Plans and runs analog circuit simulations and triages the results across corners

    • Open source
    • 33 GitHub stars
    • Developer tools
  2. Re-simulates analog blocks after layout to measure parasitic performance loss

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Walks an agent through a nine-step analog circuit design flow from spec to hardware

    • Open source
    • 33 GitHub stars
    • Developer tools
  4. Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Runs hardware measurements on analog blocks using a scope and FPGA ADC

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Generates FPGA Verilog for hardware-in-the-loop testing of analog circuits

    • Open source
    • 33 GitHub stars
    • Developer tools