FIVE SKILLS · MANY TURNS

Continue a Virtuoso project through conversation

Connect, draw, simulate, tune and revisit results. Five skills work together across multiple turns to deliver a project you can keep editing.

A SCHEMATIC-LEVEL OSC PROJECT

An engineering conversation

The demonstration adapts real OSC validation and usage discussions, edited and redacted while retaining measured values. UI help and layout extensions are labeled as usage examples.

01 / 08Measured record

Connect and define the workspace

Your input

Use $virtuoso-connect to read my local configuration and connect to Virtuoso in my VM. Check connectivity and the installed API first. Work only in my designated library and preserve existing designs.

Agent response

I will check Python, bridge configuration, the SSH tunnel and the CIW listener separately, then verify a read-only command. After connecting, I will record the versions and workspace and hand schematic work to testbench.

This turn delivers

The connection chain was verified with bridge 0.7.0, IC 6.1.8 and Spectre 18.1. Hosts, accounts, paths and PDK information come from the user's local configuration.

↳ The next message can describe the circuit task without repeating connection setup.

02 / 08Measured record

Turn “build an OSC” into measurable goals

Your input

Build a five-stage CMOS ring oscillator to exercise the full schematic-level loop. Leave layout for later. Propose the requirements and explain how you will verify them.

Agent response

This example uses 1.8 V, TT and 27 °C, targeting 100 MHz ±10%, at least 1.6 V swing and at most 3 mW average supply power. Five stages use 10 MOS devices and parameterized loads. Wn, Wp and Cload are tunable; L is 180 nm and Wp = 2 × Wn.

This turn delivers

Specifications, parameter relationships and measurement conditions are defined. The next step creates the DUT/testbench, supply and startup settings and measures a baseline. These sizes and conditions belong to this example, not other PDKs.

↳ Once goals are defined, the next turn begins schematic construction.

03 / 08Measured record

Review and revise the schematic

Your input

Make the schematic more compact. Connect ordinary signals with continuous wires between terminals rather than named stubs. VDD and GND may be simplified. Keep parameter labels readable.

Agent response

I will tighten stage spacing using actual device, terminal and label geometry, place capacitors near outputs and shorten supply and feedback routes. Then I will Check & Save and read back each terminal's net to verify connectivity.

This turn delivers

The real schematic was created, tightened and checked for connectivity. It retains parameter expressions and Recommended annotations. A rerun after the geometry changes reproduced the final measurements.

Actual five-stage CMOS OSC schematic with verified recommended values

↳ After reviewing the drawing, request simulation, tuning or a local revision.

04 / 08Measured record

Measure a real baseline before tuning

Your input

Set up Maestro and run transient analysis. Read this run with OCEAN and report frequency, swing and average power. Do not evaluate it using an old history.

Agent response

Run for 500 ns with a 50 ps maximum step, excluding the first 100 ns of startup. SKILL/ADE launches Spectre; an isolated OCEAN process reads OUT and supply current from the exact history. Scalars are cross-checked with raw CSV data.

This turn delivers

The baseline at Wn/Wp = 2/4 µm and 500 fF per stage measured 147.923 MHz and 1.281 mW. Frequency is outside 90–110 MHz, so this is not yet a passing result.

↳ A failing baseline still provides evidence for the next tuning decision.

05 / 08Measured record

Use each measurement to choose the next point

Your input

Use $virtuoso-params to tune from the previous measurements without a Cartesian sweep. You may combine agent reasoning and Bayesian proposals, but retain the best measured point and explain every change and whether it actually improved.

Agent response

First, increasing load reduced frequency to 101.345 MHz. Smaller devices and a matching load then produced 100.907 MHz at 0.757 mW. After three real observations, two constrained GP/EI proposals measured 92.727 and 125.897 MHz. Neither beat the existing point; the latter was rejected. A local model of measured periods then guided refinement.

This turn delivers

The selected point uses Wn/Wp = 1.3/2.6 µm and C = 480 fF: 100.480 MHz at 0.823 mW. It is closer to 100 MHz; the earlier feasible point consumed only 0.757 mW. This is a precision/power tradeoff, not an optimum on every metric. The OSC case shows all eight evaluations.

↳ Search must be followed by an independent rerun, not just a model prediction.

06 / 08Measured record

Leave a result the user can keep editing

Your input

Apply the selected feasible parameters in Maestro and rerun independently. Leave the final schematic, waveform and Maestro values open. Save recommended Wn, Wp, load and conditions next to the circuit so I can find them later.

Agent response

Independent validation and the post-layout-of-the-drawing check agree. Final views are bound to Interactive.7. The schematic stores Recommended (verified) annotations with actual dimensions, supply, corner, temperature, metrics and result ID. Device wn/wp expressions remain; Maestro variables hold the values.

This turn delivers

100.480 MHz · 1.801 Vpp · 0.823 mW; frequency error 0.4801%. Eight real evaluations were completed. The selected values remain applied and schematic/Maestro/ViVA views remain open.

Actual Maestro measurements and waveform from the final history

↳ The schematic loop is complete. A follow-up can ask for UI guidance or request layout.

07 / 08Usage example

Ask for help at any point

Your input

Use $virtuoso-helper: should I replace wn/wp in the drawing with fixed values? How can I continue tuning in Maestro?

Agent response

Keep the variables. wn/wp are MOS widths W; L is fixed at 180 nm. Use wn = 1.3u, wp = 2.6u and cload = 480f in Maestro Global Variables. Maintain wp = 2 × wn when editing. Make a copied fixed-size design only when you need one.

This turn delivers

This guidance is adapted from the actual parameter discussion. Helper explains; it does not start a bridge for a conceptual answer or count a chat reply as a new simulation.

↳ A help request does not end the project; continue after the explanation.

08 / 08Usage example

Extend the project to layout in a later turn

Your input

Now use $virtuoso-layout to plan layout from the validated schematic. Inspect my technology, PCells, layers and vias before proposing placement and routing. Report DRC, LVS and PEX separately, then hand post-layout simulation to testbench.

Agent response

I will read current technology binding and actual terminal geometry, then plan supplies, devices and sensitive routes according to your PDK. Checks require the appropriate tools, licenses and rule decks. Each check gets fresh evidence; unrun checks are marked as unrun.

This turn delivers

This is a follow-up usage example, not an executed OSC layout. Basic rectangle, label and via operations were tested; full DRC/LVS/PEX, post-layout simulation and tapeout signoff were not completed.

↳ Combine the five skills as the task needs; every project need not use all stages.

Explore the actual cases

Combine skills across turns

This workflow was developed and validated around Virtuoso running in a Linux virtual machine on VMware, with the agent connecting through the bridge and SSH. Running Virtuoso directly on a native CentOS or Red Hat host has not been tried and is not a validated setup.

Describe a goal, let the agent clarify conditions and execute, inspect the drawing and measurements, then request the next change. Connection state, design variables, run history and saved recommendations connect those turns. The skills are task roles rather than five mandatory sequential stages.

Need Skill Handoff
Python, SSH, tunnel or CIW connection virtuoso-connect testbench or layout after connection
Schematic, symbol, testbench and ADE virtuoso-testbench params after a trustworthy baseline
Measurement-driven sizing or bias tuning virtuoso-params Independent validation and editable delivery
Placement, routing and physical checks virtuoso-layout testbench for post-layout simulation
UI, menus, hotkeys, concepts or errors virtuoso-helper Continue the original project after guidance

A skill is workflow guidance and supporting scripts. Cadence SKILL is a scripting language. The external virtuoso_bridge provides communication; Spectre performs circuit simulation. These skills do not replace licensed EDA software or your own PDK.

virtuoso-connect

Use for first-time connection or transport diagnosis.

Use $virtuoso-connect to read my local config, inspect Python and the installed bridge API, then verify SSH, the tunnel and CIW. Work only in my designated workspace and report each successful check and missing field.

The agent selects the configured interpreter and .env, checks the tunnel and remote listener separately, and verifies a read-only CIW command. It reports versions, configuration source and scope without printing secrets. A reachable port alone does not prove Virtuoso is ready.

virtuoso-testbench

Use for DUT/symbol/TB creation or editing, ADE configuration, a single simulation, result export and project-hierarchy copying.

Use $virtuoso-testbench to create a compact RC low-pass testbench with R = 2 kΩ, C = 1 pF and unit AC input. Use continuous terminal-to-terminal wires, verify connectivity, save, run AC, and return this run's bandwidth and waveform.

The agent reads actual terminals, CDF fields and installed API signatures, checks symbol ports and the generated netlist, and records supply, stimulus, load, models, corner and measurement definitions. Deliveries include editable drawings, setup, run IDs and measured data bound to the exact history/test/corner/point. Ongoing tuning belongs to params. Hierarchical copying needs an explicit plan and separate simulation-equivalence checks.

virtuoso-params

Use when a circuit and trustworthy measurements already exist.

Use $virtuoso-params to tune this OSC within the specified bounds, keeping Wp = 2 × Wn. Analyze each result, run only one candidate at a time and retain the best measured feasible point. Include independent validation in the budget and leave final Maestro/ViVA views open.

Define units, bounds, constraints, corner and a finite budget; save a baseline. Each candidate includes a reason and is measured before selecting the next one.

Strategy Decision source Evidence
Agent reasoning, default Current agent examines circuit, operating points and history Hypothesis, parameter change and real measurement
GP proposal Gaussian processes refitted from valid observations Training data and predicted candidate, separate from measurements
Hybrid GP proposes; agent checks physical relationships Acceptance/revision reason and measured feedback

The GP script uses scikit-learn, not BoTorch. A pool of 512 candidates is scored by the surrogate; only one is simulated. The legacy grid/random search remains a compatibility entry and is not agent reasoning. Missing metrics, failed runs, non-finite values and history mismatches are invalid evaluations.

Deliver baseline/final values, round-by-round reasons, measurements, budget, independent validation and untested conditions. The OSC example selected greater frequency accuracy at slightly higher power than an earlier feasible point, rather than optimizing every metric at once.

virtuoso-layout

Use for physical design after schematic review, or existing-layout edits.

Use $virtuoso-layout to inspect this circuit's technology, PCell terminals, layers and vias. Propose compact placement, supplies and sensitive routing. Report DRC, LVS and PEX separately and identify checks that were not run.

The agent reads current binding, manufacturing grid, legal layers and viaDefs before applying PDK-specific rules. DRC, LVS and PEX answer different questions and need separate fresh evidence. Deliver editable geometry, pins, GDS and logs, or identify missing tools/licenses/decks. The OSC example did not include layout; only basic rectangles, labels and vias were tested.

virtuoso-helper

Use at any point for UI guidance, menus, hotkeys, terminology or errors.

Use $virtuoso-helper to explain how schematic wn/wp expressions relate to Maestro variables and how to keep tuning. State the editor context and how I can verify completion; do not guess my screen.

Deliver concrete steps and explanations. Bindkeys depend on editor and local customization. Pure guidance does not start a bridge; execution requests are handed to the appropriate sibling skill. Six summarized chapters and a cheatsheet retain the source skill's attribution to Cadence's Basics of Analog Flow RAK; the original PDF is not distributed.

Install and start

Give your agent one installation prompt

Visit the five-skill source directory on GitHub, or open the GitHub ZIP page and download the raw file. The public repository requires no login.

Read skills/virtuoso-workflow/README.md and export-manifest.json from the main branch
of https://github.com/CATEular/skill and download the listed files.
Review all five SKILL.md files, scripts and dependencies. Install virtuoso-connect,
virtuoso-testbench, virtuoso-params, virtuoso-layout and virtuoso-helper as siblings
in a supported skill directory. Codex supports ~/.agents/skills/ for user skills
and .agents/skills/ for project skills. Do not overwrite same-name skills or an
existing config.local.json; show differences first if an older version exists.
Copy config.example.json to virtuoso-connect/config.local.json. Help me identify
and fill my own Python, bridge .env location, VM, authorized library, PDK and
simulation paths without guessing or printing credentials. Reuse an existing
virtuoso_bridge; if missing, follow its official setup in a separate Python
environment and inspect API compatibility. Verify skill discovery and relative
references, run api_probe.py locally, then perform a read-only connection check
with virtuoso-connect. Report completed checks and remaining configuration gaps.

Keep the five folders together because their relative references depend on sibling paths. See the official skill documentation for discovery locations. Start a fresh conversation, or restart the app if newly installed skills do not appear.

Install three separate layers

  1. Skills: instructions, references and helper scripts.
  2. Bridge: Python and the external virtuoso-bridge-lite.
  3. EDA environment: SSH-accessible VM/Linux host, running Virtuoso, Spectre/OCEAN, licenses and an authorized PDK.

A browser-only chat without local file and execution capabilities cannot access a private VM just by reading SKILL.md.

For a new bridge environment on Windows, use a dedicated local working folder:

git clone https://github.com/Arcadia-1/virtuoso-bridge-lite.git
cd virtuoso-bridge-lite
python -m venv .venv
& ./.venv/Scripts/python.exe -m pip install -e .
& ./.venv/Scripts/virtuoso-bridge.exe --help
& ./.venv/Scripts/virtuoso-bridge.exe init

Fill the private bridge .env using your installed version's help, then run start/status and load the exact CIW command printed by start. Reuse working installations. These steps follow the bridge documentation; verify current signatures and command behavior locally.

One shared private configuration

All five skills read virtuoso-connect/config.local.json. The download supplies an example with empty fields, not a runnable environment.

Section Supply your own
local Python interpreters, bridge source/.env and skill/project directories
bridge SSH host/user/port, forwarded ports and optional profile
remote Authorized workspace, cds.lib, result/OCEAN directories and executables
design Work library, path and technology
pdk Authorized library, device map, model path and valid sections

Precedence: explicit configuration → VIRTUOSO_WORKFLOW_CONFIG → default local file. Bridge credentials remain in its separate .env; the workflow references only its location. Schema validation does not verify connectivity, every path, licenses or model usability.

Agent reasoning needs no additional model API client. GP proposals need NumPy/SciPy/scikit-learn; YAML cloning helpers need PyYAML. Install only for your intended use:

python -m pip install -r requirements-optional.txt

A first exercise

Verify read-only connectivity, then try the RC case. Once AC/OCEAN readback works, change one parameter and independently rerun it. Move on to the OSC conversation after the measurement chain is trustworthy.

Deliver a project you can continue

  • Editable drawings with compact, continuous wiring.
  • Measurements bound to exact result IDs; evaluate every required test/corner/point.
  • Saved recommended dimensions with units, supply, load, corner and conditions; retain parameter expressions.
  • Selected values applied in ADE and independently rerun, with final Maestro results and ViVA waveform from the same history left open.
  • Explicit untested conditions. The OSC record covers TT schematic simulation, not PVT, phase noise, physical design or tapeout signoff.

Download contents and references

GitHub provides inspectable source and a ZIP with an explicit manifest and attribution. No private config, credentials, PDK model, project log or website development preset is included.

Recorded validation used bridge 0.7.0, IC 6.1.8 and Spectre 18.1. OCEAN readers depend on an internal bridge SSH runner; inspect compatibility after upgrades. Version-specific fallback APIs are not universal guarantees.

Worker isolation was informed by virtuoso-agent. This workflow launches Spectre through SKILL/ADE and uses isolated OCEAN for result reading. A pure-OCEAN simulation backend was not compared directly for speed, and GP was not shown to outperform agent reasoning.

Search learning topics, notes, papers and projects