Skip to content
Back to search

Perfect-Web-Clone

Pixel-perfect clones of any webpage. Paste a URL, get a measured Vite + React replica.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/ericshang98--perfect-web-clone/badge.svg)](/listings/ericshang98--perfect-web-clone)

HTML

<a href="/listings/ericshang98--perfect-web-clone"><img src="/api/listings/ericshang98--perfect-web-clone/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Python 3.10+ and Node 20+.

pip install "git+https://github.com/ericshang98/Perfect-Web-Clone.git"
playwright install chromium

Load [`perfect-web-clone-skill`](https://github.com/ericshang98/perfect-web-clone-skill) into Claude Code, Codex, or any coding agent that can run `pwc`.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 74 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Perfect Web Clone
  2. **Pixel-perfect clones of any webpage.** This repo is the measured core. The product is the [skill](skill/SKILL.md): an agent harness that turns one `clone <url>` into a full-page, scored replica.
  3. English | [中文](README_CN.md)
  4. A screenshot is not a clone. The skill drives the agent through capture → section plan → clean React → build → measured repair, and it will not stop after the first viewport or call a similar-looking inert widget “done.”
  5. Say this to your coding agent:
  6. ```text
  7. clone https://example.com
  8. ```
  9. ## The skill is the product
  10. [`skill/SKILL.md`](skill/SKILL.md) is the harness. Same file is published as [`perfect-web-clone-skill`](https://github.com/ericshang98/perfect-web-clone-skill).
  11. - One request authorizes the whole run
  12. - Hands and eyes are deterministic (`pwc`) — they never call a model
  13. - The agent authors code and repairs the worst measured section
  14. - Done means `ready_for_user_review` or `failed_with_residuals`, with evidence
  15. - Pixel-perfect is a gate table, not a prompt
  16. ## Install
  17. Python 3.10+ and Node 20+.
  18. ```bash
  19. pip install "git+https://github.com/ericshang98/Perfect-Web-Clone.git"
  20. playwright install chromium
  21. ```
  22. Load [`perfect-web-clone-skill`](https://github.com/ericshang98/perfect-web-clone-skill) into Claude Code, Codex, or any coding agent that can run `pwc`.
  23. ## How a clone run works
  24. 1. Capture the live URL (integrity-checked, assets localized)
  25. 2. Plan the real page sections
  26. 3. Author clean React for every section
  27. 4. Assemble and build
  28. 5. Score fingerprints, weight, and visual match
  29. 6. Repair the worst section, rebuild, re-measure
  30. 7. Hand you a local preview: `ready_for_user_review` or `failed_with_residuals`
  31. If the page is WebGL, runtime canvas, or scroll-choreographed, that ceiling is reported up front. Content still clones; the runtime-drawn look may not.
  32. ## CLI
  33. ```bash
  34. pwc extract https://example.com
  35. pwc plan <source_id>
  36. pwc assemble <source_id>
  37. pwc build
  38. pwc fingerprints dist/
  39. pwc weight dist/
  40. pwc score --ref reference.png --cand clone.png
  41. ```
  42. Every command prints JSON. `ok` is the only pass/fail that matters.
  43. ## Layout
  44. ```text
  45. core/ capture, section plan, gates
  46. pwc/ CLI
  47. skill/ the playbook
  48. plugin/ optional coding-agent plugin
  49. templates/ Vite + React + Tailwind shell
  50. ```
  51. ## License
  52. MIT

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.