ai-website-cloner-template

作者 JCodesMore

Clone any website with one command using AI coding agents

32,822
Stars
4,789
Forks
JavaScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/JCodesMore/ai-website-cloner-template

快速入门

使用 ai-website-cloner-template 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

AI Website Cloner Template

Clone any website with one command

Give your AI coding agent a URL and watch it recreate the website as a clean Next.js app.

Best results with Claude Code + Opus 5. Works with Codex, Cursor, Gemini, and more.

Use this template Discord

Quick Start · Watch Demo · Supported Platforms

Demo

Watch the 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

Most supported clients expose /clone-website directly. If your client activates skills from natural-language requests, enter Clone <target-url> using the clone-website workflow. Project instructions are in AGENTS.md.

Supported Platforms

Agent Status

Claude Code Recommended — Opus 5

Codex CLI Supported

OpenCode Supported

GitHub Copilot Supported

Kiro Supported

Cursor Supported

Windsurf Supported

Gemini CLI Supported

Cline Supported

Roo Code Supported

Continue Supported

Amazon Q Supported

Augment Code Supported

Prerequisites

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:

flowchart LR
    P1["1. Reconnaissance"] --> P2["2. Foundation"]
    P2 --> P3["3. Component Specs"]
    P3 --> P4["4. Parallel Build"]
    P4 --> P5["5. Assembly and QA"]
  • 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
.kiro/skills/          # Generated Kiro workspace skill
.cline/skills/         # Generated Cline workspace skill
.roo/skills/           # Generated Roo Code workspace skill
.roo/commands/         # Generated Roo Code slash command
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

常见问题

What is ai-website-cloner-template?

ai-website-cloner-template is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by JCodesMore. Clone any website with one command using AI coding agents. It has 32,822 GitHub stars.

Is ai-website-cloner-template safe to use?

ai-website-cloner-template returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.

How do I install ai-website-cloner-template?

Clone the repository with "git clone https://github.com/JCodesMore/ai-website-cloner-template" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is ai-website-cloner-template written in?

ai-website-cloner-template is primarily written in JavaScript. It is open-source under JCodesMore on GitHub, so you can review or fork the full source.

Are there alternatives to ai-website-cloner-template?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-website-cloner-template against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情