ui-visual-match-replicator

ui-visual-match-replicator is a skill for Codex from yangchao228/loop-builder. It costs 93 tokens per session (1,189 once invoked), scanned A, original, MIT.

A screenshot-driven workflow for rebuilding a webpage or frontend so its rendered appearance matches a supplied visual. It compares screenshots, identifies the largest differences, and repeats the implementation and correction cycle.

In plain words
What is it for?
Use it to reproduce a screenshot, image, Figma export, static demo, or target-page capture as a frontend page or component. It covers visual analysis, implementation, rendered screenshots, and iterative fixes.
Why use it?
It gives you a structured way to reduce visual differences instead of relying on memory or subjective design changes. The process also requires the target image and project context before editing.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to reproduce a screenshot, image, Figma export, static demo, or target-page capture as a frontend page or component. It covers visual analysis, implementation, rendered screenshots, and iterative fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yangchao228/loop-builder/ui-visual-match-replicator
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 yangchao228/loop-builder --skill ui-visual-match-replicator
Clone the repo
git clone --depth 1 https://github.com/yangchao228/loop-builder

Made for: Codex.

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 ui-visual-match-replicator

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yangchao228/loop-builder/ui-visual-match-replicator"><img src="https://agentmods.dev/badge/skills/yangchao228/loop-builder/ui-visual-match-replicator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,189 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.00093 $0.01189
Opus 5.5 $0.00037 $0.00476
Sonnet 5.5 $0.00019 $0.00238
Haiku 4.5 $0.00009 $0.00119

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

Security

Grade A, and why

ui-visual-match-replicator 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.

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/ui-visual-match-replicator/SKILL.md · 148 lines

How it starts

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

UI Visual Match Replicator

Role

Act as a senior frontend visual replication engineer. Recreate the target UI with disciplined fidelity; do not act as a free-form designer.

Use this skill to run a controlled visual match loop:

target image -> visual breakdown -> implementation -> rendered screenshot -> Top differences -> fix Top 3 -> repeat -> final gap report

For the full loop contract and prompt skeleton, read references/visual-match-loop.md when starting a real task.

Input Gate

Before editing code, identify the required inputs:

  • Target visual: screenshot, image path, Figma export, current accepted demo, or target URL screenshot.
  • Working directory or project surface.
  • Delivery form: static demo, existing app page, component, H5, mini program, or web page.
  • Primary viewport and secondary viewport.
  • Allowed modification scope.
  • Forbidden actions.

If the target visual is missing or unreadable, stop and ask for it. Do not infer the design from text alone.

If the working directory is missing but the current thread has a clear repo, use that repo and state the assumption.

Default safe assumptions:

  • Build a static demo first when the user asks for visual exploration or has not yet accepted implementation into production.
  • Modify only UI files, styles, and local visual assets unless the user explicitly allows business logic changes.
  • Do not introduce a UI framework or new dependency without confirmation.
  • Do not submit, publish, deploy, or change production configuration.

Required First Step

Start with read-only visual and repo analysis. Do not write code yet.

Visual breakdown must cover:

  • Page structure.
  • Component tree.
  • Color tokens.
  • Font sizes, weights, and line heights.
  • Spacing system.
  • Border radii and shadows.
  • Backgrounds, translucency, gradients, and blur.
  • Icon and image handling.
  • Responsive or viewport scaling strategy.

Repo analysis must cover:

  • Existing demo, static, docs, public, assets, and page/component directories.
  • Existing visual assets that can be reused.
  • Existing scripts for dev server, build, type check, and tests.
  • Dirty worktree state, without reverting user changes.

Read the full file on GitHub · 148 lines

Files

What ships with it

3 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. 1mo ago First seen · 148 lines · 93 tokens per session scan A 947073e8015f

Subscribe to this mod's changes

ui-visual-match-replicator is a skill published in the GitHub repository yangchao228/loop-builder (5 stars, last pushed 3mo ago), licensed MIT. It adds 93 tokens to every session and 1,189 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

Other skills, from other repositories

show-me

Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

humanlayer/humanlayer · 25 tokens

plan

Use when a request needs shaping before any code is written — a rough or vague prompt to sharpen, an ambiguous idea to design, or a clear-enough task to decompose. One chain-starter that amplifies the prompt, designs the approach, and decomposes it into a batched task file, skipping whichever phases the request…

jeremylongshore/tons-of-skills-marketplace · 144 tokens

prototype

A skill for building a temporary prototype to answer one focused design or logic question. It either creates an interactive state-model demo or several switchable user-interface variations, depending on the question.

vinvcn/mattpocock-skills-zh-CN · 39 tokens

beautify-github-readme

Redesign GitHub README homepages or create project-native pure SVG, hybrid SVG-composed PNG/WebP, and opt-in animated GIF assets. Use when a user asks to beautify, redesign, rebrand, visually upgrade, simplify, or audit a GitHub README; create only a hero, section headers, diagrams, badges, motion graphics, showcase…

oil-oil/beautify-github-readme · 143 tokens

tastemaker

Generate genuinely beautiful, on-brand UI instead of generic "AI slop" — use whenever the user asks to build, design, style, or improve a UI, landing page, dashboard, app screen, or component, whenever a PRD/spec needs a design pass before implementation, whenever the user pastes reference images/Pinterest/Dribbble…

codeswithroh/tastemaker · 202 tokens

pixel2motion

Turn a raster logo (PNG/JPG/WebP/screenshot) into a clean minimal SVG with edge smoothness as the primary hard gate and IoU optimized as high as reasonably possible without a fixed global threshold, then into a choreographed logo animation delivered as standalone JS-rendered HTML, applying Disney's 12 animation…

nolangz/pixel2motion · 163 tokens