# Clone a Website with Claude Code: 3 Open Source Repos

> Compare three free GitHub repos that let Claude Code clone a live website pixel by pixel, with install steps, commands, requirements, and limits.

By Jonathan Ben Haim. Updated 2026-11-29. Source: https://jonathanai.io/blog/clone-website-claude-code-repos

Most of us have done this. You find a site you love, take a screenshot, and ask an AI to build something like it. Thirty seconds later you get something that looks close, but not the same. The title is a little small, the button is a different color, and the spacing and font are off.

**In short:** A screenshot is not enough to clone a website, because it leaves out the CSS, fonts, and hover states. AI Website Cloner and Perfect Web Clone open the live site in a browser, measure it, and rebuild it. Copycat is not available from its original repo right now. The repos are free, but the [coding agent](/blog/ai-coding-agent-tools-repos) that runs them [may require a subscription](/blog/claude-pro-vs-max).

## Key takeaways

- A screenshot is a flat image of one moment at one screen size. It does not include CSS, fonts, hover states, mobile behavior, or animations.
- AI Website Cloner needs Node.js 24 or later and a coding agent with browser access, and it outputs a Next.js 16 project.
- Perfect Web Clone is a pip-installed package with a CLI named pwc, and it requires Python 3.10 or later and Node 20 or later.
- Perfect Web Clone ends with one of two statuses: ready_for_user_review or failed_with_residuals.
- As of November 10, 2026, the original Copycat repo at github.com/minosdevs/copycat-skill returns a 404 on GitHub.
- The tools run on your computer and use tokens in your coding agent, so [check the cost in your plan](/blog/claude-code-pricing) before you run one on a large site.

## Why isn't a screenshot enough?

A screenshot is not enough because the model has to guess anything it cannot see. It does not know the exact font, the pixel gap between two elements, or the exact color code. It fills in those gaps from memory.

A screenshot is a flat image of one moment at one screen size. It does not include the CSS, the fonts, the hover states, the mobile behavior, or the animations. The agent gets an image and rebuilds what it can understand from it, and every gap gets filled with a guess.

Good cloning tools do two things differently:

- They open the live site in a real browser and pull real values, such as fonts, colors, and spacing.
- They compare the result to the original and fix the differences, instead of declaring it done after the first try.

## Which repo should you choose?

Choose AI Website Cloner for a clean Next.js project you can keep working on, Perfect Web Clone if you want measurable scores and automatic fixes, and Copycat only after you have checked its code. Copycat's original repo is unavailable right now, so I would stick with the first two.

| Repo | What it is | Output | Requirements | Best for |
|---|---|---|---|---|
| AI Website Cloner | Project template with the /clone-website command | Next.js 16, shadcn/ui, and Tailwind v4 | Node.js 24 or later, coding agent with browser access | Clean project for daily work, migration, and learning |
| Perfect Web Clone | Package with a pwc CLI and an agent skill that measures and fixes | Vite, React, and Tailwind | Python 3.10 or later, Node 20 or later | People who want measurable scores and automatic fixes |
| Copycat | Claude Code skill with Playwright scripts | Static HTML, CSS, and JS, or Next.js | Node.js 18 or later | Landing pages and fast cloning with pixel checks, but the original repo has been removed |

## What is AI Website Cloner?

AI Website Cloner is a free, open source project template from JCodesMore. You give a coding agent a website URL, and the agent rebuilds the site as a clean Next.js application.

According to the README, the best results come with [Claude Code](/blog/claude-code-vs-cursor) and Opus 5.5. The template also supports [Codex CLI](/blog/t3-code-install-run-multiple-agents), OpenCode, and Cursor.

The project includes:

- Next.js 16 with the App Router and React 19
- shadcn/ui components
- Tailwind CSS v4 with tokens in the oklch format
- Lucide icons, replaced with SVG files pulled from the original site

The README describes the process in four steps:

1. **Mapping:** The original site's URLs become local routes, without overwriting existing work.
2. **Observing:** The agent checks the desktop and mobile versions, pulls real assets and fonts, and inspects additional states.
3. **Building:** The agent creates components you can edit, with working interactions.
4. **Comparing:** The agent reviews the original against the local version at the same sizes, fixes the gaps, and runs a build check.

## How do you start with AI Website Cloner?

Create a new folder, have the agent clone the repo, remove the remote origin, install dependencies, and run the check script. Then open the project in an agent that has browser access and run the clone command with a URL.

Before you copy commands from an unfamiliar project, read through the setup steps first. Then follow these steps:

1. Ask the agent to set up the project in a new folder. It should clone the repo, remove the remote origin, install dependencies, and run `npm run check`. You can also click **Use this template** on GitHub to make your own copy.
2. Open the project in an agent with browser access and run this command:

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

3. When the build finishes, ask for normal changes in plain language. The project commands are `npm run dev`, `npm run build`, `npm run lint`, `npm run typecheck`, and `npm run check`.

According to the repo page on GitHub, the project had about 39 thousand stars as of November 10, 2026. That number changes often, so check it yourself.

The README suggests these uses:

- Migrating a site you built on WordPress, Webflow, or Squarespace
- Recovering code when the developer has left or the repo has been lost
- Learning how real sites build layouts and animations

## What is Perfect Web Clone?

Perfect Web Clone is a repo from ericshang98 built on the idea that a screenshot is not a clone. Its core is a CLI tool named pwc, and the real product is a skill that guides the agent from capturing the site to fixing it. The tool itself does not call a model. It only captures and measures, and the agent writes the code and fixes the section that scored the worst.

According to the README, a run looks like this:

- Capture the live site with an integrity check and asset localization.
- Plan the real sections of the page.
- Write clean React for each section, then assemble and build.
- Score by fingerprints, weight, and visual match.
- Fix the worst section, rebuild, and measure again.
- Produce a final result with one of two statuses: ready_for_user_review or failed_with_residuals. In other words, the site is ready for your review, or gaps remain and are reported openly.

Perfect Web Clone is honest about its limits. If the page uses WebGL, a canvas drawn at runtime, or scroll-driven animations, the tool reports the ceiling in advance. The content will be cloned, but the look produced at runtime may not match.

## How do you install Perfect Web Clone?

Install the package from GitHub with pip, install Chromium through Playwright, load the perfect-web-clone-skill into your agent, and then type `clone` followed by the URL.

Use these commands to install the Python package and browser:

```
pip install "git+https://github.com/ericshang98/Perfect-Web-Clone.git"
playwright install chromium
```

Then load [perfect-web-clone-skill](https://github.com/ericshang98/perfect-web-clone-skill) into Claude Code, Codex, or any agent that can run pwc, and tell it:

```
clone https://example.com
```

The available CLI commands are `pwc extract`, `pwc plan`, `pwc assemble`, `pwc build`, `pwc fingerprints`, `pwc weight`, and `pwc score`. Each command prints JSON, and the `ok` field tells you whether it passed or failed. The output is a Vite template with React and Tailwind.

## What is Copycat, and is it still available?

Copycat is a Claude Code skill from minosdevs. According to its README, it turns a URL into a local clone and checks that clone with a pixel comparison.

The original repo, github.com/minosdevs/copycat-skill, returns a 404 error on GitHub as of November 10, 2026. The minosdevs account also cannot be found. That means the git clone command in the README no longer works.

GitHub does show copies of the same code under other accounts. Those were uploaded by people I do not know, each with one commit and no stars. I do not recommend installing them without reading all of the code first, especially the scripts folder. A skill runs on your computer with your permissions. If you want to run tools like this in isolation, use an [isolated environment](/blog/docker-sandboxes-run-claude-code-safely).

The skill's own instructions (the SKILL.md file and the references folder) are written in French. According to the README, Claude reads them without trouble and replies in your language.

## How did Copycat install, and what did it do?

The original README listed a manual install process. The description here stays because it shows how exact cloning works, but do not run these steps from the old repo, since it is no longer available.

According to the README, Copycat:

- **Captures with Playwright:** It captures a full page, whole screens on desktop, tablet, and mobile, sliced into sections, and hover states.
- **Extracts data:** It pulls font files, CSS variables, color palettes, a typography scale, breakpoints, animations, and transitions.
- **Rebuilds from the top down:** It builds from the measured values. The default output is static HTML, CSS, and JS, and if the project is already Next.js, it uses Next.js.
- **Verifies in a loop:** It compares pixels at each viewport, compares fonts, colors, headings, and CTA buttons, and checks the console. Its grade runs from A to D, with a target of less than 2 percent difference and zero console errors.

The original install, which required Node.js 18 or later, cloned the repo into `~/.claude/skills/copycat`. Then you ran `npm install` in the scripts folder and `npx playwright install chromium`. After that, you asked Claude Code in plain language to copy the site. You could also run the scripts by hand:

```
node scripts/capture.mjs https://example.com --out copycat/example.com
node scripts/compare.mjs --original copycat/example.com --clone http://localhost:3000
```

Each command writes a REPORT.md file. The skill folder also includes a list of 40 details that make a clone look fake. You can paste extract.browser.js into the browser console to copy a page's design tokens as JSON.

## Which repo should you pick first?

Start with AI Website Cloner. If the result is still not close enough, move to Perfect Web Clone, because it gives you numbers you can work with.

- If you want a clean Next.js project for long-term work, choose AI Website Cloner.
- If you want measurable scores, automatic fixes to the worst section, and an honest report on what remains, choose Perfect Web Clone.
- If you want something small that runs inside Claude Code, especially for landing pages, Copycat was that option. While its original repo is unavailable, stay with the first two.

A practical tip: if the agent stops partway through, the `/goal` command can help you define when the clone counts as finished.

## How do you use this without copying someone else's brand?

Use the tools to understand what makes a site look professional, such as its structure, spacing, hierarchy, and feel. Then apply your own brand: your colors, logo, text, and images. That way you get a site with a strong layout without a designer, and you do not present someone else's design as your own.

The AI Website Cloner README says the tool is not meant for phishing or impersonation, for showing other people's designs as your own, or for breaking a site's terms of use. Logos, brand assets, and original text belong to their owners, and some sites explicitly ban copying. Check first. This is not legal advice.

## What should you try first?

Try these tasks to learn how the tools behave:

- Clone a site you built yourself that sits on a platform you want to leave, then compare the two versions on mobile and desktop.
- Clone a landing page you like only to study it, then ask the agent to replace all the colors, fonts, and text with yours.
- Run `pwc score` from Perfect Web Clone on a screenshot of the original and a screenshot of the clone, and see where the biggest gap is.
- Ask Claude Code to explain the cloning skill before you run it, and ask which files it will create.

## What are the limits?

No clone is perfect. Even Copycat's target is less than 2 percent difference, not zero, and Perfect Web Clone says some residuals may remain.

According to the clone-website skill instructions for AI Website Cloner, which also appear in the Tessl registry, these are out of scope: a real backend, a database, user authentication, real-time features, SEO optimization, and accessibility auditing. You get the front end of the site, not a full system.

- Sites that use WebGL, canvas, or complex scroll animations come out worse.
- The tools use the browser and coding agent on your computer, and using Claude Code consumes tokens. Check what it costs on your plan before you run it on a large site.
- All three tools were released under the MIT license, but the license covers the tool, not the site you clone.

## Sources

- [AI Website Cloner Template, JCodesMore](https://github.com/JCodesMore/ai-website-cloner-template)
- [Perfect Web Clone, ericshang98](https://github.com/ericshang98/Perfect-Web-Clone)
- [perfect-web-clone-skill, ericshang98](https://github.com/ericshang98/perfect-web-clone-skill)
- [clone-website skill description in the Tessl registry](https://tessl.io/registry/skills/github/JCodesMore/ai-website-cloner-template/clone-website)
- Copycat skill, minosdevs: the original address github.com/minosdevs/copycat-skill was unavailable as of November 10, 2026.

## Bottom line

A screenshot gives an AI model too little to work with, so a good clone needs live browser access and real measurements. Start with AI Website Cloner for a clean project, move to Perfect Web Clone if you need scores and fixes, and avoid unverified copies of Copycat. Check the license, the brand rules, and your token costs before you run anything.
