react-screenshot-recreator

react-screenshot-recreator is a skill for Claude Code, Codex from buildfastwithai/gen-ai-experiments. It costs 185 tokens per session (2,618 once invoked), scanned A, original, MIT.

A guide for rebuilding a user interface from a screenshot or mockup as production React, TypeScript, and Tailwind code.

In plain words
What is it for?
Use it to turn interface screenshots or design images into reusable React components with close visual fidelity.
Why use it?
It reduces the gap between a reference image and the finished interface by measuring layout, typography, colors, spacing, and visual effects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to turn interface screenshots or design images into reusable React components with close visual fidelity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator
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 buildfastwithai/gen-ai-experiments --skill react-screenshot-recreator
Clone the repo
git clone --depth 1 https://github.com/buildfastwithai/gen-ai-experiments

Made for: Claude Code, 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 react-screenshot-recreator

README.md
[![agentmods](https://agentmods.dev/badge/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator/github.svg)](https://agentmods.dev/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator)
Your own site
<a href="https://agentmods.dev/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator"><img src="https://agentmods.dev/badge/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator/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 react-screenshot-recreator

Your own site · 80×15
<a href="https://agentmods.dev/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator"><img src="https://agentmods.dev/badge/skills/buildfastwithai/gen-ai-experiments/react-screenshot-recreator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,618 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.00185 $0.02618
Opus 5 $0.00093 $0.01309
Sonnet 5 $0.00037 $0.00524
Haiku 4.5 $0.00018 $0.00262

Measured 13d ago against content hash 1133dd0582db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

react-screenshot-recreator 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 13d 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/react-screenshot-recreator/SKILL.md · 117 lines

How it starts

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

React Component Screenshot Recreator

Turn a screenshot of an interface into React code that a designer would look at, next to the original, and struggle to tell apart.

The failure mode this skill exists to prevent is the plausible approximation: code that captures the gist — a card, a heading, a button — while getting every spacing value, weight, radius, and shadow slightly wrong. The result feels like a sketch of the design rather than the design. Slightly wrong everywhere reads as unmistakably wrong.

Two habits prevent it. First, measure before you write — read values off the image instead of reaching for defaults. Second, reason about intent — real interfaces are built on a spacing scale, a type ramp, and a small palette, so when one value is ambiguous, infer it from the system the rest of the design reveals.

Workflow

  1. Audit the screenshot — a written pass over layout, type, color, effects, and state. Details you don't name, you won't build.
  2. Derive the design system — spacing unit, type ramp, palette, radius scale, shadow scale.
  3. Plan the component tree — decide what's reusable before writing any JSX.
  4. Write the code — TypeScript, Tailwind, semantic HTML, lucide-react icons.
  5. Verify against the image — walk the audit list and check each item landed.

Steps 1 and 5 are what separate a recreation from an approximation. Don't skip them, and don't collapse the audit into a single glance — writing the observations down is what makes them actionable.


Step 1 — Audit the screenshot

Look at the image carefully and write out what you see, before any code. If multiple screenshots were provided (different breakpoints, states, or scroll positions), audit each and note what changes between them — that's free information about responsive and interactive behavior.

Zoom mentally into each region. State values as numbers, not adjectives: "24px gap", not "generous spacing". A number can be translated to Tailwind; an adjective can't.

Read the full file on GitHub · 117 lines

Files

What ships with it

4 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. 13d ago First seen · 117 lines · 185 tokens per session scan A 1133dd0582db

Subscribe to this mod's changes

react-screenshot-recreator is a skill published in the GitHub repository buildfastwithai/gen-ai-experiments (763 stars, last pushed yesterday), licensed MIT. It adds 185 tokens to every session and 2,618 once invoked, about $0.0009 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

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

cobejs

Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).

MengTo/Skills · 31 tokens

stitch::react-components

Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.

google-labs-code/stitch-skills · 43 tokens

seed-design

An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.

daangn/seed-design · 33 tokens

ss-studio

Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI…

bitjaru/styleseed · 75 tokens