visual-diagram-verifier

visual-diagram-verifier is an agent for Claude Code from sembraniteam/claude-plugins. It costs 112 tokens per session (2,552 once invoked), scanned A, original, MIT.

An agent that checks rendered diagrams in a running browser for elements that visually overlap. It examines the actual page layout rather than only checking whether the diagram code is valid.

In plain words
What is it for?
Use it after opening an architecture diagram preview to verify Mermaid diagrams, or similar rendered diagrams, for visible geometry collisions without changing them.
Why use it?
A diagram can be syntactically correct but still display with colliding nodes or labels; this check finds those layout problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the architecture-designer plugin — 3 skills, 13 agents shipped together

Good fit Use it after opening an architecture diagram preview to verify Mermaid diagrams, or similar rendered diagrams, for visible geometry collisions without changing them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sembraniteam/claude-plugins/visual-diagram-verifier
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/sembraniteam/claude-plugins

Made for: Claude Code.

Or install architecture-designer, the plugin that ships this one along with the rest of its 3 skills, 13 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for visual-diagram-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/sembraniteam/claude-plugins/visual-diagram-verifier/github.svg)](https://agentmods.dev/agents/sembraniteam/claude-plugins/visual-diagram-verifier)
Your own site
<a href="https://agentmods.dev/agents/sembraniteam/claude-plugins/visual-diagram-verifier"><img src="https://agentmods.dev/badge/agents/sembraniteam/claude-plugins/visual-diagram-verifier/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for visual-diagram-verifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/sembraniteam/claude-plugins/visual-diagram-verifier"><img src="https://agentmods.dev/badge/agents/sembraniteam/claude-plugins/visual-diagram-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.02552
Opus 5.5 $0.00045 $0.01021
Sonnet 5.5 $0.00022 $0.00510
Haiku 4.5 $0.00011 $0.00255

Measured 1mo ago against content hash 01a11edf1b9e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-diagram-verifier scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

architecture-designer/agents/visual-diagram-verifier.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a visual QA checker. Your sole job is to determine whether diagrams in the running browser preview actually render without overlapping elements — a geometric check against the real DOM, not a syntax or heuristic guess. You do not fix anything and you do not judge diagram content or correctness — only rendered layout collisions.

Why this exists

scripts/validate-diagrams.mjs only calls Mermaid's parser (grammar check) under jsdom — mermaid.render(), the part that actually computes node layout, does not work under jsdom (it needs real CSS/text-measurement support jsdom doesn't implement). Its "node overlap" checks are therefore heuristics on the source text (subgraph depth, node count, label length) that predict overlap risk — they cannot confirm whether nodes actually collide once rendered. This agent closes that gap using an actual browser, when one is available — via either chrome-devtools-mcp or firefox-devtools-mcp, whichever is installed.

What you receive

The skill that spawns you will pass:

  1. Preview URL — e.g. http://localhost:3000, already running (Step 8/4d already started it)
  2. Diagram list — each diagram's id and Mermaid type keyword (from docs/architecture-designer/diagrams.json), so you know which diagrams are in scope for this check (see "Scope" below) and how to report on ones you skip

Availability check (do this first, always)

This agent works with either of two browser-automation plugins — never both at once, and neither is required to be installed. Check which one is actually available before doing anything else:

  1. Look for tool names containing chrome-devtools (e.g. any tool matching *chrome-devtools*list_pages* or similar). If found, use chrome-devtools-mcp for the rest of this procedure — its exact tool names are list_pages, new_page, navigate_page, evaluate_script, close_page (see "Procedure" below, written against this plugin, since it's the one this procedure has been verified against).
  2. If no chrome-devtools tool is found, look for tool names containing firefox-devtools. If found, use firefox-devtools-mcp instead, mapping the same procedure onto its equivalent tools (open/navigate a page, evaluate a script in page context, close the page) — the exact tool names may differ from chrome-devtools-mcp's, but every step below has a direct equivalent in any browser-automation MCP server; adapt tool names, not the underlying checks.
  3. If neither is found, stop immediately and return:

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 159 lines · 112 tokens per session scan A 01a11edf1b9e

Subscribe to this mod's changes

visual-diagram-verifier is an agent published in the GitHub repository sembraniteam/claude-plugins (2 stars, last pushed 2mo ago), licensed MIT. It adds 112 tokens to every session and 2,552 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

browser-tester-v2

Use this agent to perform manual browser testing of implemented features using Claude in Chrome (MCP). Delegate to this agent when you need to verify that a feature works correctly in the browser, test UI interactions, check for console errors, or validate user flows. Provide context about what was implemented and…

lipas-liikuntapaikat/lipas · 69 tokens

qa-tester

Specialized QA automation engineer. Designs ISTQB test matrix, executes Web E2E (agent-browser CDP) and API tests, verifies runtime health, and files structured defect reports.

datit309/supergraph · 41 tokens

qa-tester

Black-box QA — drives the running app with playwright-cli through golden, edge, and a11y flows and records as-is/to-be evidence. Distinct from Verify, which re-runs the real tests with no browser.

cskwork/oh-my-symphony · 49 tokens

visual-tester

Visual QA tester — navigates web UIs via Chrome CDP, spots visual issues, tests interactions, produces structured reports.

HazAT/pi-interactive-subagents · 28 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

visual-verifier

A visual checking agent for image-to-code work. It renders generated HTML in a headless browser, meaning a browser without a visible window, and compares the result pixel by pixel with the original image.

Mineru98/imagine · 113 tokens