caidish/klayoutclaw/geometry
Claude Code and agent skill by caidish/klayoutclaw
- community
Checking that the SKILL.md file is still in the repository.
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", "create a cell", "place an instance", "make a shape", or any layout/chip/mask design geometry task.
Install
npx vskill@latest install caidish/klayoutclaw/geometrySKILL.md
KLayout Geometry Skills
CLI scripts for creating geometry in KLayout via the MCP server's execute_script tool.
Each script connects to KLayout at 127.0.0.1:8765 and runs pya code to create shapes.
Prerequisites
- KLayout running with KlayoutClaw plugin (v0.3+)
- A layout must be open (use
create_layouttool first)
Scripts
All scripts live in scripts/ relative to this skill. Coordinates are in microns.
add_rect.py — Add a rectangle
Example: python scripts/add_rect.py TOP 1 0 -50 -12.5 50 12.5
add_polygon.py — Add a polygon
Example: python scripts/add_polygon.py TOP 1 0 0,0 10,0 10,10 0,10
add_path.py — Add a path with width
Example: python scripts/add_path.py TOP 1 0 5 0,0 50,0 50,50
create_cell.py — Create a new cell
Example: python scripts/create_cell.py CONTACT_PAD
add_instance.py — Place a cell instance
Example: python scripts/add_instance.py TOP CONTACT_PAD 100 200
Workflow
For simple shapes, call scripts directly. For complex designs with many shapes, prefer calling execute_script via MCP with a single Python block — this avoids per-shape HTTP round trips and is much faster.
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/geometry/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/geometry)