sketch-to-diagram
Installation
SKILL.md
Sketch-to-Diagram Skill
Goal
Transform hand-drawn sketches (whiteboard photos, napkin drawings, paper wireframes) into formal, editable digital diagrams using the Sketch → Recognize → Redraw pipeline:
- Recognize: Image recognition MCP describes elements, connections, and labels from the sketch
- Structure: Agent organizes recognized elements into a structured diagram description
- Redraw: Agent generates formal diagram via Excalidraw MCP, Mermaid code, or Draw.io XML
Prerequisites
- Image Recognition MCP:
image-recognitionmust be configured (requiresANTHROPIC_API_KEYorOPENAI_API_KEY) - Output MCP (at least one):
excalidraw— for.excalidrawoutputdrawio— for Draw.io XML output- Or none — for Mermaid text output (no MCP needed)
- Optional: Tesseract OCR installed for text extraction from noisy images