Configs2026年7月7日·1 分钟阅读

AI Website Cloner — Clone Any Website with AI Coding Agents

A template and skill that enables AI coding agents to clone any website into a fully functional Next.js application with a single command.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
AI Website Cloner Overview
直接安装命令
npx -y tokrepo@latest install 36be34c9-79bd-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

AI Website Cloner is an open-source template that gives AI coding agents the ability to reverse-engineer and reproduce any website as a clean Next.js application. It provides a structured project scaffold, scraping utilities, and agent skill files so that the cloning workflow is repeatable and produces production-quality code.

What AI Website Cloner Does

  • Scrapes a target URL and extracts layout, styles, images, and content
  • Translates the scraped structure into a Next.js project using React, Tailwind CSS, and shadcn/ui components
  • Works with Claude Code, Codex, Cursor, and other coding agents as a skill or template
  • Produces responsive, accessible output that closely matches the original design
  • Supports iterative refinement through conversational agent prompts

Architecture Overview

The project is a Next.js starter template with built-in scraping utilities and agent skill definitions. When an AI coding agent receives a cloning request, it uses the template's scraper to fetch the target page, parses the DOM into a structured representation, then generates React components and Tailwind styles that reproduce the layout. The output is a standard Next.js application ready for deployment.

Self-Hosting & Configuration

  • Clone the repository and run npm install to set up the project
  • No external API keys required for basic cloning
  • Customize the output stack by modifying the template's component library references
  • Deploy the cloned output to Vercel, Netlify, or any Node.js hosting
  • Add your own brand tokens and design system for consistent cloned output

Key Features

  • Single-command website cloning through AI agent integration
  • Produces clean, maintainable Next.js and Tailwind CSS code
  • Supports responsive layouts and dark mode from cloned sources
  • Template-based approach means repeatable, consistent results
  • Active open-source community contributing improvements and templates

Comparison with Similar Tools

  • HTTrack — downloads raw HTML files; this tool generates clean React components
  • Puppeteer/Playwright — browser automation for scraping; this tool handles the full scrape-to-code pipeline
  • Screenshot to Code — converts images to code; this tool works from live URLs with deeper structural fidelity
  • Firecrawl — a scraping API for LLMs; this tool is a complete end-to-end cloning template

FAQ

Q: Is this legal to use? A: Cloning a website's design for personal learning or internal prototyping is generally acceptable. Deploying a clone publicly may violate copyright. Users are responsible for respecting intellectual property.

Q: Does it handle dynamic content and SPAs? A: It works best with server-rendered pages. Highly dynamic single-page applications may require additional agent prompting to handle client-side interactions.

Q: Which AI agents are supported? A: Any agent that can read skill files and execute shell commands — Claude Code, Codex CLI, Cursor, and similar tools.

Q: Can I customize the output framework? A: Yes. The template is modifiable — you can swap Next.js for another framework or change the component library.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产