Clone any website with one command using AI coding agents
AI Website Cloner Template is a Next.js boilerplate that automates the reverse-engineering of any website into a modern TypeScript codebase using a single Claude Code slash command, `/clone-website`. The tool runs a five-phase pipeline: it first takes screenshots and extracts design tokens through interaction sweeps (scroll, click, hover, responsive), then downloads assets and updates fonts and globals, generates detailed component spec files under `docs/research/components/` with exact `getComputedStyle()` values and interaction states, dispatches parallel builder agents in separate git worktrees, and finally merges them into a complete page with a visual diff against the original. The output stack is Next.js 16 with App Router, React 19, shadcn/ui on Radix primitives, Tailwind CSS v4 with oklch design tokens, and Lucide React icons replaced by extracted SVGs. While Claude Code with Opus 4.7 is the recommended agent, the template also supports Cursor, Aider, GitHub Copilot, and ten other coding agents via an `AGENTS.md` file. Primary beneficiaries include developers migrating sites from WordPress or Webflow and those recovering code from live sites with lost repositories.
- ✓Open-source license (MIT)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
git clone https://github.com/JCodesMore/ai-website-cloner-template && cp ai-website-cloner-template/*.md ~/.claude/agents/1 items en este repositorio
Resumen de Subagents
<div align="center">
# AI Website Cloner Template
### Clone any website with one command
Give your AI coding agent a URL and watch it recreate the website as a clean Next.js app.
**Best results with [Claude Code](https://docs.anthropic.com/en/docs/claude-code) + Opus 5. Works with Codex, Cursor, Gemini, and more.**
[](https://github.com/JCodesMore/ai-website-cloner-template/generate) [](https://discord.gg/hrTSX5yTpB)
[Quick Start](#quick-start) · [Watch Demo](#demo) · [Supported Platforms](#supported-platforms)
<a href="https://github.com/JCodesMore/ai-website-cloner-template/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="MIT License" /></a> <a href="https://github.com/JCodesMore/ai-website-cloner-template"><img src="https://img.shields.io/github/stars/JCodesMore/ai-website-cloner-template?style=flat" alt="Stars" /></a> <img src="https://img.shields.io/endpoint?url=https://gittokens.rsamf.com/badge/JCodesMore/ai-website-cloner-template" alt="tokens" />
<a href="https://trendshift.io/repositories/24302?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-24302" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/24302" alt="JCodesMore%2Fai-website-cloner-template | Trendshift" width="250" height="55" /></a> <a href="https://www.star-history.com/jcodesmore/ai-website-cloner-template/"><picture><source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template&theme=dark" /><source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" /><img alt="Star History Global Rank" src="https://api.star-history.com/badge?repo=JCodesMore/ai-website-cloner-template" width="216" height="55" /></picture></a>
<br />
<sub><strong>SPONSORED BY</strong></sub>
<br /><br />
<a href="https://www.rapidproxy.io/?ref=JCM"><img src="docs/assets/sponsors/rapidproxy-banner.png" alt="RapidProxy residential proxy service" width="680" /></a>
<br />
<sub>Power your scraping and automation with 90M+ residential IPs, 500MB free traffic, and non-expiring bandwidth. <a href="https://www.rapidproxy.io/?ref=JCM">Explore RapidProxy →</a></sub>
<br /><br />
<a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=sponsor&utm_campaign=ai-website-cloner-template">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/assets/sponsors/atlas-cloud-logo-white.svg" />
<source media="(prefers-color-scheme: light)" srcset="docs/assets/sponsors/atlas-cloud-logo.svg" />
<img src="docs/assets/sponsors/atlas-cloud-logo.svg" alt="Atlas Cloud" width="240" />
</picture>
</a>
<br />
<sub>Generate AI images, video, audio, and 3D assets through one API. <a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=sponsor&utm_campaign=ai-website-cloner-template">Explore Atlas Cloud →</a></sub>
</div>
---
## Demo
[](https://youtu.be/O669pVZ_qr0)
> Click the image above to watch the full demo on YouTube.
## Quick Start
> **Important:** Start by making your own copy with GitHub's **Use this template** button. Do not clone this template repository directly for your website project, and do not open pull requests here with your generated website.
1. **Create your own repository from this template**
On the GitHub page for this project, click **Use this template**, then click **Create a new repository**.
Give your new repository a name, choose whether it should be public or private, then click **Create repository**. If GitHub shows an **Include all branches** option, you can leave it off.
This gives you your own separate project to work in, so your website changes stay in your account instead of coming back to the main template.
2. **Open your new repository on your computer**
After GitHub creates your copy, open that new repository. Click **Code** and open or clone your new repository with your preferred coding tool.
If you use the terminal, the command will look like this:
```bash
git clone https://github.com/YOUR-USERNAME/YOUR-NEW-REPOSITORY.git
cd YOUR-NEW-REPOSITORY
```
3. **Install dependencies**
```bash
npm install
```
4. **Start your AI agent** — Claude Code recommended:
```bash
claude --chrome
```
5. **Run the skill**:
```
/clone-website <target-url1> [<target-url2> ...]
```
6. **Customize** (optional) — after the base clone is built, modify as needed
> Most supported clients expose `/clone-website` directly. If your client activates skills from natural-language requests, enter `Clone <target-url> using the clone-website workflow`. Project instructions are in `AGENTS.md`.
## Supported Platforms
| Agent | Status |
| ------------------------------------------------------------- | -------------------------- |
| [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | **Recommended** — Opus 5 |
| [Codex CLI](https://github.com/openai/codex) | Supported |
| [OpenCode](https://opencode.ai/) | Supported |
| [GitHub Copilot](https://github.com/features/copilot) | Supported |
| [Kiro](https://kiro.dev/) | Supported |
| [Cursor](https://cursor.com/) | Supported |
| [Windsurf](https://codeium.com/windsurf) | Supported |
| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | Supported |
| [Cline](https://github.com/cline/cline) | Supported |
| [Roo Code](https://github.com/RooCodeInc/Roo-Code) | Supported |
| [Continue](https://continue.dev/) | Supported |
| [Amazon Q](https://aws.amazon.com/q/developer/) | Supported |
| [Augment Code](https://www.augmentcode.com/) | Supported |
## Prerequisites
- [Node.js](https://nodejs.org/) 24+
- An AI coding agent (see [Supported Platforms](#supported-platforms))
## Tech Stack
- **Next.js 16** — App Router, React 19, TypeScript strict
- **shadcn/ui** — Radix primitives + Tailwind CSS v4
- **Tailwind CSS v4** — oklch design tokens
- **Lucide React** — default icons (replaced by extracted SVGs during cloning)
## How It Works
The `/clone-website` skill runs a multi-phase pipeline:
```mermaid
flowchart LR
P1["1. Reconnaissance"] --> P2["2. Foundation"]
P2 --> P3["3. Component Specs"]
P3 --> P4["4. Parallel Build"]
P4 --> P5["5. Assembly and QA"]
```
1. **Reconnaissance** — screenshots, design token extraction, interaction sweep (scroll, click, hover, responsive)
2. **Foundation** — updates fonts, colors, globals, downloads all assets
3. **Component Specs** — writes detailed spec files (`docs/research/components/`) with exact computed CSS values, states, behaviors, and content
4. **Parallel Build** — dispatches builder agents in git worktrees, one per section/component
5. **Assembly & QA** — merges worktrees, wires up the page, runs visual diff against the original
Each builder agent receives the full component specification inline — exact `getComputedStyle()` values, interaction models, multi-state content, responsive breakpoints, and asset paths. No guessing.
## Use Cases
- **Platform migration** — rebuild a site you own from WordPress/Webflow/Squarespace into a modern Next.js codebase
- **Lost source code** — your site is live but the repo is gone, the developer left, or the stack is legacy. Get the code back in a modern format
- **Learning** — deconstruct how production sites achieve specific layouts, animations, and responsive behavior by working with real code
## Not Intended For
- **Phishing or impersonation** — this project must not be used for deceptive purposes, impersonation, or any activity that breaks the law.
- **Passing off someone's design as your own** — logos, brand assets, and original copy belong to their owners.
- **Violating terms of service** — some sites explicitly prohibit scraping or reproduction. Check first.
## Project Structure
```
src/
app/ # Next.js routes
components/ # React components
ui/ # shadcn/ui primitives
icons.tsx # Extracted SVG icons
lib/utils.ts # cn() utility
types/ # TypeScript interfaces
hooks/ # Custom React hooks
public/
images/ # Downloaded images from target
videos/ # Downloaded videos from target
seo/ # Favicons, OG images
docs/
research/ # Extraction output & component specs
design-references/ # Screenshots
scripts/
sync-agent-rules.sh # Regenerate agent instruction files
sync-skills.mjs # Regenerate /clone-website for all platforms
.kiro/skills/ # Generated Kiro workspace skill
.cline/skills/ # Generated Cline workspace skill
.roo/skills/ # Generated Roo Code workspace skill
.roo/commands/ # Generated Roo Code slash command
AGENTS.md # Agent instructions (single source of truth)
CLAUDE.md # Claude Code config (imports AGENTS.md)
GEMINI.md # Gemini CLI config (imports AGENTS.md)
```
## Commands
```bash
npm run dev # Start dev server
npm run build # Production build
npm run lint # ESLint check
npm run typecheck # TypeScript check
npm Lo que la gente pregunta sobre ai-website-cloner-template
¿Qué es JCodesMore/ai-website-cloner-template?
+
JCodesMore/ai-website-cloner-template es subagents para el ecosistema de Claude AI. Clone any website with one command using AI coding agents Tiene 34.2k estrellas en GitHub y su última actualización registrada es del 2026-08-14.
¿Cómo se instala ai-website-cloner-template?
+
Puedes instalar ai-website-cloner-template clonando el repositorio (https://github.com/JCodesMore/ai-website-cloner-template) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar JCodesMore/ai-website-cloner-template?
+
Nuestro agente de seguridad ha analizado JCodesMore/ai-website-cloner-template y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene JCodesMore/ai-website-cloner-template?
+
JCodesMore/ai-website-cloner-template es mantenido por JCodesMore. La última actividad registrada en GitHub es del 2026-08-14, con 3 issues abiertos.
¿Hay alternativas a ai-website-cloner-template?
+
Sí. En ClaudeWave puedes explorar subagents similares en /categories/agents, ordenados por popularidad o actividad reciente.
Despliega ai-website-cloner-template en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/jcodesmore-ai-website-cloner-template)<a href="https://claudewave.com/repo/jcodesmore-ai-website-cloner-template"><img src="https://claudewave.com/api/badge/jcodesmore-ai-website-cloner-template" alt="Featured on ClaudeWave: JCodesMore/ai-website-cloner-template" width="320" height="64" /></a>Más Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The agent engineering platform.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.