Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

PlantUML

$ plantuml Community Low Risk
PlantUML · Design & Docs · GPL-3.0-or-later · macos / linux / windows

PlantUML (plantuml) renders sequence, class, component, C4, and state diagrams from .puml text descriptions into SVG, PNG, or ASCII art. It includes -checkonly for non-writing validation, though its JVM + Graphviz dependency makes cold starts heavier than Go/Rust tools.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
brew install plantuml
CLI vs MCP Decision CLI Only

Local plantuml compiles .puml diagrams directly without sending internal architecture text to external PlantUML rendering servers.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
— Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports -checkonly, -pipe, -tsvg, and non-zero error exit codes, though JVM startup is slower and output is plain text.

  • -checkonly validates syntax without side effects
  • -pipe supports stdin/stdout workflows
Trust & Safety 21 / 25

Modern PlantUML versions enforce security profiles restricting !include file/network access by default.

  • Default security profile restricts arbitrary local file inclusion
  • Keeps proprietary diagrams offline
Setup & Portability 11 / 15

Requires a Java runtime (JRE) plus Graphviz dot for non-sequence diagram types.

  • JVM + Graphviz dependency chain
Utility & Efficiency 12 / 15

Deeply expressive for UML sequence/class/state diagrams and C4-PlantUML.

  • Supports UML, C4, JSON/YAML visualization, and ASCII -tutxt
Maintenance & Lineage 8 / 10

Long-standing active repository (plantuml/plantuml) under GPL-3.0-or-later.

  • Consistent GitHub release cadence
Docs & Verifiability 7 / 10

Detailed plantuml.com docs, though command-line flags are scattered across pages.

  • Official docs at plantuml.com/command-line

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

No credentials required; runs locally on JVM.

Side Effects
Read-Only Local Write
Cost & Quotas

Free open-source software (GPL-3.0-or-later).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# PlantUML Agent Rules
- Run `plantuml -checkonly <file>.puml` before rendering images.
- Always render locally with `plantuml` rather than sending proprietary diagrams to public `plantuml.com` URLs.
- Disable remote `!include` URLs (`-DPLANTUML_SECURITY_PROFILE=INTERNET` avoided; keep default strict profile) for untrusted `.puml` files.

Agent-Ready Command Recipes

Safe Read-Only Queries

Syntax-check a PlantUML diagram without writing output
plantuml -checkonly diagram.puml

Validates .puml syntax and reports line errors with exit code without generating images.

Check PlantUML and Graphviz environment
plantuml -testdot

Verifies local PlantUML and Graphviz dot integration.

Controlled Writes & Previews

Render a PlantUML diagram to SVG
plantuml -tsvg -o dist diagram.puml

Compiles diagram.puml into an SVG vector image inside the dist directory.

Strengths for Agents

  • + -checkonly and -testdot give agents clean preflight diagnostics.
  • + Industry-standard UML sequence and C4 diagram expressiveness.
  • + Local execution keeps proprietary architecture diagrams off public rendering servers.

Caveats & Pitfalls

  • ! JVM startup overhead plus Graphviz dot dependency for many diagram layouts.
  • ! Lacks structured JSON error output.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI