/klayoutclaw:visualfrom klayoutclaw
Captures the current KLayout layout as a PNG image for visual inspection, using gdstk and matplotlib to render GDS geometry with colored layers and a legend.
Ships in klayoutclaw. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Save the current KLayout layout to a temporary GDS file, convert it to PNG, and return both file paths for visual inspection.
gdstk, matplotlib, numpy (available in the instrMCPdev conda env)python scripts/capture.py [--output path.png] [--gds path.gds] [--dpi 200]
--output 鈥?PNG output path. If the user has a working directory or stack path, save there instead of /tmp.--gds 鈥?GDS output path. Same rule: prefer the user's working directory over /tmp.--dpi 鈥?Image resolution (default: 200)Returns the paths to both the GDS and PNG files, printed to stdout.
Example:
python scripts/capture.py
# Output:
# GDS saved: /tmp/klayoutclaw_capture.gds
# PNG saved: /tmp/klayoutclaw_capture.png
save_layout via MCP to write the current layout to a temp GDS filetools/gds_to_image.py from the KlayoutClaw repo to convert GDS to PNGThe GDS-to-PNG conversion uses gdstk to parse the GDS and matplotlib to render all layers with distinct colors and a legend.
Use the Read tool on the PNG path to view the image directly in the conversation. This gives immediate visual feedback on layout geometry.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/autocadEdit and export layout geometry in the optional AutoCAD for Mac backend when the user selects AutoCAD or requests native DWG editing through its MCP server./displayklayoutclaw:displayToggle KLayout layer visibility on and off for better visualization. Use this skill when the user wants to show/hide layers, toggle layer display, change layer visibility, or focus on specific layers in KLayout. Also trigger when the user says things like "hide the metal layer", "show only mesa", "turn off layer 3", or wants to isolate layers for inspection./e2e-judgeklayoutclaw:e2e-judgenpx claudepluginhub caidish/klayoutclaw --plugin klayoutclawOther plugins' skills for the same job