/klayoutclaw:displayfrom klayoutclaw
Toggles KLayout layer visibility on/off for better visualization during design review. Use to hide, show, or isolate specific layers via scripts.
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.
Toggle layer visibility in KLayout via the MCP server for better visualization during design review.
python scripts/toggle_layer.py <layer> <datatype> [on|off]
on — make layer visibleoff — make layer invisibleExamples:
python scripts/toggle_layer.py 1 0 off # hide mesa layer
python scripts/toggle_layer.py 2 0 on # show metal layer
python scripts/toggle_layer.py 3 0 # toggle bonding pads
python scripts/show_only.py <layer1/dt1> [<layer2/dt2> ...]
Example:
python scripts/show_only.py 1/0 2/0 # show only mesa + metal, hide pads
The scripts use execute_script to manipulate pya.LayerProperties in the current LayoutView. Each layer properties entry has a visible attribute that controls display.
For custom display manipulation beyond these scripts, use execute_script directly:
tool_call("execute_script", code="""
lp_iter = _layout_view.begin_layers()
while not lp_iter.at_end():
lp = lp_iter.current()
lp.visible = (lp.source_layer == 1) # show only layer 1
_layout_view.set_layer_properties(lp_iter, lp)
lp_iter.next()
""")
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub caidish/klayoutclaw --plugin klayoutclaw18 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./e2e-judgeklayoutclaw:e2e-judgeRun agentic E2E tests for KlayoutClaw. Gives Claude Code natural-language tasks, lets it autonomously choose MCP tools, independently verifies layout state via direct MCP calls, and judges outcomes with gpt-5-mini. Use when the user wants to run agentic tests, validate KlayoutClaw, or benchmark agent performance./geometryklayoutclaw:geometryCreate geometry in KLayout via MCP — rectangles, polygons, paths, cells, and cell instances. Use this skill whenever the user wants to draw, add, or create shapes/geometry/structures in KLayout, even if they don't say "geometry" explicitly. Trigger on phrases like "draw a rectangle", "add a polygon", "create a cell", "place an instance", "make a shape", or any layout/chip/mask design geometry task./imageklayoutclaw:imageLoad a reference image (microscope photo, optical image, SEM) into KLayout as a background overlay for design alignment. Use this skill whenever the user wants to load an image, add a background image, overlay a microscope photo, import a reference picture, align to a photo, or trace over an image. Also trigger when the user says "load this image", "use this photo as reference", "overlay the microscope image", or needs to position/scale/remove background images./klayout_gds_importImport a GDS file into the current KLayout layout, flatten hierarchy, and merge into a single top cell. Use this instead of raw Layout.read() which leaves orphaned cell indices and multi-top-cell states./nanodevice_e2e_designOrchestrate end-to-end nanodevice design from user query through optional flake detection, material analysis, device geometry creation, routing, evaluation, and save. Device-agnostic methodology -- the agent derives physics rules from device type and available materials.Other plugins' skills for the same job