custom-layout

custom-layout is a skill for Claude Code from hdl-tools/analog-chip-design-agents. It costs 69 tokens per session (2,399 once invoked), scanned A, original, MIT.

Guidance for designing the physical layout of analog circuit blocks with matched parts, symmetry, shielding, and routing constraints.

In plain words
What is it for?
Use it for floorplanning, matched-device generation, analog placement and routing, layout finishing, pre-DRC checks, and servicing layout fix requests.
Why use it?
It explains how to turn a completed schematic into a layout that is ready for design-rule checking and how to repair layout problems after verification.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the analog-design-layout plugin — 1 skill, 1 agent shipped together

Good fit Use it for floorplanning, matched-device generation, analog placement and routing, layout finishing, pre-DRC checks, and servicing layout fix requests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hdl-tools/analog-chip-design-agents/custom-layout
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hdl-tools/analog-chip-design-agents --skill custom-layout
Clone the repo
git clone --depth 1 https://github.com/hdl-tools/analog-chip-design-agents

Made for: Claude Code.

Or install analog-design-layout, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/custom-layout/github.svg)](https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/custom-layout)
Your own site
<a href="https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/custom-layout"><img src="https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/custom-layout/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for custom-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/hdl-tools/analog-chip-design-agents/custom-layout"><img src="https://agentmods.dev/badge/skills/hdl-tools/analog-chip-design-agents/custom-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.02399
Opus 5 $0.00034 $0.01200
Sonnet 5 $0.00014 $0.00480
Haiku 4.5 $0.00007 $0.00240

Measured 9d ago against content hash b93140f92b3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

custom-layout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/layout/skills/custom-layout/SKILL.md · 252 lines

How it starts

The opening of the file, as written. The whole thing — 252 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Custom Layout

Invocation

  • If invoked by a user presenting a layout task: immediately spawn the analog-chip-design-agents:custom-layout-orchestrator agent and pass the full user request and any available context. Do not execute stages directly.
  • If invoked by the custom-layout-orchestrator mid-flow (including fix-request servicing): do not spawn a new agent. Treat this file as read-only — return the requested stage rules, sign-off criteria, or loop-back guidance.

Spawning the orchestrator from within an active orchestrator run causes recursive delegation and must never happen.

Pre-run Context

Before executing or advising on any stage, read the following if they exist:

  1. memory/layout/knowledge.md — known matching recipes, density/antenna fixes, PDK layer quirks. Incorporate its guidance into every placement/routing decision.
  2. memory/layout/run_state.md — current run identity (run_id, design_name, pdk, last_stage) for resume-after-interruption.

Purpose

Turn a sign-off-ready schematic + netlist into a DRC-ready GDS layout that honours analog matching, symmetry, and shielding constraints. Six stages with explicit QoR gates and loop-back criteria enforced by the custom-layout orchestrator. Custom-layout also services fix_requests routed to it (DRC/LVS repairs from physical-verification; parasitic-reduction from post-layout / extraction).


Supported EDA Tools

Open-Source

  • Magic (magic) — layout editor + DRC/extraction; sky130/gf180mcu/ihp-sg13g2 support (freepdk45/asap7 predictive PDKs are usable but academic — asap7 FinFET/multi-patterning rules are best handled in KLayout)
  • KLayout (klayout) — layout viewer/editor, DRC/LVS decks, scripting (Python/Ruby)
  • gdsfactory / gdstk (python -m gdsfactory) — programmatic GDS generation
  • ALIGN / MAGICAL — analog layout automation (place & route)
  • BAG / BAG3 layout generators — generator-based parametric layout

Read the full file on GitHub · 252 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 252 lines · 69 tokens per session scan A b93140f92b3c

Subscribe to this mod's changes

custom-layout is a skill published in the GitHub repository hdl-tools/analog-chip-design-agents (22 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 2,399 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

cad-viewer

Start CAD Viewer and return review links for CAD and robot-description files. Use when visually reviewing .step, .stp, .glb, .stl, .3mf, .dxf, .urdf, .srdf, or .sdf files, especially when handed off from CAD, URDF, SRDF, or SDF generation skills.

earthtojake/text-to-cad · 79 tokens

solidworks-vibecad

A planning guide for turning natural-language mechanical design requests into structured, parameterized SolidWorks plans that can be reviewed before execution.

wzyn20051216/solidworks-automation-skill · 96 tokens

add-interfaces

Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically. Use for /pc:add-interfaces or when the user asks to add interfaces, ports, connectors, or mating information to a part, or to make parts snap/connect/assemble together.

partcad/partcad · 69 tokens

gen-assembly

Generate a PartCAD assembly (an ASSY that composes parts with placement and/or mates) from a description, generating or reusing the component parts and validating the result with the PartCAD CLI. Use for /pc:gen-assembly or when the user asks to generate or create an assembly, mechanism, or multi-part product.

partcad/partcad · 71 tokens

render

Render a PartCAD object or a CAD file to a 2D image - PNG, JPEG, SVG or DXF - from one or many viewing angles (front, back, left, right, top, bottom, iso, or an arbitrary direction), with pc render for an object a package declares or pc adhoc render for a file that belongs to no package. Use for /pc:render or when the…

partcad/partcad · 168 tokens

gen-part

Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI. Use for /pc:gen-part or when the user asks to generate, create, or model a single mechanical part.

partcad/partcad · 60 tokens