excalidrawGenerate hand-drawn style diagrams, flowcharts, and architecture diagrams as PNG images from Excalidraw JSON
Install via ClawdBot CLI:
clawdbot install a-anand-91119/excalidrawGenerate beautiful hand-drawn style diagrams rendered as PNG images.
/tmp/.excalidraw node /scripts/render.js /tmp/.excalidraw /tmp/.png filePathnode <skill_dir>/scripts/render.js input.excalidraw output.png
| Type | Shape | Key Props |
|------|-------|-----------|
| rectangle | Box | x, y, width, height |
| ellipse | Oval | x, y, width, height |
| diamond | Decision | x, y, width, height |
| arrow | Arrow | connects shapes (see Arrow Binding below) |
| line | Line | x, y, points: [[0,0],[dx,dy]] |
| text | Label | x, y, text, fontSize, fontFamily (1=hand, 2=sans, 3=code) |
{
"strokeColor": "#1e1e1e",
"backgroundColor": "#a5d8ff",
"fillStyle": "hachure",
"strokeWidth": 2,
"roughness": 1,
"strokeStyle": "solid"
}
fillStyle: hachure (diagonal lines), cross-hatch, solid
roughness: 0=clean, 1=hand-drawn (default), 2=very sketchy
Always use from/to bindings for arrows. The renderer auto-calculates edge intersection points โ no manual coordinate math needed.
{"type":"arrow","id":"a1","from":"box1","to":"box2","strokeColor":"#1e1e1e","strokeWidth":2,"roughness":1}
That's it. No x, y, or points needed. The renderer computes start/end at shape edges.
For arrows that need to go around obstacles, use absolutePoints with intermediate waypoints:
{
"type":"arrow","id":"a2","from":"box3","to":"box1",
"absolutePoints": true,
"points": [[375,500],[30,500],[30,127],[60,127]],
"strokeColor":"#1e1e1e","strokeWidth":2,"roughness":1
}
Place a separate text element near the arrow midpoint:
{"type":"text","id":"label","x":215,"y":98,"width":85,"height":16,"text":"sends data","fontSize":10,"fontFamily":1,"strokeColor":"#868e96"}
"strokeStyle":"dashed" โ dashed line"startArrowhead": true โ bidirectional arrow{
"type": "excalidraw",
"version": 2,
"elements": [
{"type":"rectangle","id":"start","x":150,"y":50,"width":180,"height":60,"strokeColor":"#1e1e1e","backgroundColor":"#b2f2bb","fillStyle":"hachure","strokeWidth":2,"roughness":1},
{"type":"text","id":"t1","x":200,"y":65,"width":80,"height":30,"text":"Start","fontSize":20,"fontFamily":1,"strokeColor":"#1e1e1e"},
{"type":"arrow","id":"a1","from":"start","to":"decision","strokeColor":"#1e1e1e","strokeWidth":2,"roughness":1},
{"type":"diamond","id":"decision","x":140,"y":170,"width":200,"height":120,"strokeColor":"#1e1e1e","backgroundColor":"#ffec99","fillStyle":"hachure","strokeWidth":2,"roughness":1},
{"type":"text","id":"t2","x":185,"y":215,"width":110,"height":30,"text":"Condition?","fontSize":18,"fontFamily":1,"strokeColor":"#1e1e1e","textAlign":"center"},
{"type":"arrow","id":"a2","from":"decision","to":"process","strokeColor":"#1e1e1e","strokeWidth":2,"roughness":1},
{"type":"rectangle","id":"process","x":150,"y":350,"width":180,"height":60,"strokeColor":"#1e1e1e","backgroundColor":"#a5d8ff","fillStyle":"hachure","strokeWidth":2,"roughness":1},
{"type":"text","id":"t3","x":190,"y":365,"width":100,"height":30,"text":"Process","fontSize":20,"fontFamily":1,"strokeColor":"#1e1e1e"}
]
}
Fills: #a5d8ff (blue), #b2f2bb (green), #ffec99 (yellow), #ffc9c9 (red), #d0bfff (purple), #f3d9fa (pink), #fff4e6 (cream)
Strokes: #1e1e1e (dark), #1971c2 (blue), #2f9e44 (green), #e8590c (orange), #862e9c (purple)
Labels: #868e96 (gray, for annotations)
id (required for binding!)from/to on arrows โ don't calculate coordinates manuallyroughness:0 for clean diagrams, 1 for sketchy feelfontFamily:1 for hand-drawn, 3 for codeGenerated Mar 1, 2026
Developers and architects can quickly generate hand-drawn style diagrams to visualize system components, data flows, and microservices interactions. This aids in onboarding, documentation, and design reviews, making complex architectures more accessible and engaging.
Business analysts and consultants can create flowcharts to map out workflows, decision trees, and operational processes. The sketch-like aesthetic helps in brainstorming sessions and presentations, fostering collaboration and clarity in process improvement initiatives.
Educators and trainers can produce diagrams for teaching concepts in subjects like computer science, engineering, or project management. The visual appeal enhances learning materials, making abstract ideas tangible and easier for students to grasp.
Project managers and teams can use diagrams to outline project timelines, milestones, and dependencies. This supports agile planning, stakeholder communication, and visual tracking of progress in a more engaging format than traditional charts.
Marketing professionals can diagram customer journeys, sales funnels, and campaign workflows. The hand-drawn style adds a creative touch to presentations and reports, helping to illustrate strategies and conversion paths effectively.
Offer a free tier with basic diagram generation and limited exports, while premium plans provide advanced features like custom templates, high-resolution PNGs, and team collaboration tools. Revenue is generated through monthly subscriptions and enterprise licenses.
Provide an API that allows developers to integrate diagram generation into their applications, charging based on usage tiers such as number of diagrams rendered or API calls. This targets tech companies needing automated visual documentation.
License the diagram generation technology to large organizations for internal use, with customization options like branded colors and templates. Revenue comes from one-time setup fees and ongoing support contracts.
๐ฌ Integration Tip
Integrate this skill into chat-based AI assistants to allow users to describe diagrams in natural language, which the agent then converts into Excalidraw JSON and renders as PNGs for easy sharing.
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
Convert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
็จ MinerU API ่งฃๆ PDF/Word/PPT/ๅพ็ไธบ Markdown๏ผๆฏๆๅ ฌๅผใ่กจๆ ผใOCRใ้็จไบ่ฎบๆ่งฃๆใๆๆกฃๆๅใ
The awesome PPT format generation tool provided by baidu.
AI-powered PDF generator for legal docs, pitch decks, and reports. SAFEs, NDAs, term sheets, whitepapers. npx ai-pdf-builder. Works with Claude, Cursor, GPT, Copilot.