ai-website-cloner-template
Clone any website with one command using AI coding agents
- 37.2k stars
- 5.4k forks
- 3 open issues
- Language: TypeScript
- License: MIT
- updated
Install
git clone https://github.com/JCodesMore/ai-website-cloner-template && cp ai-website-cloner-template/*.md ~/.claude/agents/- Clone the repository and copy the agent .md definitions into ~/.claude/agents (or .claude/agents inside a project).
- Start a new Claude Code session to load the agents.
- Delegate work to them with the Task/Agent tool or by name.
Editor's note
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.
1 items in this repository
Subagents overview
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 + Opus 5.5. Also supports Codex, Cursor, and OpenCode.
Quick Start · Watch Demo · Supported Platforms
Demo
Click the image above to watch the full demo on YouTube.
Quick Start
1. Set up your project
Recommended: ask your agent. Paste this into Codex, Claude Code, or your coding agent:
Set up https://github.com/JCodesMore/ai-website-cloner-template
as a standalone project in a new folder on my computer.
Ask me where to put it. Clone the repository, remove its origin remote,
install dependencies, and run npm run check. Leave it ready for me
to clone a website.Or create your own GitHub repository:
Give it a name and click Create repository. Then give your agent the new repository's link and ask it to clone it onto your computer, install dependencies, and run npm run check.
2. Clone a website
Open the project in your agent with browser access enabled. In Claude Code or Cursor, run:
/clone-website https://example.comReplace the URL with the website you want to recreate. Once it's built, ask your agent for any changes you want.
Supported Platforms
| Agent | Status |
|---|---|
| Claude Code | Recommended — Opus 5.5 |
| Codex CLI | Supported |
| OpenCode | Supported |
| Cursor | Supported |
Prerequisites
Node.js 24+
An AI coding agent (see Supported Platforms)
Tech Stack
Next.js 16 — App Router, React 19, TypeScript strict
shadcn/ui — Base UI 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 follows four steps:
Map — map source URLs to local routes and preserve existing work.
Observe — inspect desktop/mobile pages, extract real assets and fonts, and exercise alternate states.
Build — implement editable components and working interactions; delegate independent sections when useful.
Compare — review source and local pages at matched sizes/states, repair visible differences, and run the production check.
Framer pages and animated sites have focused inspection guidance for responsive variants, media, sticky scenes, and scroll/time-driven motion. Direct HTTP or asset tools handle extraction where practical; browser comparisons establish appearance and behavior. Deliverables include route mappings, run instructions, comparison screenshots, and any remaining gaps.
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
sites/<site>/ # Source-specific components and extracted SVGs
lib/utils.ts # cn() utility
types/ # TypeScript interfaces
hooks/ # Custom React hooks
public/
sites/<site>/ # Source-specific images, fonts, videos, and other assets
docs/
research/<site>/ # Page brief, asset map, and inspection evidence
design-references/ # Screenshots
.agents/skills/
clone-website/ # Canonical skill and inspection reference
.claude/commands/
clone-website.md # Thin Claude Code bridge
AGENTS.md # Agent instructions (single source of truth)
CLAUDE.md # Claude Code config (imports AGENTS.md)Commands
npm run dev # Start dev server
npm run build # Production build
npm run lint # ESLint check
npm run typecheck # TypeScript check
npm run check # Run lint + typecheck + buildIf using docker
docker compose up app --build # build and run the app
docker compose up dev --build # run the app in dev mode on port 3001Agent Support
The project keeps one portable Agent Skill at .agents/skills/clone-website/. Codex, Cursor, and OpenCode read it directly. Claude Code uses the small command bridge at .claude/commands/clone-website.md so /clone-website and its arguments continue to work without exposing a duplicate skill to the other agents.
Star History

License
MIT
What people ask about ai-website-cloner-template
What is JCodesMore/ai-website-cloner-template?
JCodesMore/ai-website-cloner-template is subagents for the Claude AI ecosystem. Clone any website with one command using AI coding agents It has 37.2k GitHub stars and its last recorded update is dated 2026-10-19.
How do I install ai-website-cloner-template?
You can install ai-website-cloner-template by cloning the repository (https://github.com/JCodesMore/ai-website-cloner-template) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is JCodesMore/ai-website-cloner-template safe to use?
Our security agent has analyzed JCodesMore/ai-website-cloner-template and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains JCodesMore/ai-website-cloner-template?
JCodesMore/ai-website-cloner-template is maintained by JCodesMore. The last recorded GitHub activity is dated 2026-10-19, with 3 open issues.
Are there alternatives to ai-website-cloner-template?
Yes. On ClaudeWave you can browse similar subagents at /categories/agents, sorted by popularity or recent activity.
Maintain this repo? Show its Trust Score in your README
The badge shows this repository's current Trust Score and verdict, and links back to this page. It follows the catalogue data: nobody can buy or edit the score it displays.
[](https://claudewave.com/en/repo/jcodesmore-ai-website-cloner-template)<a href="https://claudewave.com/en/repo/jcodesmore-ai-website-cloner-template"><img src="https://claudewave.com/api/badge/jcodesmore-ai-website-cloner-template" alt="ClaudeWave Trust Score for JCodesMore/ai-website-cloner-template" width="320" height="64"></a>