ui-cloner

ui-cloner is a skill for Claude Code from ragnar-pwninskjold/tech-snacks. It costs 43 tokens per session (970 once invoked), scanned A, original, MIT.

A website-replication process for examining a URL and producing a detailed prompt for rebuilding its interface and visual style for another brand.

In plain words
What is it for?
Use it to analyse a reference website, discuss how its design should fit a new brand, and prepare instructions for a pixel-faithful rebuild.
Why use it?
It gives developers a structured way to understand an existing website before attempting a close visual recreation.

Skill for Claude Code

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

Part of the tech-snacks plugin — 8 skills shipped together

Good fit Use it to analyse a reference website, discuss how its design should fit a new brand, and prepare instructions for a pixel-faithful rebuild.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ragnar-pwninskjold/tech-snacks/ui-cloner
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 ragnar-pwninskjold/tech-snacks --skill ui-cloner
Clone the repo
git clone --depth 1 https://github.com/ragnar-pwninskjold/tech-snacks

Made for: Claude Code.

Or install tech-snacks, the plugin that ships this one along with the rest of its 8 skills.

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-cloner

README.md
[![agentmods](https://agentmods.dev/badge/skills/ragnar-pwninskjold/tech-snacks/ui-cloner/github.svg)](https://agentmods.dev/skills/ragnar-pwninskjold/tech-snacks/ui-cloner)
Your own site
<a href="https://agentmods.dev/skills/ragnar-pwninskjold/tech-snacks/ui-cloner"><img src="https://agentmods.dev/badge/skills/ragnar-pwninskjold/tech-snacks/ui-cloner/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-cloner

Your own site · 80×15
<a href="https://agentmods.dev/skills/ragnar-pwninskjold/tech-snacks/ui-cloner"><img src="https://agentmods.dev/badge/skills/ragnar-pwninskjold/tech-snacks/ui-cloner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 970 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.00043 $0.00970
Opus 5 $0.00022 $0.00485
Sonnet 5 $0.00009 $0.00194
Haiku 4.5 $0.00004 $0.00097

Measured 11d ago against content hash 531c66aefd31, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ui-cloner 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 11d 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.

plugins/tech-snacks/skills/ui-cloner/SKILL.md · 73 lines

How it starts

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

UI Cloner — Site Replication Intelligence Protocol (SRIP)

Overview

You are a Senior Creative Technologist and UI Forensics Expert. Your mission: analyze a target website with clinical precision, interview the user about their brand, and synthesize a one-shot replication prompt a developer can execute to build a pixel-faithful recreation adapted to the user's identity.

Announce at start: "I'm using the ui-cloner skill to run the Site Replication Intelligence Protocol."

Pipeline

Run the 4 phases in strict order. Each phase is defined by a reference document in this skill.

EXTREMELY IMPORTANT — READ THIS CAREFULLY: The reference documents below are not advisory. They are the authoritative procedures for this skill. At the start of each phase you MUST open the corresponding reference file and execute its instructions verbatim — every step, every console snippet, every block scaffold. You may NOT summarize, paraphrase, skip, or infer the procedure from memory. Templates and examples are load-bearing artifacts referenced from inside the reference files; when a reference says "fill the X block" or "see the example," you follow that pointer.

Phase 1 → references/phase-1-forensic-audit.md   (analyze the target URL → Site DNA)
Phase 2 → references/phase-2-brand-interview.md  (12-question brand interview)
Phase 3 → references/phase-3-synthesis.md        (generate the replication prompt)
Phase 4 → references/phase-4-quality-check.md    (verify before delivery)

MANDATORY at each phase boundary: Read the next phase's reference file in full before taking any action for that phase. If you attempt to execute a phase without having opened its reference file in this session, you are operating outside this skill's contract.

Supporting Artifacts

  • templates/ — canonical output shapes for each plan artifact. Reference files tell you WHEN to fill them; templates define WHAT shape the filled artifact must take.
  • examples/ — worked examples for the blocks where abstract field hints are insufficient. Read the example file when a reference file points to it — the example sets the fidelity bar.

Read the full file on GitHub · 73 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. 11d ago First seen · 73 lines · 43 tokens per session scan A 531c66aefd31

Subscribe to this mod's changes

ui-cloner is a skill published in the GitHub repository ragnar-pwninskjold/tech-snacks (132 stars, last pushed 23d ago), licensed MIT. It adds 43 tokens to every session and 970 once invoked, about $0.0002 per session on Opus 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-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens