perfect-web-clone

perfect-web-clone is a skill for Claude Code, Codex from ericshang98/Perfect-Web-Clone. It costs 134 tokens per session (2,352 once invoked), scanned A, original, MIT.

A workflow for recreating a live website from its URL as a Vite and React project. It captures the original page, builds its sections and interactions, then compares the result with the source and repairs differences.

In plain words
What is it for?
Use it to reproduce a website locally, rebuild its page structure and common interactions, and review a measured visual match before making further changes.
Why use it?
It removes much of the manual work involved in studying an existing website, writing its code, and checking whether the result matches the original. It produces a local build and review URL rather than deploying the site automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to reproduce a website locally, rebuild its page structure and common interactions, and review a measured visual match before making further changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ericshang98/perfect-web-clone/skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ericshang98/Perfect-Web-Clone --skill skill
Clone the repo
git clone --depth 1 https://github.com/ericshang98/Perfect-Web-Clone

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for perfect-web-clone

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericshang98/perfect-web-clone/skill/github.svg)](https://agentmods.dev/skills/ericshang98/perfect-web-clone/skill)
Your own site
<a href="https://agentmods.dev/skills/ericshang98/perfect-web-clone/skill"><img src="https://agentmods.dev/badge/skills/ericshang98/perfect-web-clone/skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for perfect-web-clone

Your own site · 80×15
<a href="https://agentmods.dev/skills/ericshang98/perfect-web-clone/skill"><img src="https://agentmods.dev/badge/skills/ericshang98/perfect-web-clone/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,352 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.02352
Opus 5.5 $0.00054 $0.00941
Sonnet 5.5 $0.00027 $0.00470
Haiku 4.5 $0.00013 $0.00235

Measured 1mo ago against content hash 8c007a3aa161, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

perfect-web-clone scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Perfect Web Clone

Pixel-perfect cloning is this skill. The current agent is the harness runtime. pwc is the deterministic hands and eyes: it captures, persists, builds, renders, replays, and measures. It never calls another model. You understand the evidence, author code, and choose targeted repairs.

A single natural-language request such as “复刻 https://example.com” authorizes the entire local reproduction workflow. Treat it as one user operation even though the harness performs many internal tool calls and repair iterations.

Do not ask for routine confirmation when the request contains a usable URL. Infer that a full-page clone is the default. Continue across phases without returning control merely to announce progress or request ordinary implementation choices. Ask only when a missing fact would materially change scope, when credentials or new authority are required, or when the user must resolve an external blocker.

Deployment is never implicit. Produce a local build and review URL by default; deploy only when the user explicitly asks.

Use one owning agent for the whole page so global visual context survives across sections. Do not delegate unless the user explicitly asks.

Non-negotiable execution contract

  1. Run capture, planning, authoring, build, verification, repair, and handoff as one continuous task.
  2. Inspect every ok or success flag and its error evidence. Never invent a tool result.
  3. Preserve immutable raw evidence separately from normalized evidence. Refuse to plan from an incomplete capture.
  4. Reproduce every planned top-level section and every independently required critical region. Do not stop after the viewport or after a visually dominant subset.
  5. Implement and replay every required common interaction: carousel, menu, tabs, accordion/details, and other contracts discovered during capture. A visually similar but inert control fails.
  6. Run gates in dependency order. A downstream score cannot override an upstream structural or behavioral failure.
  7. Repair the smallest owning component identified by evidence, rebuild, and re-run all affected gates.
  8. Never hide, waive silently, or average away a red gate. A missing critical region cannot be offset by aggregate visual similarity.
  9. End only in ready_for_user_review or failed_with_residuals. Only the user can accept the result.

Read the full file on GitHub · 258 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 258 lines · 134 tokens per session scan A 8c007a3aa161

Subscribe to this mod's changes

perfect-web-clone is a skill published in the GitHub repository ericshang98/Perfect-Web-Clone (274 stars, last pushed 1mo ago), licensed MIT. It adds 134 tokens to every session and 2,352 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

motion-foundations

Motion tokens, spring presets, performance rules, device adaptation, accessibility enforcement, and SSR safety for React / Next.js using motion/react. Foundation layer — all other motion skills depend on this. Use when setting up motion tokens, spring presets, reduced-motion handling, or SSR-safe animation in React or…

gongyijie85/dsh-ecc · 66 tokens

motion-advanced

Advanced motion patterns for React / Next.js — drag & drop, gestures, text animations, SVG path drawing, custom hooks, imperative sequences (useAnimate), loaders, and the full API decision tree. Requires motion-foundations. Use when building drag and drop, gestures, text or SVG animation, or imperative animation…

gongyijie85/dsh-ecc · 73 tokens

motion-patterns

Production-ready animation patterns for React / Next.js — button, modal, toast, stagger, page transitions, exit animations, scroll, and layout — built on motion-foundations tokens and springs. Use when animating a specific UI element in React or Next.js — button, modal, toast, stagger, page transition, or scroll.

gongyijie85/dsh-ecc · 70 tokens

motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

gongyijie85/dsh-ecc · 25 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

tamagui-v6-config

Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and recipe-tree authoring with createV6Config. Use when choosing a theme for a surface, building a selected/emphasis state, or authoring a custom v6 colors pack.

tamagui/tamagui · 0 tokens