caidish/klayoutclaw/visual
Claude Code and agent skill by caidish/klayoutclaw
- community
Checking that the SKILL.md file is still in the repository.
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 design", or needs a visual check of their GDS geometry.
Install
npx vskill@latest install caidish/klayoutclaw/visualSKILL.md
KLayout Visual Capture
Save the current KLayout layout to a temporary GDS file, convert it to PNG, and return both file paths for visual inspection.
Prerequisites
- KLayout running with KlayoutClaw plugin (v0.3+)
- A layout with geometry must be open
- Python packages:
gdstk,matplotlib,numpy(available in theinstrMCPdevconda env)
Script
capture.py 鈥?Capture layout as PNG
--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:
How It Works
- Calls
save_layoutvia MCP to write the current layout to a temp GDS file - Runs
tools/gds_to_image.pyfrom the KlayoutClaw repo to convert GDS to PNG - Prints both file paths
The GDS-to-PNG conversion uses gdstk to parse the GDS and matplotlib to render all layers with distinct colors and a legend.
After Capture
Use the Read tool on the PNG path to view the image directly in the conversation. This gives immediate visual feedback on layout geometry.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/visual/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/caidish/klayoutclaw/visual)