designmatch

designmatch is a skill for Claude Code from randomittin/heimdall. It costs 69 tokens per session (3,050 once invoked), scanned A, original, MIT.

A visual comparison workflow for matching a React Native mobile screen to an HTML design reference on a real Android or iOS device.

In plain words
What is it for?
Use it to check or improve one screen's visual match before release, using rendered reference images, device captures, pixel differences, and structural similarity scores.
Why use it?
It replaces repeated visual guesswork with screenshots and image comparisons that show how closely the mobile screen matches the reference. React Native is a framework for building mobile apps with JavaScript and native components.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hmd plugin — 7 skills, 19 commands, 16 agents, 8 hooks, 1 MCP server shipped together

Good fit Use it to check or improve one screen's visual match before release, using rendered reference images, device captures, pixel differences, and structural similarity scores.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/randomittin/heimdall/designmatch
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.

Any agent
npx skills add randomittin/heimdall --skill designmatch
Clone the repo
git clone --depth 1 https://github.com/randomittin/heimdall

Made for: Claude Code.

Or install hmd, the plugin that ships this one along with the rest of its 7 skills, 19 commands, 16 agents, 8 hooks, 1 MCP server.

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 designmatch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/randomittin/heimdall/designmatch"><img src="https://agentmods.dev/badge/skills/randomittin/heimdall/designmatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,050 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00069 $0.03050
Opus 5.5 $0.00028 $0.01220
Sonnet 5.5 $0.00014 $0.00610
Haiku 4.5 $0.00007 $0.00305

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

Security

Grade A, and why

designmatch 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.

The scan reads SKILL.md. This mod also ships 7 executable files (assets/visual-qa.ts, scripts/emit-parity.js, scripts/fetch-canonical.js, …), 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.

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.

skills/designmatch/SKILL.md · 235 lines

How it starts

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

designmatch

Overview

Match RN screen → HTML canonical at ≥95% visual parity. Closed loop: VQA stub seeds redux → Playwright renders canonical PNG → adb/xcrun captures native PNG → pixelmatch + ssim.js scores diff → composite triptych for eyeball review → iterate.

Origin: a production React Native app. A single screen's SSIM climbed 35% → 55% over ~30 commits of eyeballed pixel-tweaking before this loop replaced it.

Pass gate: SSIM ≥ 0.95 OR pixelDiffPct ≤ 5%.

When to Use

  • RN screen drift from Claude Design HTML canonical
  • Visual parity audit before ship
  • Per-screen iteration loop on real device
  • Closing the design ↔ code feedback gap

Do NOT use for: unit logic, redux state shape, navigation graph correctness — those are not visual.

Quick Start — URL in, ready-to-translate out

From the RN project root:

designmatch init "<claude-design-url>" --app-dir . --port-all

This single command does the full bootstrap:

  1. App side: copies assets/visual-qa.ts into the app (src/lib/visual-qa.ts by default; auto-detects src/utils/, src/, app/, or root), writes default .designmatch/state.vqa.json, updates .gitignore.
  2. Fetch: Playwright headless downloads the entire canonical bundle (HTML + JSX + assets) to .designmatch/canonical/ by intercepting every network response, then flips config.json kind from url → local-dir (original URL preserved for re-fetch).
  3. Port-all: discovers every screen-*.jsx|tsx / *Screen.jsx|tsx in the bundle and writes each to src/screens/<Name>.tsx preceded by the TRANSLATION GUIDE (web → RN idiom map).
  4. Wire: prints the App.tsx snippet (primeVisualQaFlag / applyVisualQaState / overrideFeatureFlags / VqaBadge / long-press handler).

Slash command equivalent (inside a Heimdall session): /hmd:designmatch <url-or-path>.

Auth: if the canonical URL is behind login, add --headed so Chromium launches visibly for interactive auth — the fetch picks up after sign-in.

Granular subcommands (when you want pieces, not the one-shot):

Read the full file on GitHub · 235 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 · 235 lines · 69 tokens per session scan A 90a1152f4733

Subscribe to this mod's changes

designmatch is a skill published in the GitHub repository randomittin/heimdall (5 stars, last pushed 6d ago), licensed MIT. It adds 69 tokens to every session and 3,050 once invoked, about $0.0003 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 skills, from other repositories

atomic-visual-options

Planning-phase visual comparison aid. Renders 2-4 side-by-side variants per decision dimension as a single throwaway, self-contained HTML file and captures the user's pick as typed terminal codes (e.g. "A2 B3"). Auto-fires on phrases like "show me a few options", "mock up some variants", "let me see this side by…

damusix/atomic-claude · 150 tokens

vc:tech-graph

Use when you need publish-grade SVG or PNG technical diagrams for architecture, flow, sequence, UML, state, or comparison visuals, with preview used afterward for review rather than generation.

opencue/cuecards · 42 tokens

canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

opencue/cuecards · 59 tokens

vc:frontend-design

Create polished frontend interfaces from designs/screenshots/videos. Use for web components, 3D experiences, replicating UI designs, quick prototypes, immersive interfaces, avoiding AI slop.

opencue/cuecards · 41 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

opencue/cuecards · 77 tokens

theme-factory

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

opencue/cuecards · 62 tokens