explainx.ainewsletter3.4k
trendingπŸ”₯loopsskills
pricing
workshops β†—
explainx.ai

Learn to lead teams that combine humans and agents. Platform access, live workshops, bootcamps, and 50+ courses β€” plus skills, tools, and MCP to practice what you learn.

follow us

custom AI agents

[email protected]

get started

Join Β· $29/mo

learn

platform Β· $29/moworkshopsbootcampscoursescertificationscertification testsexplainx universitycorporate trainingfacilitatorshackathonslearn skills & mcp

discover

skillstoolsagentsmcp serversdesignsllmsagiranks

content

releasesvisionmissionaboutcommunityteamcareersresourcespromptsgenerators hubgenerator SEO hubprompt templatesprompt guidesblogfor LLMsdemo

Sister Products

Infloq

Infloq

Influencer marketing

BgBlur

BgBlur

Privacy-first blur

Olly Social

Olly Social

Social AI copilot

Ceptory

Ceptory

Video intelligence

BgRemover

BgRemover

Background removal

newsletter Β· weekly

Get AI news, tools, and insights in your inbox.

contactsupportprivacytermsdata rightssubmission guidelines

Β© 2026 AISOLO Technologies Pvt Ltd

← Back to blog

explainx / blog

AI Website Cloner: Reverse-Engineer Sites with Claude Code

JCodesMore's ai-website-cloner-template turns any URL into a Next.js 16 codebase via /clone-website β€” design tokens, parallel git worktrees, visual QA. Setup, legality, Cursor support, and when motion-heavy sites fail.

Jun 27, 2026Β·9 min readΒ·Yash Thakker
Website ClonerClaude CodeNext.jsAI AgentsReverse EngineeringDeveloper Tools
AI Website Cloner: Reverse-Engineer Sites with Claude Code
Weekly digest3.4k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP β€” delivered to your inbox. Unsubscribe anytime.

JCodesMore's ai-website-cloner-template has 21.4k stars and 3.1k forks β€” one of the fastest-growing agent-skill templates on GitHub. The pitch is simple: point at a URL, run /clone-website, get a Next.js 16 codebase back.

People do not land on that README wondering what Next.js is. They ask:

  • Do I fork the repo or use the template button?
  • Is this legal?
  • Does it work in Cursor, or only Claude Code?
  • How is this different from Claude Design / vibe coding?
  • Why did my clone fail on an animation-heavy site?

This post answers those.

TL;DR

QuestionAnswer
What is it?GitHub template β†’ agent skill rebuilds a URL as Next.js 16 + shadcn + Tailwind v4
One command?/clone-website https://example.com (multiple URLs supported)
Best agent?Claude Code + claude --chrome (README recommends Opus 4.7)
Also works inCursor, Copilot, Windsurf, Codex, Gemini CLI, 8+ others
PrerequisitesNode.js 24+, npm install, AI agent with browser access
LicenseMIT β€” template and output structure; not a license to steal brands
Legal usesSites you own, lost repos, learning β€” not phishing or ToS violations
Known gapHeavy motion/animation sites can fail (#39)
Latest releasev0.3.1 (Mar 30, 2026) β€” 5 tagged releases total

Repo: github.com/JCodesMore/ai-website-cloner-template


Do I clone the repo or use "Use this template"?

Use the template button. The README is explicit:

Do not clone this template repository directly for your website project, and do not open pull requests here with your generated website.

Why: /clone-website writes components, assets, and research specs into your project tree. That belongs in your repo β€” not as a PR to the upstream template.

Steps:

  1. On GitHub β†’ Use this template β†’ Create a new repository
  2. Clone your copy: git clone https://github.com/YOUR-USERNAME/YOUR-REPO.git
  3. npm install
  4. Start agent (Claude Code): claude --chrome
  5. Run: /clone-website https://target-site.com

Optional second URL for multi-page clones:

/clone-website https://example.com https://example.com/pricing

What actually happens when you run /clone-website?

The skill is a five-phase pipeline, not a wget mirror:

Reconnaissance β†’ Foundation β†’ Component Specs β†’ Parallel Build β†’ Assembly & QA
PhaseAgent does
ReconnaissanceScreenshots, design tokens, scroll/click/hover/responsive sweep
FoundationFonts, colors, globals, asset downloads to public/
Component specsdocs/research/components/ β€” exact getComputedStyle() values, states, breakpoints
Parallel buildGit worktrees β€” one builder agent per section/component
Assembly & QAMerge worktrees, wire page, visual diff vs original

Each builder gets the full spec inline β€” computed CSS, interaction models, asset paths. The design is measured, not guessed.

Output layout:

src/app/              # Next.js routes
src/components/       # Rebuilt sections + shadcn/ui
public/images/        # Downloaded assets
docs/research/        # Extraction + specs
docs/design-references/  # Screenshots

This is closer to loop engineering with parallel subagents than a single-shot "rewrite this HTML" prompt.


What stack do you get?

LayerChoice
FrameworkNext.js 16 β€” App Router, React 19, TypeScript strict
UIshadcn/ui β€” Radix + Tailwind
StylingTailwind CSS v4 β€” oklch design tokens
IconsLucide default β†’ extracted SVGs during clone
Dev checksnpm run check = lint + typecheck + build
Dockerdocker compose up app --build optional

Node 24+ is enforced via .nvmrc β€” older Node versions are unsupported.


Does it work with Cursor (not just Claude Code)?

Yes. The template is a multi-platform agent harness:

AgentStatus
Claude CodeRecommended β€” needs browser (claude --chrome)
CursorSupported β€” reads .cursor/ + AGENTS.md
Copilot, Windsurf, Codex, Gemini CLISupported
Cline, Roo Code, Continue, Amazon Q, Augment, AiderSupported

Source of truth:

WhatFileRegenerate with
Project rulesAGENTS.mdbash scripts/sync-agent-rules.sh
/clone-website skill.claude/skills/clone-website/SKILL.mdnode scripts/sync-skills.mjs

Open PR #57 adds CI to verify generated platform files stay in sync β€” a sign the maintainer expects drift if you edit copies manually.

For Cursor users: treat this like any agent skill repo β€” open your template copy, ensure the skill is discoverable, run /clone-website from the agent command palette.


Is cloning websites legal?

The repo's Not Intended For list is worth quoting in full because it is the answer most searchers need:

  • Phishing or impersonation β€” prohibited
  • Passing off someone's design as your own β€” logos, brand assets, copy belong to owners
  • Violating terms of service β€” many sites ban scraping/reproduction; check first

Legitimate use cases from the README:

Use caseWhen it fits
Platform migrationYou own a WordPress/Webflow site and want Next.js source
Lost source codeSite is live; repo is gone or stack is legacy
LearningDeconstruct how production sites handle layout and responsive behavior

Not legal advice. MIT license on the tool does not grant rights to third-party trademarks, fonts, or copyrighted imagery embedded in a clone. Replace brand assets before shipping.


How is this different from Claude Design or vibe coding?

AI Website ClonerClaude Design / vibe coding
InputLive URLPrompt, wireframe, brand brief
OutputMeasured rebuild of existing UINew UI from intent
SpecsgetComputedStyle(), downloaded assetsDESIGN.md tokens, design rationale
QAVisual diff vs originalHuman design review
Best forMigration, repo recovery, pixel-faithful referenceGreenfield products, branded new sites

If you are designing from scratch, building with Claude or a DESIGN.md registry is the better path.

If you already have a production URL and need maintainable React source, the cloner template is the fit.

vs one-click SaaS cloners: Those often dump HTML/CSS blobs. This template produces componentized Next.js with TypeScript, shadcn primitives, and agent-readable spec files you can iterate on.


What breaks? (GitHub issues people hit)

IssueReport
#39Sites with too much motion/animation β€” pipeline "completely fails"
#56Open PR: graceful degradation for motion-heavy sites
#22claude --chrome skill failed to load after npm audit fix
#18Feature request: Playwright MCP as browser backend
#60Docs PR for Playwright MCP alternative to default browser MCP
#25Migration toward agent-browser CLI

Takeaway: Browser backend is still evolving. Simple marketing pages clone more reliably than GSAP-heavy or WebGL experiences. Plan manual polish for motion.

PR backlog: 12 open PRs including dependency bumps (#48 Next.js 16.2.7), devcontainer (#54), and CONTRIBUTING/SECURITY docs.


How much does it cost?

The template is free (MIT). Runtime cost is your AI agent subscription:

  • README recommends Claude Code with Opus 4.7 β€” Anthropic Max/Pro tier for long /clone-website runs
  • Parallel worktrees mean multiple agent turns β€” token spend scales with page complexity and section count
  • No paid API inside the template itself beyond what your agent provider charges

Rough expectation: a single landing page is a moderate agent session; a multi-section marketing site is a long-horizon job comparable to other multi-agent coding workflows.


When should you use it?

Good fits:

  • Rebuilding your WordPress/Webflow site on Next.js
  • Recovering source when the agency left and took the repo
  • Learning production patterns by reading generated components + specs
  • Starting a redesign from an approved reference (with rights cleared)

Poor fits:

  • Cloning competitors for launch-day impersonation
  • Sites behind auth paywalls without manual setup
  • Animation-first experiences (see #39)
  • Expecting 100% pixel parity on first run without human QA

After /clone-website: what should you review first?

The skill finishes with a visual diff against the original, but you still own the ship decision. Walk this checklist before deploying:

1. Component specs in docs/research/components/ These files are the contract between recon and build. Spot-check that computed spacing, font sizes, and breakpoint behavior match what you see in the browser. If a hero section spec says padding-top: 96px and the live clone shows 64px, fix the component β€” do not re-run the whole pipeline.

2. Asset paths under public/ Downloaded images land in public/images/, videos in public/videos/, favicons and OG assets in public/seo/. Broken paths are the most common post-clone bug when the target site used CDN URLs or lazy-loaded media. Run npm run dev and grep the console for 404s.

3. Typography and fonts Foundation phase updates globals and font imports. Verify @font-face or next/font choices against the source site β€” especially if the original used a commercial font you do not license. Swap to a legal alternative in src/app/layout.tsx before production.

4. Interactive states Recon captures hover, focus, and mobile nav behavior in the spec. Tab through forms and menus manually. Issue #39 shows motion-heavy sites break; even on static pages, dropdowns and accordions sometimes need a human pass.

5. npm run check Lint, TypeScript, and production build must pass before you treat the clone as shippable. The template enforces strict TypeScript β€” generated components occasionally need type narrowing after merge.

6. Brand and copy Replace logos, trademarked names, and lorem you do not own. The clone is a technical reconstruction, not a license to republish someone else's brand.

For migrations you own, the fastest path is often: run /clone-website, review specs, then prompt the agent to "replace all copy with our new product messaging while keeping layout tokens from docs/research." That uses the measured layout without copying competitor text.

If you use Cursor instead of Claude Code, open your template copy, confirm .cursor/ rules load, and invoke the same /clone-website skill from the command palette. The sync scripts keep Cursor, Copilot, and Windsurf configs aligned with .claude/skills/clone-website/SKILL.md β€” edit the source skill once, run node scripts/sync-skills.mjs, and every platform gets the update.


Quick command reference

# After creating YOUR repo from template
npm install
npm run dev          # local preview
npm run check        # lint + typecheck + build

# Claude Code (recommended)
claude --chrome
# then in agent:
/clone-website https://yoursite.com

# Docker
docker compose up dev --build   # dev on port 3001

Where this fits the agentic frontend stack

The website cloner sits between design systems for agents and full-stack vibe coding:

  • Agent skills β€” /clone-website is a packaged skill synced to 12+ platforms
  • DESIGN.md β€” forward design; cloner is reverse design from live DOM
  • Claude Code commands β€” slash commands as orchestration entry points
  • OpenMontage β€” same "agent reads skill + runs pipeline" pattern, different domain (video vs frontend)

Both trending repos show the same 2026 pattern: don't build a SaaS orchestrator β€” ship a repo your agent already knows how to run.


Related reading

  • Build full-stack websites with Claude
  • DESIGN.md templates for AI agents
  • Top DESIGN.md registries
  • Claude Design overview
  • What are agent skills?
  • Loop engineering with Claude Code

Official: AI Website Cloner Template Β· CHANGELOG Β· AGENTS.md


Star counts, issue numbers, and release tags reflect the repository as of June 27, 2026. Browser backends and motion-site handling are actively changing β€” check open PRs before betting production migrations on a single run.

Related posts

Jun 27, 2026

Build Your First MCP Server: A Step-by-Step Guide (2026)

A hands-on, end-to-end guide to building your first MCP server in TypeScript β€” complete with two working tools, a resource, a prompt template, and instructions for wiring it into Claude Code.

Jun 27, 2026

Claude Code Subagents and Multi-Agent Workflows (2026)

Subagents let Claude Code parallelize work across isolated contexts β€” one researches while another implements, or ten agents each tackle a different module. Here is how the system works and how to design workflows that use it.

Jun 22, 2026

Steering Claude Code: CLAUDE.md, Skills, Hooks, Subagents, and Rules Explained

CLAUDE.md loads at session start and stays forever. Skills load only when invoked. Hooks run deterministically outside the context window. Subagents return only a summary to the main thread. Anthropic's new guide maps all seven instruction methods β€” here is the practical breakdown with decision rules for each.