Skip to content
Back to search

ai-website-cloner-template

Clone any website with one command using AI coding agents

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jcodesmore-ai-website-cloner-template/badge.svg)](/listings/jcodesmore-ai-website-cloner-template)

HTML

<a href="/listings/jcodesmore-ai-website-cloner-template"><img src="/api/listings/jcodesmore-ai-website-cloner-template/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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

Replace the URL with the website you want to recreate. Once it's built, ask your agent for any changes you want.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 161 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <div align="center">
  2. # AI Website Cloner Template
  3. ### Clone any website with one command
  4. Give your AI coding agent a URL and watch it recreate the website as a clean Next.js app.
  5. **Best results with [Claude Code](https://docs.anthropic.com/en/docs/claude-code) + Opus 5.5. Also supports Codex, Cursor, and OpenCode.**
  6. [![Use this template](https://img.shields.io/badge/Use_this_template-Create_your_copy-2ea44f?style=for-the-badge&logo=github&logoColor=white)](https://github.com/JCodesMore/ai-website-cloner-template/generate) [![Discord](https://img.shields.io/badge/Join_the_community-Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/hrTSX5yTpB)
  7. [Quick Start](#quick-start) · [Watch Demo](#demo) · [Supported Platforms](#supported-platforms)
  8. <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://raw.githubusercontent.com/JCodesMore/ai-website-cloner-template/badges/token-badge.json" alt="tokens" />
  9. <a href="https://trendshift.io/repositories/24302?utm_source=repository-badge&amp;utm_medium=badge&amp;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&amp;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>
  10. <br />
  11. <sub><strong>SPONSORED BY</strong></sub>
  12. <br /><br />
  13. <a href="https://www.swiftproxy.net/?ref=JCodesMore"><img src="docs/assets/sponsors/swiftproxy-banner.webp" alt="Swiftproxy residential proxies for inspecting websites from 195+ locations" width="680" /></a>
  14. <br />
  15. <sub>Inspect and compare websites from any region with rotating or static residential IPs in 195+ locations, over HTTP(S) and SOCKS5. Free testing, plus 10% off with code <code>PROXY90</code>. <a href="https://www.swiftproxy.net/?ref=JCodesMore">Try&nbsp;Swiftproxy&nbsp;→</a></sub>
  16. </div>
  17. ---
  18. ## Demo
  19. [![Watch the demo](docs/design-references/comparison.png)](https://youtu.be/O669pVZ_qr0)
  20. > Click the image above to watch the full demo on YouTube.
  21. ## Quick Start
  22. ### 1. Set up your project
  23. **Recommended: ask your agent.** Paste this into Codex, Claude Code, or your coding agent:
  24. ```text
  25. Set up https://github.com/JCodesMore/ai-website-cloner-template
  26. as a standalone project in a new folder on my computer.
  27. Ask me where to put it. Clone the repository, remove its origin remote,
  28. install dependencies, and run npm run check. Leave it ready for me
  29. to clone a website.
  30. ```
  31. **Or create your own GitHub repository:**
  32. [![Use this template](https://img.shields.io/badge/Use_this_template-Create_your_copy-2ea44f?style=for-the-badge&logo=github&logoColor=white)](https://github.com/JCodesMore/ai-website-cloner-template/generate)
  33. 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`.
  34. ### 2. Clone a website
  35. Open the project in your agent with browser access enabled. In Claude Code or Cursor, run:
  36. ```text
  37. /clone-website https://example.com
  38. ```
  39. Replace the URL with the website you want to recreate. Once it's built, ask your agent for any changes you want.
  40. ## Supported Platforms
  41. | Agent | Status |
  42. | ------------------------------------------------------------- | -------------------------- |
  43. | [Claude Code](https://docs.anthropic.com/en/docs/claude-code) | **Recommended** — Opus 5.5 |
  44. | [Codex CLI](https://github.com/openai/codex) | Supported |
  45. | [OpenCode](https://opencode.ai/) | Supported |
  46. | [Cursor](https://cursor.com/) | Supported |
  47. ## Prerequisites
  48. - [Node.js](https://nodejs.org/) 24+
  49. - An AI coding agent (see [Supported Platforms](#supported-platforms))
  50. ## Tech Stack
  51. - **Next.js 16** — App Router, React 19, TypeScript strict
  52. - **shadcn/ui** — Base UI primitives + Tailwind CSS v4
  53. - **Tailwind CSS v4** — oklch design tokens
  54. - **Lucide React** — default icons (replaced by extracted SVGs during cloning)
  55. ## How It Works
  56. The `/clone-website` skill follows four steps:
  57. 1. **Map** — map source URLs to local routes and preserve existing work.
  58. 2. **Observe** — inspect desktop/mobile pages, extract real assets and fonts, and exercise alternate states.
  59. 3. **Build** — implement editable components and working interactions; delegate independent sections when useful.
  60. 4. **Compare** — review source and local pages at matched sizes/states, repair visible differences, and run the production check.
  61. 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.
  62. ## Use Cases
  63. - **Platform migration** — rebuild a site you own from WordPress/Webflow/Squarespace into a modern Next.js codebase
  64. - **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
  65. - **Learning** — deconstruct how production sites achieve specific layouts, animations, and responsive behavior by working with real code
  66. ## Not Intended For
  67. - **Phishing or impersonation** — this project must not be used for deceptive purposes, impersonation, or any activity that breaks the law.
  68. - **Passing off someone's design as your own** — logos, brand assets, and original copy belong to their owners.
  69. - **Violating terms of service** — some sites explicitly prohibit scraping or reproduction. Check first.
  70. ## Project Structure
  71. ```
  72. src/
  73. app/ # Next.js routes
  74. components/ # React components
  75. ui/ # shadcn/ui primitives
  76. sites/<site>/ # Source-specific components and extracted SVGs
  77. lib/utils.ts # cn() utility
  78. types/ # TypeScript interfaces
  79. hooks/ # Custom React hooks
  80. public/
  81. sites/<site>/ # Source-specific images, fonts, videos, and other assets
  82. docs/
  83. research/<site>/ # Page brief, asset map, and inspection evidence
  84. design-references/ # Screenshots
  85. .agents/skills/
  86. clone-website/ # Canonical skill and inspection reference
  87. .claude/commands/
  88. clone-website.md # Thin Claude Code bridge
  89. AGENTS.md # Agent instructions (single source of truth)
  90. CLAUDE.md # Claude Code config (imports AGENTS.md)
  91. ```
  92. ## Commands
  93. ```bash
  94. npm run dev # Start dev server
  95. npm run build # Production build
  96. npm run lint # ESLint check
  97. npm run typecheck # TypeScript check
  98. npm run check # Run lint + typecheck + build
  99. ```
  100. ### If using docker
  101. ```bash
  102. docker compose up app --build # build and run the app
  103. docker compose up dev --build # run the app in dev mode on port 3001
  104. ```
  105. ## Agent Support
  106. 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.
  107. ## Star History
  108. ![Star History Chart](docs/assets/star-history.png)
  109. ## License
  110. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.