clone-website
하는 일
이 스킬은 실제 웹 페이지를 살펴보고 새 프로젝트로 다시 만드는 방법을 에이전트에게 가르칩니다. 브라우저로 각 섹션을 캡처하고, 섹션마다 사양을 작성하며, 빌드 작업을 보조 에이전트에게 넘깁니다.
사용하는 경우
- ✓사용자가 복사하거나 참고할 권리가 있는 페이지를 다시 만들고 싶을 때.
- ✓팀이 프로토타입을 위해 페이지 레이아웃의 가까운 복제본을 원할 때.
- ✓사용자가 Next.js와 Tailwind 프로젝트에 페이지를 다시 만들기를 원하는 경우.
스킬 링크
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/clone-website/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 랜딩 페이지를 제 Next.js 프로젝트에서 섹션별로 다시 만들어 주세요. 이 디자인을 사용할 권리가 있습니다.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 브라우저에서 페이지를 열고 각 섹션의 레이아웃과 스타일을 살핀 뒤, 섹션마다 사양 파일을 작성합니다. 그다음 빌더 에이전트들이 별도의 워크트리에서 각 섹션을 만듭니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Clone Website
You are about to reverse-engineer and rebuild $ARGUMENTS as a pixel-perfect clone.
This is not a two-phase process (inspect then build). You are a foreman walking the job site — as you inspect each section of the page, you write a detailed specification to a file, then hand that file to a specialist builder agent with everything they need. Extraction and construction happen in parallel, but extraction is meticulous and produces auditable artifacts.
Tool: This skill uses
agent-browserfor all browser automation — screenshots, DOM inspection, JavaScript evaluation, clicking, scrolling, and viewport control. If you need detailed command reference beyond what's shown here, invoke the/agent-browserskill.
Pre-Flight
- agent-browser is required. Test it immediately by running
agent-browser open about:blank. If it's not installed, runnpm install -g agent-browser && agent-browser install. This skill cannot work without browser automation. If you need detailed command reference, invoke the/agent-browserskill. - Read
TARGET.mdfor URL and scope. If the URL doesn't match$ARGUMENTS, update it. - Verify the base project builds:
npm run build. The Next.js + shadcn/ui + Tailwind v4 scaffold should already be in place. If not, tell the user to set it up first. - Create the output directories if they don't exist:
docs/research/,docs/research/components/,docs/design-references/,scripts/.
Guiding Principles
These are the truths that separate a successful clone from a "close enough" mess. Internalize them — they should inform every decision you make.
1. Completeness Beats Speed
Every builder agent must receive everything it needs to do its job perfectly: screenshot, exact CSS values, downloaded assets with local paths, real text content, component structure. If a builder has to guess anything — a color, a font size, a padding value — you have failed at extraction. Take the extra minute to extract one more property rather than shipping an incomplete brief.
2. Small Tasks, Perfect Results
When an agent gets "build the entire features section," it glosses over details — it approximates spacing, guesses font sizes, and produces something "close enough" but clearly wrong. When it gets a single focused component with exact CSS values, it nails it every time.
Look at each section and judge its complexity. A simple banner with a heading and a button? One agent. A complex section with 3 different card variants, each with unique hover states and internal layouts? One agent per card variant plus one for the section wrapper. When in doubt, make it smaller.
Complexity budget rule: If a builder prompt exceeds ~150 lines of spec content, the section is too complex for one agent. Break it into smaller pieces. This is a mechanical check — don't override it with "but it's all related."
3. Real Content, Real Assets
Extract the actual text, images, videos, and SVGs from the live site. This is a clone, not a mockup. Use element.textContent, download every <img> and <video>, extract inline <svg> elements as React components. The only time you generate content is when something is clearly server-generated and unique per session.
Layered assets matter. A section that looks like one image is often multiple layers — a background watercolor/gradient, a foreground UI mockup PNG, an overlay icon. Inspect each container's full DOM tree and enumerate ALL <img> elements and background images within it, including absolutely-positioned overlays. Missing an overlay image makes the clone look empty even if the background is correct.
4. Foundation First
Nothing can be built until the foundation exists: global CSS with the target site's design tokens (colors, fonts, spacing), TypeScript types for the content structures, and global assets (fonts, favicons). This is sequential and non-negotiable. Everything after this can be parallel.
5. Extract How It Looks AND How It Behaves
A website is not a screenshot — it's a living thing. Elements move, change, appear, and disappear in response to scrolling, hovering, clicking, resizing, and time. If you only extract the static CSS of each element, your clone will look right in a screenshot but feel dead when someone actually uses it.
For every element, extract its appearance (exact computed CSS via getComputedStyle()) AND its behavior (what
자주 묻는 질문
브라우저 도구가 필요한가요?
네. 스킬은 브라우저 자동화 없이는 작동하지 않으며, agent-browser 설치를 요구한다고 설명합니다.
결과물은 어디에 저장되나요?
각 섹션마다 사양 파일이 생기고, 프로젝트는 빌드 명령으로 확인합니다.
무엇을 추출하나요?
스킬은 에셋, CSS, 콘텐츠를 섹션별로 추출한다고 설명합니다.
상세 정보
작성자의 원본 설명
Reverse-engineer and clone a website in one shot — extracts assets, CSS, and content section-by-section and proactively dispatches parallel builder agents in worktrees as it goes. Use this whenever the user wants to clone, replicate, rebuild, reverse-engineer, or copy any website. Also triggers on phrases like "make a copy of this site", "rebuild this page", "pixel-perfect clone". Provide the target URL as an argument.
인기도
- GitHub 스타
- 5.5k
- 순위
- #14800
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
audit
5.5k에이전트가 웹 인터페이스의 접근성, 성능, 테마, 반응형 디자인을 감사하고, 코드를 바꾸지 않은 채 우선순위가 정해진 보고서를 작성하도록 돕습니다.
critique
5.5k에이전트가 인터페이스에 대해 디자인 디렉터 수준의 비평을 하도록 돕습니다. 시각적 위계, 정보 흐름, 디자인이 일반적이거나 AI가 만든 느낌인지 확인합니다.
migrate-radix-to-base
5.5k에이전트가 React 컴포넌트를 Radix UI에서 Base UI로 단계별로 옮기도록 돕고, 각 단계에서 프로젝트가 계속 빌드되도록 유지합니다.
prettify
5.5k에이전트가 기존 페이지나 화면을 작고 집중된 디자인 변경으로 더 세련되고 풍부해 보이도록 돕습니다. 전면 재디자인은 하지 않습니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.