mermaid-preview
Auto-previews Mermaid diagrams in the browser on Write/Edit/MultiEdit/NotebookEdit, offline-safe.
๐ก๏ธ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for mermaid-preview, derived from its capabilities.
AIVSS 6.4 ยท Medium
View MAESTRO 7-layer threat model โOverview
A Claude Code plugin that auto-opens a browser preview of Mermaid diagrams whenever the agent writes or edits a file containing them. It hooks Write/Edit/MultiEdit/NotebookEdit, is offline-safe with an inlined bundle, is dark-mode aware, and auto-reloads on source change. The hooks launch a browser and serve local files, which is meaningful local surface.
Key features
- Auto-preview on file write/edit
- Offline inlined Mermaid bundle
- Dark-mode + auto-reload
Use cases
- Live-preview diagrams while editing
- Iterate on Mermaid docs offline