@SUOHA_AI: Fable 5没出来之前,已经有开源Skill可以1:1复刻目标网站 效果很不错,这个技能叫:AI Website Cloner Template(clone-website) 直接用 Claude Code 的 Chrome MCP 连…
摘要
介绍了一个名为 AI Website Cloner Template 的开源技能,可以用 Claude Code 等 AI 编程代理克隆任何网站,自动抓取 DOM、样式和资源,并生成 Next.js 代码库。
查看缓存全文
缓存时间: 2026/07/06 06:02
Fable 5没出来之前,已经有开源Skill可以1:1复刻目标网站
效果很不错,这个技能叫:AI Website Cloner Template(clone-website) 直接用 Claude Code 的 Chrome MCP 连上目标网站,抓取真实 DOM、computed styles、资源和交互行为
然后启动多个并行 agent 同时处理不同区块,最后自动合并 + 视觉 QA 对齐原站
GitHub:https://github.com/JCodesMore/ai-website-cloner-template…
现在有Fable5貌似Skill都不需要了,能力足够强
JCodesMore/ai-website-cloner-template
Source: https://github.com/JCodesMore/ai-website-cloner-template
AI Website Cloner Template
A reusable template for reverse-engineering any website into a clean, modern Next.js codebase using AI coding agents.
Recommended: Claude Code with Opus 4.8 for best results — but works with a variety of AI coding agents.
Point it at a URL, run /clone-website, and your AI agent will inspect the site, extract design tokens and assets, write component specs, and dispatch parallel builders to reconstruct every section.
Demo
Click the image above to watch the full demo on YouTube.
Quick Start
Important: Start by making your own copy with GitHub’s Use this template button. Do not clone this template repository directly for your website project, and do not open pull requests here with your generated website.
-
Create your own repository from this template
On the GitHub page for this project, click Use this template, then click Create a new repository.
Give your new repository a name, choose whether it should be public or private, then click Create repository. If GitHub shows an Include all branches option, you can leave it off.
This gives you your own separate project to work in, so your website changes stay in your account instead of coming back to the main template.
-
Open your new repository on your computer
After GitHub creates your copy, open that new repository. Click Code and open or clone your new repository with your preferred coding tool.
If you use the terminal, the command will look like this:
git clone https://github.com/YOUR-USERNAME/YOUR-NEW-REPOSITORY.git cd YOUR-NEW-REPOSITORY -
Install dependencies
npm install -
Start your AI agent — Claude Code recommended:
claude --chrome -
Run the skill:
/clone-website <target-url1> [<target-url2> ...] -
Customize (optional) — after the base clone is built, modify as needed
Using a different agent? Open
AGENTS.mdfor project instructions — most agents pick it up automatically.
Supported Platforms
| Agent | Status |
|---|---|
| Claude Code | Recommended — Opus 4.8 |
| Codex CLI | Supported |
| OpenCode | Supported |
| GitHub Copilot | Supported |
| Cursor | Supported |
| Windsurf | Supported |
| Gemini CLI | Supported |
| Cline | Supported |
| Roo Code | Supported |
| Continue | Supported |
| Amazon Q | Supported |
| Augment Code | Supported |
| Aider | 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 — Radix 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 runs a multi-phase pipeline:
- Reconnaissance — screenshots, design token extraction, interaction sweep (scroll, click, hover, responsive)
- Foundation — updates fonts, colors, globals, downloads all assets
- Component Specs — writes detailed spec files (
docs/research/components/) with exact computed CSS values, states, behaviors, and content - Parallel Build — dispatches builder agents in git worktrees, one per section/component
- Assembly & QA — merges worktrees, wires up the page, runs visual diff against the original
Each builder agent receives the full component specification inline — exact getComputedStyle() values, interaction models, multi-state content, responsive breakpoints, and asset paths. No guessing.
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
icons.tsx # Extracted SVG icons
lib/utils.ts # cn() utility
types/ # TypeScript interfaces
hooks/ # Custom React hooks
public/
images/ # Downloaded images from target
videos/ # Downloaded videos from target
seo/ # Favicons, OG images
docs/
research/ # Extraction output & component specs
design-references/ # Screenshots
scripts/
sync-agent-rules.sh # Regenerate agent instruction files
sync-skills.mjs # Regenerate /clone-website for all platforms
AGENTS.md # Agent instructions (single source of truth)
CLAUDE.md # Claude Code config (imports AGENTS.md)
GEMINI.md # Gemini CLI 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 + build
If 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 3001
Updating for Other Platforms
Two source-of-truth files power all platform support. Edit the source, then run the sync script:
| What | Source of truth | Sync command |
|---|---|---|
| Project instructions | AGENTS.md | bash scripts/sync-agent-rules.sh |
/clone-website skill | .claude/skills/clone-website/SKILL.md | node scripts/sync-skills.mjs |
Each script regenerates the platform-specific copies automatically. Agents that read the source files natively need no regeneration.
Star History
License
MIT
Sac (@Saccc_c): 不知道用 Fable 5干什么的,直接让其复刻网站就行,最好是你会开会员的网站
下面是我用 Fable 5复刻的 Notion,这么大的工程已经复刻了几乎70%了,太牛逼了
相似文章
@VincentLogic: 分享一个能把任何网站“一键克隆”成代码的神器! ai-website-cloner-template 简单说:给一个网址,AI 帮你逆向工程,直接生成干净的 Next.js 代码库。 它强在哪? 还原度极高:不只是抄个皮,AI 会自动截图…
介绍了一个名为 ai-website-cloner-template 的工具,它利用 AI 将任意网站逆向工程为高质量的 Next.js 代码库,支持主流 AI 编程助手。
@FinanceYF5: 有人开源了自己的Agent技能库,75个技能,适配Codex、Claude Code、Cursor,专攻网页设计、落地页、动效、WebGL。 最有意思的一个:把设计录屏直接转成超详细prompt,让Fable 5一次成型出对应的HTML页…
有人开源了包含75个技能的Agent技能库,适配Codex、Claude Code、Cursor,专攻网页设计、落地页、动效和WebGL,其中特色功能是将设计录屏转为详细prompt,让Fable 5自动生成HTML页面。免费开源,可自由fork修改。
@0xMulight: Claude Code终极爬虫手册:5大开源Skill让AI真正会上网干活 想让Claude别再只是聊天工具,而是直接上手抓数据、操作网页、批量处理内容?下面这套组合就是最实用的方案。 我把方案整理成这份手册,可以直接复制给Claude …
本文介绍了5个开源工具(Agent-reach、Scrapling、Browser-use、Claude in Chrome、Web-access),让Claude Code等AI Agent具备网页数据抓取、浏览器操作等能力,从轻量到重量级覆盖不同场景,并提供配置心法。
@xiaoerzhan: 复刻skill发布 我拿这个skill 1:1复刻了当前公认的最牛前端网站 还原度可以是100% 见评论区 在这里讲讲原理 一、核心认知:网站的"真源码"到底在哪? 关键要分清两类网站—— A. 服务端渲染 / 数据驱动的站(淘宝、后台系…
这篇文章讲解了如何1:1复刻一个公认的最牛前端网站(oryzo),包括抓取动态资产和修改少量配置的方法,实现了高还原度。
@Saccc_c: 不知道用 Fable 5干什么的,直接让其复刻网站就行,最好是你会开会员的网站 下面是我用 Fable 5复刻的 Notion,这么大的工程已经复刻了几乎70%了,太牛逼了
用户通过Fable 5复刻了Notion网站,已完成约70%的工程,并指出可以用Fable 5复刻任何带会员功能的网站,展示了该工具的强大的克隆能力。
