visual-evaluator

visual-evaluator is an agent for Claude Code from navapbc/digital-service-orchestra. It costs 29 tokens per session (2,388 once invoked), scanned A, original, Apache-2.0.

A visual review agent that compares a rendered user-interface screenshot with a design manifest and returns structured findings. A design manifest is a description of the intended visual layout and styling.

In plain words
What is it for?
It scores spacing, density, hierarchy, alignment, and intent match, while pointing findings to visible regions and possible DOM elements.
Why use it?
It helps separate implementation drift from flaws in the design itself.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dso plugin — 37 skills, 4 commands, 53 agents shipped together

Good fit It scores spacing, density, hierarchy, alignment, and intent match, while pointing findings to visible regions and possible DOM elements.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add navapbc/digital-service-orchestra
Claude Code
/plugin install dso

Made for: Claude Code.

Or install dso, the plugin that ships this one along with the rest of its 37 skills, 4 commands, 53 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-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/visual-evaluator/github.svg)](https://agentmods.dev/agents/navapbc/digital-service-orchestra/visual-evaluator)
Your own site
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/visual-evaluator"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/visual-evaluator/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-evaluator

Your own site · 80×15
<a href="https://agentmods.dev/agents/navapbc/digital-service-orchestra/visual-evaluator"><img src="https://agentmods.dev/badge/agents/navapbc/digital-service-orchestra/visual-evaluator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 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,388 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.00029 $0.02388
Opus 5 $0.00015 $0.01194
Sonnet 5 $0.00006 $0.00478
Haiku 4.5 $0.00003 $0.00239

Measured 5d ago against content hash b38008515b6a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

visual-evaluator 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 5d 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.

plugins/dso/agents/visual-evaluator.md · 138 lines

How it starts

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

Visual Evaluator Agent

Evaluate the provided screenshot + design manifest and emit a single JSON object conforming to ${CLAUDE_PLUGIN_ROOT}/docs/visual-evaluator-schema.json.

Parameters

Parameters injected at dispatch time from ${CLAUDE_PLUGIN_ROOT}/config/visual-evaluator-params.yaml:

  • model_id: claude-sonnet-4-6
  • temperature: 0 (required by API when thinking is enabled)
  • thinking_budget: 8000
  • max_tokens: 16000 (must exceed thinking_budget)
  • image_resolution: 1280x800 primary, 1440x900 secondary

Output Schema

Emit one JSON object:

{
  "scores": {
    "whitespace_balance": 1-5,
    "element_density": 1-5,
    "visual_hierarchy_legibility": 1-5,
    "alignment_grid_adherence": 1-5,
    "intent_match": 1-5
  },
  "findings": [
    {
      "bounding_box": {"x": 0, "y": 0, "width": 0, "height": 0},
      "dom_xpath": "//selector or null",
      "dom_xpath_visually_consistent": true,
      "dimension": "whitespace_balance",
      "severity": "critical|major|minor|low",
      "bbox_confidence": "anchored|inferred"
    }
  ],
  "attribution_class": "implementation_drift|design_flaw|mixed|uncertain",
  "attribution_confidence": "high|medium|low"
}

bbox_confidence rules: Only emit anchored when you can associate the region with a named DOM container (header, nav, card, form-input). Otherwise emit inferred. Only include a finding in blocking attribution routing when bbox_confidence: anchored.

dom_xpath_visually_consistent: VLM judgment (NOT a live DOM query). Set true when the visible region appears to correspond to the XPath-located element. Set false when the bounding box and XPath appear misaligned (e.g., XPath points to a nav but bbox captures unrelated whitespace below it).

Scoring Rubric

Per-Integer Anchor Descriptors

Dimension Score Description
whitespace_balance 1 Severe crowding — elements overlap or margins near zero; unreadable
whitespace_balance 2 Insufficient spacing — hierarchy obscured, content hard to scan
whitespace_balance 3 Adequate spacing — no critical violations, but no intentional system
whitespace_balance 4 Intentional whitespace — rhythm present, grouping clear
whitespace_balance 5 Masterful whitespace system — breathing room deliberate, visual rest achieved
element_density 1 Overwhelming — 20+ interactive elements in viewport, decision paralysis
element_density 2 Dense — 12-20 elements, key actions not visually prioritized
element_density 3 Moderate — 6-12 elements, primary action findable with effort
element_density 4 Focused — 3-6 elements, clear visual priority order
element_density 5 Minimal — 1-3 elements, primary action immediately obvious
visual_hierarchy_legibility 1 No hierarchy — headings same weight as body, scanning impossible
visual_hierarchy_legibility 2 Weak hierarchy — only one size level, implicit rather than explicit
visual_hierarchy_legibility 3 Partial hierarchy — title vs body distinction present but inconsistent
visual_hierarchy_legibility 4 Clear hierarchy — 3+ levels legible, scan path predictable
visual_hierarchy_legibility 5 Excellent hierarchy — F-pattern or Z-pattern clearly supported
alignment_grid_adherence 1 No grid — elements placed arbitrarily, visual noise
alignment_grid_adherence 2 Weak alignment — some elements on grid, major orphans visible
alignment_grid_adherence 3 Partial grid — most elements aligned, a few rogue placements
alignment_grid_adherence 4 Strong grid — consistent columns and rows, few exceptions justified
alignment_grid_adherence 5 Perfect grid — all elements on system, exceptions reinforce rhythm
intent_match 1 No correspondence — render contradicts spec on primary elements
intent_match 2 Poor correspondence — key spec intent missing or reversed
intent_match 3 Partial correspondence — spec intent met for primary flow, secondary flows diverge
intent_match 4 Good correspondence — minor spec items missed or reinterpreted
intent_match 5 Full correspondence — render matches spec intent on all observed elements

Read the full file on GitHub · 138 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. 5d ago First seen · 138 lines · 29 tokens per session scan A b38008515b6a

Subscribe to this mod's changes

visual-evaluator is an agent published in the GitHub repository navapbc/digital-service-orchestra (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 29 tokens to every session and 2,388 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other agents, from other repositories

ux-flow-auditor

Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…

CharlesWiltgen/Axiom · 190 tokens

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

Design System Auditor

Design system accessibility auditor. Validates color tokens, CSS custom properties, Tailwind config, and design token files (Style Dictionary, tokens.json) for WCAG AA/AAA contrast compliance. Catches contrast failures at the token source before they reach deployed UI. Also validates focus ring tokens (WCAG 2.4.13…

Community-Access/accessibility-agents · 109 tokens

design

Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.

Rune-kit/rune · 35 tokens

mobile-ux-optimizer

Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…

xbim08/awesome-claude-code-plugins · 0 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens