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.
These scores are auto-generated from public information (the agent's own listing, docs, and repository) using the canonical OWASP AIVSS formula and the MAESTRO framework — an estimate for guidance, not a penetration test, audit, or certification. See the scoring methodology — every score is re-derived by the same automated method as an agent's public evidence changes.
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 and capabilities
- 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