Website-to-Next.js Cloner

Clone site

by ericosiu · MIT license · ★ 3,615 on GitHub

Clone site cover

description: Clone any website into a pixel-perfect Next.js replica.

---

## Preamble (runs on skill start)

```bash
# Version check (silent if up to date)
python3 telemetry/version_check.py 2>/dev/null || true

# Telemetry opt-in (first run only, then remembers your choice)
python3 telemetry/telemetry_init.py 2>/dev/null || true
```

> **Privacy:** This skill logs usage locally to `~/.ai-marketing-skills/analytics/`. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See `telemetry/README.md`.

---
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".
---

Overview

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". ---

What you get

  • 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
Manual install (npx, ZIP)
Claude Codenpx skills add ericosiu/ai-marketing-skills --skill clone-site -g -a claude-code
Claude Code (degit)npx degit ericosiu/ai-marketing-skills/clone-site#main ~/.claude/skills/clone-site
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md2.5 KB
Read SKILL.md here
ericosiu/main1 file shown
SKILL.md
Show the full text73 lines

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
1---
2 
3## Preamble (runs on skill start)
4 
5```bash
6# Version check (silent if up to date)
7python3 telemetry/version_check.py 2>/dev/null || true
8 
9# Telemetry opt-in (first run only, then remembers your choice)
10python3 telemetry/telemetry_init.py 2>/dev/null || true
11```
12 
13> **Privacy:** This skill logs usage locally to `~/.ai-marketing-skills/analytics/`. Remote telemetry is opt-in only. No code, file paths, or repo content is ever collected. See `telemetry/README.md`.
14 
15---
16name: clone-site
17description: 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".
18---
19 
20# Clone Site
21 
22Reverse-engineer and rebuild any website as a pixel-perfect Next.js clone.
23 
24## Quick Start
25 
26User says: "Clone yourcompany.com" or "Make a landing page like this: [url]"
27 
28## How It Works
29 
301. **Recon** — Screenshots the target at desktop + mobile, extracts all design tokens (fonts, colors, spacing), downloads all assets
312. **Foundation** — Sets up Next.js with the target's exact fonts, colors, and global styles
323. **Component Specs** — Writes detailed specs for each section with exact CSS values from getComputedStyle()
334. **Parallel Build** — Dispatches builder agents in git worktrees, one per section
345. **Assembly & QA** — Merges everything, wires up the page, visual diff against original
35 
36## Requirements
37 
38- Chrome MCP must be enabled: `claude --chrome`
39- Node.js 20+
40- A Next.js + Tailwind v4 + shadcn/ui scaffold as the base project
41 
42## Setup (first time only)
43 
44```bash
45cd /path/to/your-clone-project
46npm install
47```
48 
49## To Clone a Site
50 
51```bash
52cd /path/to/your-clone-project
53```
54 
55Edit `TARGET.md` with the URL and scope, then run the skill in Claude Code.
56 
57Or just tell any agent: "clone [url]" and they'll handle it.
58 
59## Full Technical Reference
60 
61The complete cloning methodology (reconnaissance, extraction, parallel dispatch, QA) is in:
62`references/FULL_METHODOLOGY.md`
63 
64Only read this when actively executing a clone — it's ~500 lines of detailed instructions.
65 
66## Output
67 
68- Pixel-perfect Next.js site in your project directory
69- All assets downloaded to `public/`
70- Component specs in `docs/research/components/`
71- Screenshots in `docs/design-references/`
72- Run with `npm run dev` to preview
73 
View all files on GitHub →

Details

License
MIT
Stars on the repo
★ 3,615
Checked
Source
ericosiu/ai-marketing-skills ↗
Creator
ericosiu · 34 listings
View creator

Similar skills

See all →

More from ericosiu

SkillVideo Moment Extraction Agentericosiu/ai-marketing-skills · by ericosiuUse when an agent must extract moments, quotes, objections, hooks, or evidence from long video or audio cheaper than full-frame ingest — sales calls, podcasts, YouTube episodes, Loom trials, discovery recordings. Goal-directed watch via Gemini agentic video understanding (frames, audio, or transcript). Not for cutting, overlays, rendering, scheduling, or publishing.★ 3.6k GitHub starsSkillConversion Operationsericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillFinance Operationsericosiu/ai-marketing-skills · by ericosiuAI-powered financial analysis suite. Generates executive CFO briefings from QuickBooks exports (P&L, Balance Sheet, General Ledger, Cash Flow, etc.) with anomaly detection, burn rate, runway analysis, and scenario modeling. Also estimates codebase development costs with organizational overhead and AI ROI analysis. Triggers on: 'CFO briefing', 'financial analysis', 'cost briefing', 'expense review', 'runway analysis', 'burn rate', 'cost estimate', 'how much would this cost to build', 'development cost', 'Claude ROI'.★ 3.6k GitHub starsSkillRevenue Intelligence Dashboardericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillSales Pipeline Managerericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub starsSkillValue-Based Sales Playbookericosiu/ai-marketing-skills · by ericosiupython3 telemetry/versioncheck.py 2>/dev/null || true★ 3.6k GitHub stars