# curl is pre-installed on macOS, Linux, and Windows (Git Bash / WSL)
curl --versionThat's it. Diagrams render via https://kroki.io.
docker run -d -p 8000:8000 yuzutech/kroki
# Then point the skill at the local endpoint
curl -s -X POST http://localhost:8000/plantuml/png \
-H "Content-Type: text/plain" \
--data-binary "@diagram.puml" \
-o diagram.png# macOS
brew install graphviz openjdk
# Ubuntu/Debian
sudo apt install graphviz default-jre
# Download plantuml.jar from https://plantuml.com/download
java -jar plantuml.jar diagram.puml
# → diagram.png is written next to the source| Platform | Notes |
|---|---|
| macOS | curl ships with the OS; Homebrew handles graphviz / openjdk for Option C |
| Windows | Use Git Bash or WSL so curl is available; install Java + Graphviz for Option C |
| Linux | curl ships with most distros; apt/yum/pacman install graphviz + default-jre |
- Public Kroki rate limits: The hosted
kroki.ioendpoint is shared and best-effort; for heavy workloads run your own Kroki container (Option B) - Network required by default: Option A needs egress to
kroki.io. Use Option B (local Docker) or Option C (jar) for offline / air-gapped environments - C4
!includedirectives: The public PlantUML web server resolves!includeURLs at render time; Kroki may not. Use Kroki's dedicatedc4plantumlendpoint instead (https://kroki.io/c4plantuml/png) - Graphviz needed for some diagram types: Activity and class diagrams use Graphviz internally — Option C requires
graphvizto be installed alongside Java - No vision-based self-check: Unlike
drawio-skill, this skill does not read back the rendered PNG to auto-fix layout issues