visual-debug

visual-debug is a skill for Claude Code, Codex from voidmatcha/ui-clone-skills. It costs 49 tokens per session (1,751 once invoked), scanned A, original, Apache-2.0.

A comparison tool for finding differences between a reference website image and an implementation. It uses image-difference measurements such as pixel changes and structural similarity.

In plain words
What is it for?
Use it to diagnose mismatched regions, selectors, and likely causes after a website has been implemented.
Why use it?
It identifies where a rebuilt interface does not match the reference, instead of relying only on visual inspection.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT variable, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Codex.

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 to diagnose mismatched regions, selectors, and likely causes after a website has been implemented.

Compare 6 skills 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, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/voidmatcha/ui-clone-skills/visual-debug"><img src="https://agentmods.dev/badge/skills/voidmatcha/ui-clone-skills/visual-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,751 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00049 $0.01751
Opus 5.5 $0.00020 $0.00700
Sonnet 5.5 $0.00010 $0.00350
Haiku 4.5 $0.00005 $0.00175

Measured 21d ago against content hash 864fecbdceac, 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 scanned grade A with 1 finding 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 21d ago.

The scan reads SKILL.md. This mod also ships 51 executable files (scripts/ae-compare.sh, scripts/alignment_parity_check.py, scripts/alignment-parity-check.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

printf 'Missing system deps:%s\nBootstrap:\n tmp=$(mktemp) && curl -LsSf -o "$tmp" https://raw.githubusercontent.com/voidmatcha/ui-clone-skills/main/install.sh && bash "$tmp" && rm -f "$tmp"\n' "$miss"
skills/visual-debug/SKILL.md · 106 lines

How it starts

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

Visual Debug

Diagnose an existing implementation against captured reference evidence with structural, AE, DSSIM, runtime, and transition checks.

Boundary and return contract

  • Use this skill when reference and implementation evidence already exist. Route missing baseline evidence to ui-capture; route implementation, regeneration, and full clone orchestration to ui-reverse-engineering or the active caller.
  • Diagnose and return the failing artifact, selector or region, likely root cause, recommended fix, and exact verification command. The caller owns source edits unless it explicitly delegated repair.
  • Read brief/WORKER_BRIEF.md or evidence-pack.json first when present, then only the summaries and named drill-down artifacts needed for the failing hotspot.
  • If repair was delegated to you, read ../ui-reverse-engineering/iteration-discipline.md before the repair loop. Attempt history and stop conditions survive delegation and compaction. Report checker defects with a reproducer unless shared-tool repair is already authorized; never edit an installed cache.
  • Matching text, heights, fired events, or a successful build does not prove appearance or trajectory parity. Compare background and foreground, media fit, and intermediate motion states.

Required invariants

Do not read ref/impl images for routine comparison. Start with summaries and AE/SSIM tools. For a failing position, run auto-diagnose.sh; read a diff image only if automated diagnosis finds nothing. Phase E is the required exception and must run in a delegated context.

Pin the reference during iteration. Dynamic sites otherwise compare against a moving target: after the first complete reference capture, use frozen reference crops (RECATCH_REF=0) until evidence is genuinely stale. After any implementation edit, produce fresh implementation evidence before judging the fix.

When evidence contains window.scrollTo, scrollYProgress, setTimeout, velocity, a guard ref around scroll-stop logic, or ScrollTrigger pin/scrub, require scroll state-machine proof of initial → active/expanded → settled/returned; a single endpoint frame is insufficient.

Read the full file on GitHub · 106 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 21d ago Changed · +2 lines 864fecbdceac
  2. 23d ago Changed · -301 lines 8a324fd5f65b
  3. 1mo ago Changed · +8 lines 5f8651f189b1
  4. 1mo ago Changed · +21 tokens per session 5adad221332f
  5. 1mo ago First seen · 397 lines · 28 tokens per session scan A 4c5ff4a4135c

Subscribe to this mod's changes

visual-debug is a skill published in the GitHub repository voidmatcha/ui-clone-skills (15 stars, last pushed 21d ago), licensed Apache-2.0. It adds 49 tokens to every session and 1,751 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

genpage

Creates, updates, and deploys Power Apps generative pages for model-driven apps using React v17, TypeScript, and Fluent UI V9. Orchestrates specialist agents for planning, entity creation, and code generation. Use it when user asks to build, retrieve, or update a page in an existing Microsoft Power Apps model-driven…

microsoft/power-platform-skills · 140 tokens

add-localization

Adds or extends multilingual localization in a Power Pages code-site SPA. Use whenever the user asks to translate, localize, internationalize, support multiple languages, add a language selector, add locale routes, repair an i18n setup, or add languages to an existing React, Vue, Angular, or Astro Power Pages site.

microsoft/power-platform-skills · 69 tokens

debug-extension

Diagnose and fix failures in a built third-party .ppmplugin control: crashes, silent no-ops, PCF error outputs, or incorrect behavior. Uses the reported symptom, shared/error-codes.md, and file-level evidence to trace the manifest, Android/iOS modules, PCF dispatch, and build configuration. Produces a ranked…

microsoft/power-platform-skills · 108 tokens

audit-ppmplugin

Statically audit a built .ppmplugin before wrap testing. Checks archive layout, manifest compatibility, bundle consistency, Android DEX integrity and SDK leakage, iOS framework structure, native source-to-receiver alignment, and the PCF composite-key/sendAsync transport contract. Reports CRITICAL, WARNING, and INFO…

microsoft/power-platform-skills · 112 tokens

create-code-app

Creates Power Apps code apps using React and Vite. Use when building code apps, scaffolding projects, or deploying to Power Platform.

microsoft/power-platform-skills · 31 tokens

generate-ppmplugin-manifest

Validate, reconcile to the chosen target(s), and stage the manifest.json for a .ppmplugin bundle. In the normal flow the committed ./manifest.json already exists (authored by /generate-native-extension), so this stage reads it, runs the plugin's upload-compatibility checks locally as a pre-flight gate (name regex…

microsoft/power-platform-skills · 194 tokens