claude

klayoutclaw

Control KLayout from AI agents via MCP — geometry, display, image overlay, visual capture, nanodevice flake detection, GDS alignment, and routing skills

40 on GitHubby caidishv0.6.0MITupdated 3 months ago
/

Plugin klayoutclaw from marketplace klayoutclaw in caidish/KlayoutClaw. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Skills (17)

  • klayoutclaw:display

    Toggle 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", "t

  • klayoutclaw:e2e-judge

    Run 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 agen

  • klayoutclaw:geometry

    Create 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"

  • klayoutclaw:image

    Load 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.

  • klayout_gds_import

    Import 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_design

    Orchestrate 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.

  • nanodevice_flakedetect

    Use when detecting flakes from multiple microscope images, aligning cross-substrate van der Waals stacks, segmenting hBN/graphene/graphite, committing polygons to KLayout, aligning detections to a GDS template, or producing scored result.gds outputs.

  • nanodevice_flakedetect_align

    Register source microscope images to the full_stack coordinate system using SIFT (same-substrate) or Chamfer+DE (cross-substrate) alignment. Use when aligning bottom_part, top_part, or other source images to the full_stack reference image for van der Waals stack detection.

  • nanodevice_flakedetect_combine

    Transform detection results into the common full_stack coordinate system, build unified traces.json, and draw overlay images. Use after align and detect steps are complete.

  • nanodevice_flakedetect_commit

    Insert detected flake polygons into KLayout as GDS geometry using the geometry skill's add_polygon.py. Use after combine completes to commit traces.json contours as polygons on the correct layers.

  • nanodevice_flakedetect_detect

    Detect individual material layers (graphite, graphene, bottom hBN, top hBN) from their optimal source images. Use when segmenting specific materials in a van der Waals heterostructure stack from microscope images.

  • nanodevice_flakedetect_review

    Agent review protocol for validating committed flake polygons in KLayout. Use after the commit step to visually inspect polygons against the microscope image, verify contour quality, and decide pass/fail/retry.

  • nanodevice_flakedetect_sam

    SAM2-prompt assisted flake detection. Wraps the standard four flake detectors, emits prompt candidate images, optionally refines the selected candidate through local SAM2, and preserves the normal flakedetect output contract.

  • nanodevice_gdsalign

    Align microscope stack images to a GDS fabrication template using lithographic marker detection. Computes image鈫扜DS transform and commits warped image + material contours to KLayout.

  • nanodevice_routing

    Route nanodevice contacts to bonding pads with multi-window EBL support. Use this skill when the user needs to place bonding pads, route leads from device contacts to pads, set up multi-window EBL routing with different line widths per window, or add boundary connection patches between EBL write fie

  • trd

    Use when implementing any task using Test-Reinforced Development — separates test writing (Overseer) from implementation (Executor) with anti-cheating enforcement. Invoke with /trd <task description>.

  • klayoutclaw:visual

    Capture the current KLayout layout as a PNG image for visual inspection. Use this skill whenever the user wants to see, view, screenshot, preview, or visually inspect the current layout. Also trigger when the user asks "what does it look like", "show me the layout", "take a screenshot", "capture the

MCP servers (1)

  • klayoutclaw

    runs: npx mcp-remote http://127.0.0.1:8765/mcp --allow-http

View source on GitHub

Similar plugins

claude-mem

claudecodex

Persistent memory for Claude Code: the next session starts where the last one left off.

29 skills · 1 MCP server · hooks

thedotmack/claude-mem 116,618

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 64,709

mempalace

claudecodex

AI memory system — mine projects and conversations into a searchable palace. 47 MCP tools, auto-save hooks, guided setup.

3 skills · 6 commands · 1 MCP server · hooks

MemPalace/mempalace 60,536

Reliable automation, in-depth debugging, and performance analysis in Chrome using Chrome DevTools and Puppeteer

8 skills · 1 MCP server

ChromeDevTools/chrome-devtools-mcp 55,181

gitnexus

claudecodex

Code intelligence powered by a knowledge graph. Provides execution flow tracing, blast radius analysis, and augmented search across your codebase.

12 skills · 1 MCP server · hooks

abhigyanpatwari/GitNexus 48,482

daisyUI Blueprint MCP server - (Needs paid license)

saadeghi/daisyui 42,821

Maintain klayoutclaw?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted