clone-website
Qué hace
Esta skill enseña a un agente a estudiar una página web en vivo y recrearla como un proyecto nuevo. Usa un navegador para capturar cada sección, escribe una especificación para cada una y encarga las compilaciones a agentes auxiliares.
Cuándo usarla
- ✓Cuando un usuario quiere recrear una página sobre la que tiene derecho a copiar o usar como referencia.
- ✓Cuando un equipo quiere una copia fiel de la maquetación de una página para un prototipo.
- ✓Cuando un usuario quiere recrear una página en un proyecto de Next.js y Tailwind.
Link de la skill
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/clone-website/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Recrea esta página de aterrizaje sección por sección en mi proyecto de Next.js. Tengo derecho a usar su diseño.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente abre la página en un navegador, inspecciona la maquetación y los estilos de cada sección y escribe un archivo de especificación para ella. Después, agentes constructores crean cada sección en worktrees separados.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de 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
Preguntas frecuentes
¿Necesita una herramienta de navegador?
Sí. La skill indica que no puede funcionar sin automatización de navegador, y pide instalar agent-browser.
¿Dónde van los resultados?
Cada sección tiene un archivo de especificación, y el proyecto se comprueba con un comando de compilación.
¿Qué extrae?
La skill indica que extrae recursos, CSS y contenido sección por sección.
Detalles
Descripción original del autor
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.
Popularidad
- Estrellas en GitHub
- 5,5 mil
- Posición en el ranking
- #14800
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
audit
5,5 milAyuda a tu agente a auditar una interfaz web en cuanto a accesibilidad, rendimiento, temas visuales y diseño adaptativo, y a redactar un informe priorizado sin cambiar el código.
critique
5,5 milAyuda a tu agente a ofrecer una crítica de director de diseño sobre una interfaz, comprobando la jerarquía visual, el flujo de la información y si el diseño parece genérico o hecho por IA.
migrate-radix-to-base
5,5 milAyuda a tu agente a pasar componentes de React de Radix UI a Base UI paso a paso, manteniendo el proyecto compilable en cada etapa.
prettify
5,5 milAyuda a tu agente a dar a una página o pantalla existente un aspecto más pulido y rico mediante cambios de diseño pequeños y concretos, sin un rediseño completo.
Skills parecidas
canvas
394 milPermite que tu agente muestre un widget visual alojado en un panel de Mac conectado y después ocultar el panel o moverlo a otra página.
control-ui
394 milAyuda a tu agente a organizar y resolver problemas de la interfaz de control de OpenClaw, incluidas las sesiones, los paneles y las Gateways conectadas.
diagram-maker
394 milAyuda a tu agente a crear diagramas claros en SVG, HTML o Excalidraw editable para procesos, arquitectura de sistemas y bocetos de pizarra.