mismatch-diagnoser

mismatch-diagnoser is an agent for Claude Code from voidmatcha/ui-clone-skills. It costs 109 tokens per session (429 once invoked), scanned A, original, Apache-2.0.

A coding-agent role that investigates why a web-page implementation failed one of several checks, such as matching layout boundaries or fonts. It returns one likely underlying cause as structured data and does not change code.

In plain words
What is it for?
Use it after implementation, boundary, font-matching, or section-comparison checks fail. It examines the failure data, source code, and reference files to identify one root cause.
Why use it?
It turns a failed check into a focused explanation, so the implementation agent knows what to investigate instead of trying unrelated fixes.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions subagents; reads ~/.codex paths.

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 implementation, boundary, font-matching, or section-comparison checks fail. It examines the failure data, source code, and reference files to identify one root cause.

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 mismatch-diagnoser

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/voidmatcha/ui-clone-skills/mismatch-diagnoser"><img src="https://agentmods.dev/badge/agents/voidmatcha/ui-clone-skills/mismatch-diagnoser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 429 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.00109 $0.00429
Opus 5.5 $0.00044 $0.00172
Sonnet 5.5 $0.00022 $0.00086
Haiku 4.5 $0.00011 $0.00043

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

Security

Grade A, and why

mismatch-diagnoser 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 2mo 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/mismatch-diagnoser.md · 17 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/ui-reverse-engineering/diagnosis.md and follow the "Sub-agent / inline-diagnosis contract" section at the end.

Read budget (~5k words file; do not Read it whole): run grep -n '^## ' "$PLUGIN_ROOT/skills/ui-reverse-engineering/diagnosis.md", then Read with offset/limit only (1) the preamble through "How to pick the right category" (A-J triage tree), (2) the "Sub-agent / inline-diagnosis contract" section to end of file (K-R classes, workflow, output schema, don'ts), and (3) the single "Root Cause " section for the candidate A-J class the triage tree points to. Read a second Root Cause section only when the first one's symptoms contradict the sidecar evidence.

The Root Cause A-R catalog is the canonical source. Codex hosts use the native mismatch-diagnoser role from .codex/agents/mismatch-diagnoser.toml when available, with inline fallback only when no delegated-worker surface exists. Your output JSON schema is identical across hosts, ensuring cross-host parity.

Do not apply fixes. Return diagnosis only.

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. 2mo ago Changed · +2 lines 3265463f1074
  2. 3mo ago First seen · 15 lines · 109 tokens per session scan A ec1c55213fc3

Subscribe to this mod's changes

mismatch-diagnoser is an agent published in the GitHub repository voidmatcha/ui-clone-skills (21 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 109 tokens to every session and 429 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

mismatch-diagnoser compared with agents from other repositories

mismatch-diagnoser next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mismatch-diagnoservoidmatcha/ui-clone-skillsAgent212mo agoApache-2.0A109Claude Code
genpage-page-buildermicrosoft/power-platform-skillsAgent1.2ktodayMITA119Claude Code
genpage-edit-plannermicrosoft/power-platform-skillsAgent1.2ktodayMITA141Claude Code
code-app-architectmicrosoft/power-platform-skillsAgent1.2ktodayMITA49Claude Code
quality-fixer-frontendshinpr/claude-code-workflowsAgent725yesterdayMITA47Claude Code
task-executor-frontendshinpr/claude-code-workflowsAgent725yesterdayMITA55Claude Code
quality-fixershinpr/claude-code-workflowsAgent725yesterdayMITA44Claude Code