Agent skill

Design Mirror

by brightdata in brightdata/skills

Replicate the visual style of any website and apply it to your existing codebase.

MITAuto-check passedFrontend & Design

Install Design Mirror

skills CLI
$ npx skills add brightdata/skills --skill design-mirror -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brightdata/skills design-mirror --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brightdata/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/design-mirror .claude/skills/design-mirror && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
design-mirror
GitHub stars
264
Used in
1 other repo
Token cost
~2.1k tokens
SKILL.md length
912 words
Files
6 (incl. scripts, references)
Skills in repo
14
Repo updated
First seen
Licence
MIT

At a glance

Replicate the visual style of any website and apply it to your existing codebase.

  • Works in 6 steps: Capture the Inspiration Site → Analyze the Design System → Build the Design Token Map → …
  • The user wants to match a sites design
  • SKILL.md covers What This Skill Does, Setup, Step-by-Step Process and Key Principles, plus 1 more section
  • Runs Shell scripts from its folder; calls bash; reaches inspiration-site.com; needs BRIGHTDATA_API_KEY

What it does

Design Mirror is an agent skill from brightdata/skills. Replicate the visual style of any website and apply it to your existing codebase. Use this skill whenever the user wants to match a site's design, mirror a UI aesthetic, make their app look like another site, or replicate a specific visual style from a URL. Trigger on phrases like 'make it look like', 'match the design of', 'copy the style from', 'I want my app to look like X', 'mirror this design', 'inspired by [url]', or any time the user points at a website and says they want their frontend to match it.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `references/apply-guide.md`, `references/capture-guide.md` and `references/css-extraction.md`).

It sits in Frontend & Design. It works with Bright Data. The licence is MIT.

When your agent uses it

  • The user wants to match a sites design
  • Mirror a UI aesthetic
  • Make their app look like another site
  • Replicate a specific visual style from a URL

Example prompts

  • “make it look like”
  • “match the design of”
  • “copy the style from”
  • “/design-mirror”

Requirements

  • A Bash shell
  • A credential in BRIGHTDATA_API_KEY

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Capture the Inspiration Site
  2. Analyze the Design System
  3. Build the Design Token Map
  4. Understand the User's Codebase
  5. Apply the Design
  6. Show the Before/After

What it can do on your machine

Read from SKILL.md and the folder at commit 81f51af. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • inspiration-site.com

    Also links to:

    • brightdata.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • BRIGHTDATA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Design Mirror loads about 2.1k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 131 tokens; SKILL.md has 912 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~131
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from brightdata/skills at commit 81f51af, republished under its MIT licence (© brightdata). 912 words, ~2,059 tokens.

Download SKILL.mdSave it as .claude/skills/design-mirror/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
design-mirror
description
Replicate the visual style of any website and apply it to your existing codebase. Use this skill whenever the user wants to match a site's design, mirror a UI aesthetic, make their app look like another site, or replicate a specific visual style from a URL. Trigger on phrases like 'make it look like', 'match the design of', 'copy the style from', 'I want my app to look like X', 'mirror this design', 'inspired by [url]', or any time the user points at a website and says they want their frontend to match it.

Design Mirror

Capture the visual design language of any website and apply it to your existing codebase — colors, typography, spacing, layout rhythm, component shapes, and overall aesthetic — all extracted live via Bright Data's Web Unlocker.

What This Skill Does

  1. Capture — Screenshot + HTML scrape the inspiration site via Bright Data
  2. Extract — Identify the full design system: colors, fonts, spacing scale, border radii, shadows, component patterns
  3. Analyze — Study the screenshot visually and the CSS structurally to understand the design language
  4. Apply — Translate that design system into the user's existing codebase (their framework, their components)

You are not copying content or functionality. You're understanding the design language — the palette, the type scale, the card shapes, the hover states, the overall aesthetic feel.

Important: This skill is for design inspiration and learning — extracting publicly visible design tokens (colors, fonts, spacing) to inform your own UI work. Always use it respectfully and in accordance with the terms of service of the sites you reference.

Setup

Requires:

  • BRIGHTDATA_API_KEY — from brightdata.com/cp → Account Settings
  • BRIGHTDATA_UNLOCKER_ZONE — create an Unlocker zone at brightdata.com/cp
bash
export BRIGHTDATA_API_KEY="your-api-key"
export BRIGHTDATA_UNLOCKER_ZONE="your-zone-name"

Step-by-Step Process

Step 1: Capture the Inspiration Site

Run both captures in parallel — screenshot (for visual analysis) and HTML scrape (for CSS extraction):

bash
# Screenshot (save as PNG)
bash scripts/screenshot.sh "https://inspiration-site.com" "/tmp/target_screenshot.png"

# HTML + CSS scrape
bash scripts/scrape_html.sh "https://inspiration-site.com" "/tmp/target_page.html"

Read references/capture-guide.md for how to extract CSS from the raw HTML and handle common issues.

Step 2: Analyze the Design System

After capturing, analyze both in parallel:

Visual analysis (screenshot): Read the PNG image and identify:

  • Primary, secondary, accent colors
  • Background colors (page bg, card bg, surface hierarchy)
  • Typography: font families visible, size hierarchy (h1 → body → caption)
  • Layout: is it centered/constrained-width? Grid? Sidebar?
  • Card/container shapes: border radius size, shadow style (hard, soft, none, colored)
  • Button styles: pill, rectangle, ghost, gradient?
  • Navigation: sticky? Glass/blur effect? Dark or light?
  • Overall mood: dark, light, minimal, brutalist, glassmorphism, corporate, startup?

CSS analysis (HTML): Extract from <style> tags and inline styles:

  • CSS custom properties (:root { --color-... }) — publicly declared design tokens
  • Font imports (@import from Google Fonts, etc.)
  • Tailwind config if present
  • Repeated class patterns that reveal the spacing scale

Read references/css-extraction.md for the extraction playbook.

Step 3: Build the Design Token Map

Produce a structured design token map before touching any code:

DESIGN TOKENS FROM [site]
==========================
Colors:
  --bg-primary: #0a0a0f      (page background)
  --bg-surface: #13131a      (card/panel background)
  --text-primary: #ffffff
  --text-muted: #8888aa
  --accent: #7c3aed          (primary CTA color)
  --accent-hover: #6d28d9
  --border: rgba(255,255,255,0.08)

Typography:
  --font-heading: 'Inter', sans-serif
  --font-body: 'Inter', sans-serif
  font-scale: 12/14/16/20/24/32/48px
  heading-weight: 700
  body-weight: 400

Spacing:
  base-unit: 8px
  scale: 4/8/12/16/24/32/48/64px

Borders & Shadows:
  --radius-sm: 6px
  --radius-md: 12px
  --radius-lg: 20px
  --shadow: 0 4px 24px rgba(0,0,0,0.4)

Special effects:
  glass-blur: backdrop-filter: blur(16px)
  gradient: linear-gradient(135deg, #7c3aed, #2563eb)

Show this token map to the user before proceeding. It's the foundation — if it's wrong, the output will be wrong.

Step 4: Understand the User's Codebase

Before writing any code, read the relevant parts of their codebase:

  • What framework? (React, Vue, Next.js, plain HTML?)
  • What styling approach? (Tailwind, CSS modules, styled-components, plain CSS?)
  • Where are global styles defined? (globals.css, theme.ts, tailwind.config.js?)
  • What components need restyling? (ask the user if unclear)

Do not rewrite everything — surgical precision. Apply the design tokens to the existing structure.

Step 5: Apply the Design

The application strategy depends on their stack:

If Tailwind: Update tailwind.config.js with the new color palette, font family, border radius scale. Add custom CSS variables for anything Tailwind can't handle natively.

If CSS/CSS Modules: Create or update a :root variables block in globals.css. Update component stylesheets to use the new variables.

If styled-components/Emotion: Update the theme object. Replace hardcoded color/spacing values with theme tokens.

In all cases:

  • Apply colors, typography, and spacing globally first
  • Then tackle component-level details (buttons, cards, nav) one at a time
  • Preserve all existing functionality and layout structure — only visual properties change
  • Add any special effects (glass blur, gradients, animations) that define the inspiration site's character

Read references/apply-guide.md for framework-specific implementation patterns.

Show full SKILL.md (350 more words)Show less
Step 6: Show the Before/After

After applying changes, clearly present:

  • Which files were modified
  • The design token mapping (source → what you set it to)
  • Any special effects added
  • What the user should check visually (hover states, dark/light mode, mobile)

If the user has a dev server running, remind them to check it. Offer to iterate on specific components.

Key Principles

Design language, not markup. The inspiration site's HTML structure and content are theirs. You're extracting the design language — how colors relate, how spacing flows, what gives the site its character — to apply as your own creative foundation.

Design tokens first, code second. Rushing to apply colors before understanding the full system leads to inconsistent results. Always build the token map first.

Ask about scope. "Apply the design everywhere" vs "just make the homepage feel like it" vs "only restyle the navbar" are very different jobs. Clarify before proceeding.

Don't break what works. The user's components work. Only change visual properties. If you're uncertain whether a change might break layout, err on the side of caution and flag it.

Iterative is fine. It's often better to get the foundation right (colors, type, spacing) and let the user review before tackling component-level details.

What to Do When...

The site uses a design system (Material, shadcn, etc.): Identify it, tell the user, and ask if they want to adopt the same system or just extract the visual tokens.

The CSS is minified/obfuscated: Fall back to the screenshot + visual analysis. You can still extract colors, spacing, and shapes from visual inspection.

The inspiration site is JS-rendered and the HTML scrape comes back mostly empty: Note this to the user — the screenshot will still work for visual analysis, but CSS extraction will be limited. You can still infer most tokens visually.

The user's codebase uses a component library (shadcn, Chakra, MUI): Apply the design by customizing the library's theme/config rather than overriding individual components.

Multiple pages need to match: Use the homepage for overall design tokens, but offer to check inner pages (e.g., /pricing, /docs) if the user wants to match a specific page's look.

© brightdata, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in skills/design-mirror of brightdata/skills.

  • SKILL.md
  • references/apply-guide.md
  • references/capture-guide.md
  • references/css-extraction.md
  • scripts/scrape_html.sh
  • scripts/screenshot.sh

Open the folder on GitHubat commit 81f51af

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in brightdata/skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Design Mirror next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Design Mirror compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Design Mirror this skillbrightdata/skills2641 repos~2.1kAutomated safety check: PassMIT
Web Artifacts Builderanthropics/skills180k40 repos~769Automated safety check: PassApache-2.0
React Doctormakeplane/plane60k12 repos~657Automated safety check: PassAGPL-3.0
React Composition Patternsvercel-labs/openreview1.7k58 repos~721Automated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    60k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • React Composition Patterns

    vercel-labs/openreview

    Official

    Rules for structuring React components with composition instead of boolean props, covering compound components, lifted state, variants and React 19 changes.

    1.7k GitHub starsUsed in 58 repos~721 tokens
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed

More from brightdata/skills

All 14 skills in this repo
  • Brightdata Proxy

    brightdata/skills

    Generate working code that routes HTTP requests through Bright Data proxy networks (Datacenter, ISP, Residential, Mobile) and help users decide which network and IP pool type to use (shared pool…

    264 GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • Bright Data MCP

    brightdata/skills

    Bright Data MCP handles ALL web data operations. An agent skill from brightdata/skills.

    264 GitHub starsUsed in 1 repo~3.7k tokens
    Auto-check passed
  • Live Research

    brightdata/skills

    Produce a deep, multi-source, cited research brief on a topic from live web data using Bright Data's Discover API (intent-ranked web search + parsed page content).

    264 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Brightdata SDK JS

    brightdata/skills

    Web data extraction and discovery using the Bright Data JavaScript/TypeScript SDK (@brightdata/sdk).

    264 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Data Feeds

    brightdata/skills

    Extract structured data from 40+ supported platforms (Amazon, LinkedIn, Instagram, TikTok, Facebook, YouTube, Reddit, and more) via the Bright Data CLI (bdata pipelines).

    264 GitHub stars~2.2k tokensUpdated yesterday
    Auto-check passed
  • Discover API

    brightdata/skills

    Use Bright Data's Discover API — intent-ranked, AI-relevance-scored web search at scale (not keyword SERP).

    264 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Design Mirror

What does Design Mirror do?

Replicate the visual style of any website and apply it to your existing codebase. Design Mirror is an agent skill from brightdata/skills. Replicate the visual style of any website and apply it to your existing codebase.

When should I use Design Mirror?

Design Mirror fits situations like: the user wants to match a sites design; mirror a UI aesthetic; make their app look like another site; replicate a specific visual style from a URL.

How do I install Design Mirror in Claude Code?

Run `npx skills add brightdata/skills --skill design-mirror -a claude-code`. Or copy the skill folder (skills/design-mirror in brightdata/skills) into .claude/skills/design-mirror in your project. Claude Code loads it when a task matches its description.

How do I install Design Mirror in Codex?

Run `npx skills add brightdata/skills --skill design-mirror -a codex`. Or copy the skill folder (skills/design-mirror in brightdata/skills) into .agents/skills/design-mirror in your project. Codex loads it when a task matches its description.

Can I use Design Mirror in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brightdata/skills --skill design-mirror -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-mirror, .gemini/skills/design-mirror, .github/skills/design-mirror and .opencode/skills/design-mirror in your project.

What does Design Mirror need to run?

Going by SKILL.md and its folder, Design Mirror needs a shell for the scripts in its folder, the command-line tools its instructions call (bash) and credentials named BRIGHTDATA_API_KEY. Our summary lists: A Bash shell; A credential in BRIGHTDATA_API_KEY.

Does Design Mirror access the network?

SKILL.md names 2 domains. In commands or code: inspiration-site.com; the agent is likely to contact it when it follows the instructions. As links in the text: brightdata.com. This is read from the text; nothing was executed.

Is Design Mirror safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Design Mirror use?

Design Mirror is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Design Mirror use?

About 2.1k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.6k tokens, read only when the agent opens those files.

What are the alternatives to Design Mirror?

Skills that share tags, products or a category with Design Mirror: Web Artifacts Builder (anthropics/skills, 180k stars), React Doctor (makeplane/plane, 60k stars), React Composition Patterns (vercel-labs/openreview, 1.7k stars) and Impeccable (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Design Mirror?

brightdata (a GitHub organization) maintains it in brightdata/skills, which has 264 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 6, 2026.

Source: brightdata/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.