clone-website
Was er macht
Dieser skill zeigt einem Agenten, wie er eine Live-Webseite studiert und als neues Projekt nachbaut. Er nutzt einen Browser, um jeden Abschnitt zu erfassen, schreibt für jeden eine Spezifikation und gibt die Umsetzung an Helfer-Agenten weiter.
Wann du ihn nutzt
- ✓Wenn ich eine Seite nachbauen möchte, deren Kopie oder Nutzung ich rechtlich erlaubt habe.
- ✓Wenn ein Team für einen Prototyp ein möglichst genaues Abbild eines Seitenlayouts braucht.
- ✓Wenn ich eine Seite in einem Next.js- und Tailwind-Projekt neu aufbauen lassen möchte.
Link zum Skill
https://github.com/yournextstore/yournextstore/blob/main/.agents/skills/clone-website/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Ich habe das Recht, dieses Design zu nutzen. Bitte baue diese Landingpage Abschnitt für Abschnitt in meinem Next.js-Projekt nach.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent öffnet die Seite im Browser, prüft Layout und Styles jedes Abschnitts und schreibt dafür eine Spezifikationsdatei. Danach erstellen Builder-Agenten jeden Abschnitt in eigenen Worktrees.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Braucht er ein Browser-Tool?
Ja. Der skill sagt, er kann ohne Browser-Automatisierung nicht arbeiten, und bittet, agent-browser zu installieren.
Wohin gehen die Ergebnisse?
Jeder Abschnitt bekommt eine Spezifikationsdatei, und das Projekt wird mit einem Build-Befehl geprüft.
Was extrahiert er?
Der skill sagt, er extrahiert Assets, CSS und Inhalte Abschnitt für Abschnitt.
Details
Originalbeschreibung des Autors
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.
Beliebtheit
- GitHub-Sterne
- 5.5k
- Platz im Ranking
- #14800
- Lizenz
- MIT
- Aktualisiert
- 2.11.2026
Kommentare
- …
Weitere Skills aus diesem Repository
audit
5.5kHilft deinem Agenten, eine Web-Oberfläche auf Barrierefreiheit, Performance, Theming und Responsive-Design zu prüfen, ohne den Code zu verändern.
critique
5.5kHilft deinem Agenten, eine Oberfläche wie ein Design-Direktor zu kritisieren: visuelle Hierarchie, Informationsfluss und ob das Design generisch wirkt.
migrate-radix-to-base
5.5kHilft deinem Agenten, React-Komponenten Schritt für Schritt von Radix UI zu Base UI zu migrieren und dabei das Projekt in jeder Phase baubar zu halten.
prettify
5.5kHilft deinem Agenten, eine bestehende Seite oder einen Bildschirm durch kleine, gezielte Designänderungen edler und reicher wirken zu lassen, ohne vollständiges Redesign.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.