# Synth doctor

> Synth doctor is an open-source agent skill for developer tools. Diagnoses Yosys and OpenROAD chip-design tool failures and suggests fixes. 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/synth-doctor
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** synth-doctor
- **Collection:** https://github.com/vibeic/vibe-ic
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Synth Doctor is a skill for EDA (electronic design automation) flows. When a Yosys synthesis or OpenROAD place-and-route step fails, it guides the agent to read the native log, identify the failed command and diagnostic, and match the error against a table of known failure patterns such as multiple drivers, latch inference, floorplan site errors and congestion. Each pattern is treated as a repair idea that must be verified against the actual design before any change is made.

The skill also bundles a Python script that checks RTL for ripple-carry adder chains that may risk slow-corner timing failures, and it includes notes on tie-cell mapping, sparse state register preservation and clock gating. The workflow asks the agent to reproduce the cause with the smallest relevant native run, fix it, rerun the affected steps under the original constraints, and review timing, area and functional results before reporting completion.

The skill expects a working Yosys, OpenROAD or LibreLane setup and the design's RTL and logs. It is written around a Phase 2 build process and a PDK such as sky130.

## When your agent uses it

> Automatically diagnose and fix EDA tool failures. Parses Yosys synthesis and OpenROAD P&R logs, classifies errors into known patterns, and provides actionable fix commands. Triggers when: synthesis fails, P&R fails, 'why did synth fail', 'fix synthesis error', 'DRC violation', or any EDA tool error during Phase 2. Proactively suggest this when any Phase 2 tool returns non-zero exit code.

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

## Features

- **Known error pattern matching:** Maps Yosys and OpenROAD diagnostics to named failure categories with suggested repair approaches.
- **Native log reading:** Directs the agent to identify the failed command, design scope and raw diagnostic before changing anything.
- **Slow-corner adder risk check:** Includes a Python script that flags ripple-carry chains likely to fail timing at the slow corner.
- **Tie-cell synthesis pass:** Explains how to map constant nets to physical tie cells so routing does not reject them.
- **Verified repair loop:** Calls for reproducing the cause, fixing it and rerunning affected steps under original constraints.

## Good for

- Find out why a Yosys synthesis run failed on my RTL
- Fix a DRT-0305 zero net error during detailed routing
- Check my adder chains for slow-corner timing risk before synthesis
- Diagnose OpenROAD floorplan or site-not-found errors
- Preserve sparse FSM state encodings through synthesis

## 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/synth-doctor`:

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

For one project only, put the folder in `.claude/skills/synth-doctor` inside it instead.

### Codex

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

For one repository only, put the folder in `.agents/skills/synth-doctor` inside it instead.

### Cursor

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

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

Or copy the folder to `~/.gemini/skills/synth-doctor` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/synth-doctor`:

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

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

## FAQ

### When does Synth doctor trigger?

It triggers when synthesis or place-and-route fails, when asked why synthesis failed or to fix a synthesis error, on DRC violations, and proactively when a Phase 2 tool returns a non-zero exit code.

### What does Synth doctor need to run?

It needs the Yosys, OpenROAD or LibreLane logs and the design RTL. The skill bundles a Python script for the adder risk check.

### Does Synth doctor change my design automatically?

The skill asks the agent to verify each suspected cause in the actual design before changing it and to rerun native checks afterward; it does not apply fixes blindly.

### How do I install Synth doctor in Claude Code?

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

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 Synth doctor?

The closest alternatives to Synth doctor are Rtl repair, Equivalence check, Rtl review, Analog flow orchestrate and Hw debug loop.

## Where this comes from

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

## Alternatives

- [Rtl repair](https://ai-powered.com/skills/rtl-repair): Rtl repair is an open-source agent skill for developer tools.
- [Equivalence check](https://ai-powered.com/skills/equivalence-check): Equivalence check is an open-source agent skill for developer tools.
- [Rtl review](https://ai-powered.com/skills/rtl-review): Rtl review 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.
- [Hw debug loop](https://ai-powered.com/skills/hw-debug-loop): Hw debug loop is an open-source agent skill for developer tools.
- [Sta review](https://ai-powered.com/skills/sta-review): Sta review is an open-source agent skill for developer tools.
- [Yield diagnostic](https://ai-powered.com/skills/yield-diagnostic): Yield diagnostic is an open-source agent skill for developer tools.
- [Phase3 backend verify](https://ai-powered.com/skills/phase3-backend-verify): Phase3 backend verify is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/synth-doctor
