/web:website-clonerfrom web
Use WHENEVER the user wants to clone, copy, replicate, recreate, or mirror a website or landing page, "make our demo look like the customer's site", personalize/white-label a demo for a prospect, extract a site's design (styles, fonts, colors, design tokens, exact pixel sizing) from a URL, capture/screenshot a page faithfully with Playwright, or figure out what font/colors a site uses. Trigger phrases: "clone this site", "copy this website", "recreate this landing page", "rebuild their homepage", "extract the styles/fonts", "match this design", "demo on their own branding". Reproduces a site's hero / above-the-fold and reskins it with the prospect's brand.
Ships in web. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are reproducing a site's front page faithfully enough that a prospect sees their own brand on a familiar-looking layout. The output is an editable, locally-served clone — not a screenshot.
The naive approach fails predictably — fullPage screenshot, trusting fontFamily, copying the DOM,
eyeballing colors, a needless responsive rebuild, keeping the original assets — and each failure is
corrected below. Default to running scripts/clone-extract.mjs, which bakes in every mitigation,
then rebuild and reskin from its output.
Is it the PROSPECT's own site? no → stop; get sign-off or use a generic reference
Does it require login / paywall? yes → ABORT (never capture gated content)
robots.txt disallows the path? yes → manual screenshot + rebuild, don't scrape
Site actively blocks bots (Cloudflare)? yes → stop signal — do NOT evade
Then, always: replace every original image, substitute commercial fonts with OFL, clone
the prospect's brand only, inject the demo disclaimer, serve on localhost only — never a
public URL. Before capturing or shipping, load
references/legal-and-fonts.md in full.
Reference loading (strict): load each references/ file ONLY at the step that names it — never
front-load all five, and do NOT load a step's reference before you reach that step. Early loads:
legal-and-fonts.md (legal gate, above) and pitfalls.md (Step 0). Just-in-time: capture-pipeline.md
(Step 1), token-extraction.md (Step 2), rebuild-and-reskin.md (Steps 3–5).
npx wappalyzer <url> --pretty → CSS framework (Tailwind v3/v4, Bootstrap, custom), JS framework,
font service, and blockers (WebGL hero, Cloudflare, login). The stack picks your token strategy
(Tailwind v4 → read :root vars directly; custom CSS → full computed extraction). No Wappalyzer?
Infer from the page: __NEXT_DATA__//_next/ → Next.js, --tw-/@theme → Tailwind v3/v4,
--bs- → Bootstrap, --mui- → MUI; default to full computed extraction when unsure. Decide now
(these are pre-capture, not fixable later): target viewport (default 1440×900), colorScheme
(match what the prospect sees, usually light), and whether the page runs an A/B test or geo
variant you must pin. Several fidelity failures are decisions made here, not bugs found later, so
read the catalog before capturing. Load
references/pitfalls.md in full now (covers the pre-capture decisions: DPR,
dark-mode, A/B variant, wrong viewport, transparent-nav). Re-consult it later if a clone still
looks wrong.
Run the workhorse. It captures the rendered page in a single session (font bytes can't be re-fetched later) and emits screenshots, the DOM, tokens, assets, and a CDP-verified font report:
npm i -D playwright && npx playwright install chromium # first time
node scripts/clone-extract.mjs https://prospect.com ./clone
# → ./clone/prospect.com/{desktop-hero.png, desktop-full.png, mobile-hero.png,
# dom.html, tokens.json, asset-manifest.json, font-report.json, report.md, assets/}
It already handles: scroll-to-trigger lazy load, the three animation-freeze classes, consent
banners, font-CORS re-serve, serviceWorkers:'block', CDP font detection, auth-wall abort, OKLCH
token conversion, spacing-GCD, and OFL substitute suggestions. Read report.md first — it flags
licensed fonts to substitute. To understand or adapt the capture mechanics, load
references/capture-pipeline.md in full. Do NOT reload
it once the capture succeeded — only revisit if a screenshot is blank or in the wrong state.
How much refinement? Tailwind v4 detected (Step 0) and tokens.json has ≤20 colors → the
:root vars are already a clean token set; just verify fonts and move on. Custom CSS, or >40 raw
colors → cluster in Oklab down to a 12–20 token palette. Any heading showing isCustomFont:false
in font-report.json → the web font failed to load during capture; fix the capture (font CORS /
wait discipline) before trusting any token.
tokens.json is a first pass. Refine against desktop-hero.png: confirm the CDP-verified fonts
(never fontFamily), tighten the palette to 12–20 OKLCH tokens clustered by role, name the
spacing scale off the detected base unit, and capture fluid clamp() type. For token work,
load references/token-extraction.md in full.
Done when: ≤20 color tokens, every hero font CDP-confirmed (licensed ones mapped to a
substitute in report.md), spacing named off the base unit. Not done if: >40 raw colors
remain (you haven't clustered — re-cluster in Oklab) or any hero font is still the declared stack
rather than the painted face. Do NOT reload token-extraction.md once tokens are clean — only if
colors or fonts still look off after a rebuild pass.
Build nav + hero + one section as a fixed-width 1440px clone (responsive is ~10x the work
for zero demo benefit; wrap in transform:scale() for smaller screens). Apply tokens.json as
:root vars; rewrite asset URLs from asset-manifest.json (sort by length desc); inline SVG logos;
preserve exact z-index. Load
references/rebuild-and-reskin.md in full. It also covers Steps 4–5 —
keep it loaded through serving; do NOT reload it per step.
First, make sure you have the inputs — the swap is the entire point of the demo. If the
prospect's logo, brand color, or headline copy aren't in hand, ask for them before starting
(don't invent a logo or guess the brand color). Then: logo (match original dimensions) · primary
color (compute the hue delta between the original and the prospect's primary in OKLCH, then apply
that same delta to every --color-* token so the whole palette shifts coherently — keep each
token's lightness and chroma) · headline/subhead text only · CTA text+href · hero image · all
remaining images → prospect/placeholder · licensed fonts → OFL substitute. No original image survives.
Strip analytics/tracking/chat scripts; add the disclaimer banner + noindex; freeze leftover
animations; python -m http.server 8080 (localhost only); test in a clean profile; final screenshot
→ visually diff against desktop-hero.png and trace discrepancies back to tokens or URL rewriting.
Accept when: layout matches within ~10px, colors are visually indistinguishable, and fonts read
correctly (a 1–3px width drift from an OFL substitute is expected and fine — do not chase it).
Must fix before showing: any blank/placeholder image, layout offset >10px, a wrong-weight or
fallback font (serif where the original is sans), or a missing hero background. Trace each back to a
specific step — blank image → Step 1 capture; wrong color → Step 2 tokens; broken asset → Step 3
URL rewrite.
Blank images, invisible hero, wrong font, consent overlay, off layout, blurry, dark-when-it-should-
be-light — these are catalogued failure modes, each with a WHY and a fix. When debugging fidelity,
load references/pitfalls.md in full.
getComputedStyle().fontFamily.| Trap | Reality |
|---|---|
screenshot({fullPage:true}) | Never scrolls the viewport → lazy/IO/content-visibility/WebGL blank. Scroll first, then viewport-clip. |
getComputedStyle().fontFamily | Declared stack, not painted font. Use CDP CSS.getPlatformFontsForNode. |
returning getComputedStyle(el) from evaluate | Live object → serializes to {}. Destructure inside; read longhands (not font shorthand). |
--disable-web-security alone | Needs bypassCSP:true too (GH #20078). And it breaks WebGL — separate launch for WebGL heroes. |
animations:'disabled' | Misses scroll-timeline (inject animation-timeline:none) and SVG SMIL (svg.pauseAnimations()). |
networkidle as the ready signal | Hangs on analytics/streaming SSR; always .catch(), and waitForSelector a hero element. |
PW_TEST_SCREENSHOT_NO_FONTS_READY | Renders fallback fonts — catastrophic for cloning. Never set it. |
missing serviceWorkers:'block' | SW answers before interception → assets vanish (Next/Gatsby/Nuxt). |
| keeping original images/fonts | Legal landmine — replace images, substitute commercial fonts (OFL). |
deviceScaleFactor:1 screenshots | Blurry on Retina. DPR 2 for screenshots; DPR 1 only for measurement. |
| public-URL "easy sharing" | Never. Collapses every legal defense. Localhost / screen-share only. |
data/font-substitutes.json (opens in a new tab)references/capture-pipeline.md (opens in a new tab)references/legal-and-fonts.md (opens in a new tab)references/pitfalls.md (opens in a new tab)references/rebuild-and-reskin.md (opens in a new tab)references/token-extraction.md (opens in a new tab)scripts/clone-extract.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tomaspalsson/flow --plugin web7 skills in this plugin
/agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction./api-explorerReverse-engineer APIs and websites using Chrome DevTools MCP to produce detailed, agent-consumable specifications. Use when pointed at a URL to understand how an API or website works — discovering REST endpoints, GraphQL schemas, WebSocket protocols, auth flows, data models, and pagination patterns. Triggers on: "explore this API", "figure out how this site works", "reverse engineer", "create an API spec", "map this API", "discover endpoints", "understand this website's API", "reverse engineer this GraphQL API", "figure out this WebSocket protocol", "what endpoints does this site use". Produces structured three-tier specs other agents can use to build integrations./figma-to-strapiConvert Figma component designs into Strapi v5 component schemas AND matching React/Next.js components. Extracts editable properties (TEXT, BOOLEAN, INSTANCE_SWAP, variants) from Figma components, generates CMS field definitions, then produces a typed .tsx component with Tailwind styling. Use when: (1) user has a Figma component and wants a matching Strapi content model + React component, (2) setting up a CMS-driven website and needs to create components from designs, (3) syncing design system components to content types, (4) asking 'how do I make this Figma component editable in the CMS?'. Requires: Figma MCP authenticated + Strapi project (typically at cms/) + Next.js project (typically at website/). Keywords: figma, strapi, component, schema, cms, content model, design-to-cms, content type, react, tsx, /figma-to-strapi./google-adsUse when working with Google Ads data through the official Google Ads MCP server (googleads/google-ads-mcp), whose tools are `search_search`, `customers_list_accessible_customers`, and `metadata_get_resource_metadata`. Use for: building a GAQL query or a `search_search` call; pulling campaign, ad group, keyword, search-term or Performance Max performance; reading spend, conversion, or impression-share numbers; MCC/manager-account rollups; and diagnosing a CPA spike, conversion drop, ROAS decline, stalled serving, or budget underspend. Also use when a query returns nothing or an absurd-looking number, when totals don't reconcile between levels, or on any Google Ads API error. Trigger phrases: 'google ads', 'GAQL', 'google ads mcp', 'PMax', 'performance max', 'search terms report', 'impression share', 'customer id', 'adwords'. Requires Google Ads MCP tools to be connected; if none are present, this skill does not apply and cannot substitute for them./hubspot-prospectTurn a company URL into a reviewed HubSpot Company + IT-decision-maker Contact. Given a domain (e.g. vr.is, lis.is), researches the company, finds whoever heads IT (upplýsingatæknistjóri, tæknistjóri, forstöðumaður upplýsingatæknisviðs, IT manager, CIO, CTO), walking a documented title ladder when no IT lead is published, presents an evidence-graded review table with source URLs, and writes to HubSpot only after explicit approval. Use WHENEVER the user pastes a company URL or domain and wants it added to HubSpot, asks to find a company's IT manager or head of IT, says 'add this company to HubSpot', 'find their IT guy', 'enrich this domain', 'prospect this company', 'búa til fyrirtæki í HubSpot', 'finna tengilið', or supplies a list of domains. Do NOT use for: reading or reporting existing HubSpot data (a plain API read), bulk CSV import of already-known contacts, or any request to email/market to a contact./seo-auditWhen the user wants to audit, review, or diagnose SEO issues on their site, or wants to know why they are not visible in Google or in AI answers. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "why doesn't ChatGPT know about us," "AI Overviews," "AI search visibility," "AEO," "GEO," "LLM SEO," "answer engine optimization," "should I block AI crawlers," or "llms.txt." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. Covers classic search and AI/LLM answer engines together, because the technical foundations overlap and the failure modes differ.