design-mirror
What it does
This skill guides the AI agent in studying a website's public design, including colors, type, spacing and shapes, then using those ideas in your code. It is for designers and developers who want a similar look without copying content.
When to use it
- βWhen you want your app to look like a site you admire, using the same general visual style.
- βWhen you ask to match the design of a reference URL in your own project.
- βWhen you want to pull out a site's color palette, fonts and spacing to guide your UI work.
Skill link
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/web-data/design-mirror/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you make my dashboard look more like the style of this website I like?β
5 new skills a week. 1 minute to read.
How it works
The agent captures a screenshot and the page's markup through Bright Data, identifies the design tokens, and applies them to your existing components.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- Capture β Screenshot + HTML scrape the inspiration site via Bright Data
- Extract β Identify the full design system: colors, fonts, spacing scale, border radii, shadows, component patterns
- Analyze β Study the screenshot visually and the CSS structurally to understand the design language
- 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 SettingsBRIGHTDATA_UNLOCKER_ZONEβ create an Unlocker zone at brightdata.com/cp
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):
# 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 (
@importfrom 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 strat
FAQ
Does it copy the site's content?
No. The skill focuses on the design language, such as colors and layout, not the content or features.
What do I need first?
You need a Bright Data API key and an Unlocker zone set up.
Should I check the site's terms?
Yes. The skill asks you to follow the terms of service of any site you reference.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 33k
- Ranking position
- #9098
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
owasp-security
33kTeaches your agent OWASP security guidance for web apps, APIs, mobile, containers and AI agents, so it can spot common weaknesses and suggest fixes.
agent-management
33kLets your agent create, list, hibernate, wake, rename and delete AI agents using the AI Maestro command line, managing each agent's lifecycle.
agent-messaging
33kLets your agent send, receive and reply to signed messages between AI agents, using the Agent Messaging Protocol, mostly on your own machine.
docs-search
33kLets your agent search auto-generated code documentation for function signatures, class definitions and comments, so it checks the real API before changing code.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.