Skip to content
FunCoding

clone-site

Clone any website into a pixel-perfect Next.js replica. Reverse-engineer design, extract assets, rebuild section by section.

Star
3,903
License
MIT
Last commit
Dec 1, 2026

clone-site/SKILL.md

View on GitHub

name: clone-site description: Clone any website into a pixel-perfect Next.js replica. Point it at a URL and it reverse-engineers the design, extracts assets, and rebuilds it section by section using parallel builder agents. Use when asked to clone, copy, replicate, rebuild, or reverse-engineer any website or landing page. Also use for "make it look like this site" or "build a page based on this URL".

Clone Site

Reverse-engineer and rebuild any website as a pixel-perfect Next.js clone.

Quick Start

User says: "Clone yourcompany.com" or "Make a landing page like this: [url]"

How It Works

  1. Recon — Screenshots the target at desktop + mobile, extracts all design tokens (fonts, colors, spacing), downloads all assets
  2. Foundation — Sets up Next.js with the target's exact fonts, colors, and global styles
  3. Component Specs — Writes detailed specs for each section with exact CSS values from getComputedStyle()
  4. Parallel Build — Dispatches builder agents in git worktrees, one per section
  5. Assembly & QA — Merges everything, wires up the page, visual diff against original

Requirements

  • Chrome MCP must be enabled: claude --chrome
  • Node.js 20+
  • A Next.js + Tailwind v4 + shadcn/ui scaffold as the base project

Setup (first time only)

cd /path/to/your-clone-project
npm install

To Clone a Site

cd /path/to/your-clone-project

Edit TARGET.md with the URL and scope, then run the skill in Claude Code.

Or just tell any agent: "clone [url]" and they'll handle it.

Full Technical Reference

The complete cloning methodology (reconnaissance, extraction, parallel dispatch, QA) is in: references/FULL_METHODOLOGY.md

Only read this when actively executing a clone — it's ~500 lines of detailed instructions.

Output

  • Pixel-perfect Next.js site in your project directory
  • All assets downloaded to public/
  • Component specs in docs/research/components/
  • Screenshots in docs/design-references/
  • Run with npm run dev to preview

Run this skill on live data

This skill is free and MIT licensed. To run it on your live accounts, connect the Single Brain Gateway.

Agents: sign in with OAuth or the device flow. Do not ask the user to paste a key.

Want a team to run this for you? Single Grain or Single Brain can manage it: talk to us

Similar Skills

prototype

MAmattpocock/skills337k4,978 new stars in the last 7 days

angular-developer

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

Official

firecrawl-build-scrape

FIfirecrawl/firecrawl215k5,595 new stars in the last 7 days

Featured

theme-factory

Apply color and font themes to slides, docs and web pages, with 10 built-in themes.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

frontend-design

Set visual direction and typography for UI, avoiding templated defaults.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

web-artifacts-builder

Build complex HTML artifacts with React, Tailwind CSS, state management and routing.

ANanthropics/skills203k3,265 new stars in the last 7 days