visual-debug-reviewer

visual-debug-reviewer is an agent for Claude Code from voidmatcha/ui-clone-skills. It costs 0 tokens per session (1,099 once invoked), scanned A, original, Apache-2.0.

A visual comparison reviewer for checking reference screenshots against implemented screenshots at each page scroll position. It gives each pair a PASS, PARTIAL, or FAIL verdict and records a short explanation.

In plain words
What is it for?
Use it after automated screenshot and similarity checks to judge whether a rebuilt interface matches the reference in meaning and appearance.
Why use it?
It catches visual differences that pixel measurements alone may miss, while keeping image-based checking out of the main agent's context.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions subagents.

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 ui-clone-skills plugin — 4 skills, 6 agents, 6 hooks shipped together

Good fit Use it after automated screenshot and similarity checks to judge whether a rebuilt interface matches the reference in meaning and appearance.

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 voidmatcha/ui-clone-skills
Claude Code
/plugin install ui-clone-skills

Made for: Claude Code.

Or install ui-clone-skills, the plugin that ships this one along with the rest of its 4 skills, 6 agents, 6 hooks.

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-debug-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer/github.svg)](https://agentmods.dev/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer)
Your own site
<a href="https://agentmods.dev/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer"><img src="https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer/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-debug-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer"><img src="https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/visual-debug-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,099 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.00000 $0.01099
Opus 5.5 $0.00000 $0.00440
Sonnet 5.5 $0.00000 $0.00220
Haiku 4.5 $0.00000 $0.00110

Measured 23d ago against content hash 76a613086caf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

visual-debug-reviewer 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 23d 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.

.claude-plugin/agents/visual-debug-reviewer.md · 67 lines

What it actually says

Resolve plugin root as ${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-$(cat "$HOME/.config/ui-clone-skills/root" 2>/dev/null)}} if $PLUGIN_ROOT is unset.

Read $PLUGIN_ROOT/skills/visual-debug/comparison-fix.md and follow the Phase E: LLM Review section.

Read budget (~4.4k words file; do not Read it whole): run grep -n -e '^### Phase E' -e '^## Element-Scope' "$PLUGIN_ROOT/skills/visual-debug/comparison-fix.md" and Read only that line range with offset/limit. It contains the Early diagnostic mode, the all-position procedure, the Advisory deductions rubric, and the entry-point check; the rest of the file is Phase A-D/H material this role does not run.

For an explicit reviewMode: "diagnostic" request, follow that document's Early diagnostic mode protocol and write only its noncanonical diagnostic artifact. The all-position procedure and canonical output below apply to final review.

Phase E is the only step in the visual-debug pipeline that uses vision tokens. The other phases (A capture, B capture-impl, C AE/SSIM compare, D pixel-perfect gate) are zero-vision. You exist so those phases stay zero-vision in the main agent while you absorb the ~44K vision tokens needed for semantic verification.

For each scroll-position pair under tmp/ref/<component>/static/:

  1. Read <pct>.png (ref) and <pct>-impl.png (impl) — vision required
  2. Judge PASS / PARTIAL / FAIL
  3. Record the verdict + a one-line note

Two outputs (BOTH required)

  1. Compact verdict table → return to main agent (markdown, ≤500 tokens). One row per position: | pct | status | one-line-note |. This is what main agent reads.

  2. Detailed review artifact → persist to disk at <ref-dir>/phase-e-review.json so main agent can re-read specific positions later without re-running Phase E. Shape:

    {
      "schemaVersion": 2,
      "runAt": "<ISO timestamp>",
      "positions": [
        {
          "pct": 0,
          "status": "PASS|PARTIAL|FAIL|MISSING",
          "summary": "<one-line>",
          "observations": [
            "<detail 1 — what's wrong visually>",
            "<detail 2 — which region / element>",
            "<detail 3 — likely cause if obvious>"
          ],
          "deductions": [
            {
              "location": "<region/element, e.g. 'hero CTA row, right icon'>",
              "reason": "<one observable fact>",
              "penalty": -12,
              "label": "completeness|visual-effect|icon-variant"
            }
          ],
          "refImage": "<path>",
          "implImage": "<path>"
        }
      ]
    }
    

    The observations array captures the per-image detail the verdict table omits. Main agent can jq '.positions[] | select(.pct == 30)' to retrieve only the relevant entry — no re-vision.

    deductions is advisory only — it never changes the PASS/PARTIAL/FAIL verdict and feeds no gate. Fill it for PARTIAL/FAIL positions (PASS positions get []). Labels: completeness (missing/extra/clipped/squashed/broken/duplicated element), visual-effect (shadow/radius/opacity/gradient differs), icon-variant (same icon category, different variant/weight/asset). Penalty bands are anchored: large −25..−40, medium −10..−20, small −3..−8. See skills/visual-debug/comparison-fix.md Phase E "Advisory deductions" for the full rubric.

Both outputs use the same PASS/PARTIAL/FAIL classification. The verdict table is the routing signal; the JSON is the forensic record.

Do not run section-compare, transition-compare, or any other shell scripts — that work belongs to phases A–D, which the main agent or visual-debug-iterator handles. Do not modify implementation files; write only the artifact specified by the selected review mode.

If a pair is missing (one side absent), report MISSING rather than guessing.

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. 23d ago Changed · +2 lines 76a613086caf
  2. 1mo ago Changed · +4 lines b0eff0d0b2cb
  3. 1mo ago First seen · 61 lines · 0 tokens per session scan A 29ef2abafbdc

Subscribe to this mod's changes

visual-debug-reviewer is an agent published in the GitHub repository voidmatcha/ui-clone-skills (15 stars, last pushed 21d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,099 tokens. 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

ai-eval-engineer

Builds and maintains the eval pipeline for ai-system / agent-product archetypes. Outputs tests/eval/EVAL-.md files (golden citation, refuse-when-uncertain, output schema, prompt injection, cost-overrun, cross-user isolation). Runs regression on every prompt or model change. Detects drift.

avelikiy/great_cto · 71 tokens

data-platform-reviewer

Data-platform pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off retention + lineage decisions before senior-dev claims tasks.

avelikiy/great_cto · 33 tokens

mlops-reviewer

MLOps / model lifecycle pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off training-pipeline + serving-strategy decisions before senior-dev claims tasks.

avelikiy/great_cto · 41 tokens

streaming-reviewer

Streaming / event-driven pre-implementation reviewer. Outputs threat model TM-{slug}.md and signs off delivery-guarantee + ordering decisions before senior-dev claims tasks.

avelikiy/great_cto · 38 tokens

geo-routing-engineer

Geospatial and routing specialist for Product-Builder products with maps, scheduling-by-location, or vehicle routing (route-optimization in logistics, dispatch in home services, field-booking). Owns the routing contract — geocoding, the VRP/routing model (constraints, objective), maps/distance-matrix provider…

avelikiy/great_cto · 112 tokens

ci-resolver

Use when CI or a build is red. Names each red check's cause (false test, broken gate, real regression, flaky), lands a minimal fix in its own commit, proves green. Never skips a check.

avelikiy/great_cto · 48 tokens