Website Rebuild Skill
Point your coding agent at a URL: it mirrors the site, rebuilds it line by line from minified code, and proves the result with layered automated diffs.
- Source repo
- boyang-hu/website-rebuild-skill
- Stars
- ★ 1.8k
- Last updated
- 2d ago
- FARS reviewed
- Nov 24, 2026
- License
- MIT
- Primary language
- JavaScript
- FA score
- 61/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- A front-end engineer needs to understand how a soon-to-vanish or already-vanished award-winning site actually works — scroll narrative, WebGL scene, baked animation — and wants a readable module tree plus reverse-engineering notes rather than a wall of minified code.
- Not a fit if
- Teams targeting server-behavior sites (inventory, personalization, A/B buckets) — nothing portable exists client-side
- Anyone expecting results in minutes — heavy WebGL targets took roughly 1–3 days
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-22
- Source review
- 61/100 · Some gaps
What does this agent do, and when should you use it?
website-rebuild-skill is a skill directory that follows the Agent Skills open specification. Install it into Claude Code, Codex, or any runtime that supports skills, hand your agent a URL and the instruction to rebuild the site, and it walks the full chain itself: triage, evidential mirroring, reverse engineering, porting, acceptance, audit, and source-ization. Mirroring captures the whole site as a read-only snapshot with a per-file sha256 ledger and reference-closure checks, so every later stage can run offline; reverse engineering expands the minified bundle into line-traced notes so each ported line points back to a source line; porting reproduces the implementation verbatim and registers every intentional difference. Acceptance is not eyeballing: console, network, DOM, geometry and pixel layers are compared automatically, and a diff must be fixed or registered — the README's before/after screenshots are labelled meanAbsDiff 0.00. The final source-ization step rewrites the verbatim port into human-readable modules (one site produced 389 modules at a median of 18 lines), and artifacts without a module container go through splice decomposition, re-assembled byte-for-byte. The toolchain is 75 zero-dependency Node scripts: nothing npm is installed until source-ization, and copyright decisions stay with the user, with output private, noindex and undeployed by default.
Given a URL, the pipeline defined in skills/website-rebuild/SKILL.md runs. Triage first classifies the target (A/B/C1/C2/D/X) and states a reason when it cannot be done instead of producing garbage; vanished sites with archive coverage switch to Wayback rescue (CDX enumeration, anchor plus time-window selection of a coherent capture, id_ raw bytes into a standard mirror, permanent holes registered). Mirroring then captures the entire site as a read-only snapshot with a per-file sha256 ledger and reference-closure validation — this snapshot is the single evidence baseline and everything after it can run offline. Reverse engineering expands compressed or obfuscated bundles so every line of the rebuild traces back to a source bundle line. Porting reproduces the implementation line by line, copying bugs and odd idioms as-is, and records each deliberate deviation. Acceptance automatically compares console, network, DOM, geometry and pixel output on both sides, and the audit sweeps modules for omissions while collecting copyright facts. Source-ization finally rewrites the verbatim port into readable code under tools/: split into modules, named from evidence, annotated with provenance, assets copied — or, for container-less output, splice decomposition into semantically named parts re-assembled byte-identically with a per-launch byte manifest. Supporting assets are 23 scenario guides in references/, document templates in assets/templates/, a self-test suite (npm test offline, npm run test:browser against real Chrome), and scripts/verify-zerodep.mjs, which enforces the zero-dependency rule.
- A front-end engineer needs to understand how a soon-to-vanish or already-vanished award-winning site actually works — scroll narrative, WebGL scene, baked animation — and wants a readable module tree plus reverse-engineering notes rather than a wall of minified code.
- A team doing a redesign or migration needs an objective referee: five automated layers (console, network, DOM, geometry, pixel) decide whether a change broke something, instead of squinting at screenshots.
- An agency wants a triage verdict before quoting work: which class the target belongs to, whether it is feasible, and roughly how much effort it needs.
- Someone must port an implementation line by line onto their own stack while keeping every deviation traceable and auditable, with a difference register, acceptance report and copyright assessment attached.
- Research or teaching: run a blind reverse-engineering pass against a site with public source and grade the result (the README reports structure ≈95%, behavior ≈98%, with seven dependency versions recovered exactly from byte evidence).
- A developer wants a rebuild they can copy anywhere and run offline, and that still tells them exactly where their fork diverges from the original.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npx website-rebuild-skill # → ~/.claude/skills/website-rebuildnpx website-rebuild-skill --project # → ./.claude/skills/website-rebuildnpx website-rebuild-skill --dir <skills dir> # other runtimes; website-rebuild is appended automatically
- Config files
~/.claude/skills/website-rebuild~/.claude/skills/website- Runtime
- Node.js 22+
How do you install or deploy this agent?
Prerequisites: Node.js ≥ 22 (built-in fetch and WebSocket over CDP), a local Chrome or Chromium for headless comparison, and npx for the few stages that spawn pinned-version external tools.
Option one — install via npx, no clone required:
npx website-rebuild-skill # → ~/.claude/skills/website-rebuild
npx website-rebuild-skill --project # → ./.claude/skills/website-rebuild
npx website-rebuild-skill --dir <skills dir> # other runtimes; website-rebuild is appended automaticallyThe installer only copies files: it does not run the skill, launch a browser or go online, and it is zero-dependency itself. It verifies every copied file by sha256 in both directions, prints the installed version and refuses when the target exists (use --force to replace), and --dry-run previews the writes. It also copies README.md, README.en.md and LICENSE into the target directory, because the SKILL.md "verified sites" list is looked up from the README.
Option two — copy manually from a clone (Claude Code shown here):
cp -R skills/website-rebuild ~/.claude/skills/website-rebuild
cp README.md README.en.md LICENSE ~/.claude/skills/website-rebuild/For other Agent Skills-compatible runtimes, place the same directory according to that runtime's convention, and bring those three documents along.
How do you use this agent?
In your agent, give it a URL and the instruction to rebuild it:
Rebuild this site 1:1: https://example.comThe agent will come back with decisions that are yours to make: scope (whole site or specific pages), how far to go, how to handle external dependencies, and anything touching whether the result may be published. The three end points are monotonic, so stopping lower costs nothing and can be resumed later:
L1 mirror archive / L2 engineered rebuild / L3 source-izationIf you are developing the skill itself, run the offline self-test before committing, and the real-Chrome suite after touching browser gates (probe / pixelcompare / serve):
npm test
npm run test:browserAcceptance output is a quantified report plus a difference register; source-ized output is a self-contained project that byte-verifies itself on every launch.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Acceptance is a hard, quantified gate: console, network, DOM, geometry and pixel layers compared automatically, with a written rule that an unregistered difference is a bug — several showcases report meanAbsDiff 0.00, and the AirPods Pro case holds pixel parity across 9 scroll checkpoints.
- The pipeline is zero-dependency until source-ization: 75 Node scripts (51 stage and gate scripts, 14 shared libraries, 10 rewriters) with no npm installs, enforced in CI by scripts/verify-zerodep.mjs — a rule that was previously documented only and violated for eight versions until the guard existed.
- Cross-runtime portability is measured, not claimed: the same skill directory completed targets under Claude Code and was run end to end by Codex on Hashgraph VC (166/166 responses byte-identical).
- Triage first plus archive rescue: infeasible targets are refused with a reason instead of a garbage run, and Wayback rescue has five measured cases (four revived, one of them through full L3; one engine recovered with its visual layer confirmed lost, and the failure mode was catalogued).
- Source-ized output is portable: 389-module deliveries at a median of 18 lines, or splice decomposition of 449k lines into 2,043 semantically named parts re-assembled byte-identically, with a byte manifest that locates every divergence after you fork.
- Not a standalone application: it must run inside an Agent Skills-capable runtime, and it needs Node.js ≥ 22 plus local Chrome or Chromium — without those the browser gates cannot run.
- Time cost is real: small and mid-size sites finish unattended within one session, but heavy WebGL or custom-engine sites took roughly 1–3 days, and a C1+C2 hybrid such as basement.studio is described as a week-scale campaign.
- C1 targets (RSC / Next.js App Router) get no line-by-line port: since v0.3 they can be reconstructed, but the deliverable is hand-written source validated by a flight semantic gate, not byte-equivalent code.
- D-class server-behavior sites (CMS content, commerce inventory, A/B buckets, personalization) are explicitly out of scope — no portable client-side target and no deterministic acceptance baseline.
- Source-ization naming is bounded by evidence: in one flat site 63% of local variables had nothing to go on, and in one modular site 27 of 46 modules kept only a hash id; module-purpose comments still need a human.
- Copyright and compliance exposure sits with the user: the skill only gathers facts and recommends, output is private, noindex and undeployed by default, and per-asset clearance is a prerequisite for publishing.
How does this agent compare with similar options?
The README positions wget, HTTrack and SingleFile as the explicit alternative. Those tools answer "what does it look like": you get minified output, lost variable names, third-party libraries fused with business code, and validation by opening the page and deciding it looks close. This skill answers "how does it work": a module tree with per-file source provenance, reverse-engineering notes, a difference register, a five-layer automated acceptance report and a copyright assessment — while still using the mirror as the referee. The README is explicit that if you only want an archive or a local preview, those existing tools are enough and you should not reach for this.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Website Rebuild Skill This agent | 61 · Some gaps | Agent plugin / skillFree + model costs | ★ 1.8k | 2d ago | JavaScript | Codex · Claude Code |
| AI Website Cloner Template | 54 · Major gaps | Agent plugin / skillFree + model costs | ★ 40k | 14d ago | TypeScript | Claude Code |
| hwatu | 55 · Major gaps | CLIFree | ★ 121 | 2d ago | Rust | Codex · Claude Code |
| AgentKit Agentic App Kit Library | 47 · Major gaps | — | ★ 378 | 1mo ago | TypeScript | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The docs explicitly require a read-only mirror, no login/paywall access, low-frequency single-session crawling, and return legal decisions to the user. However, no actual script evidence is provided to prove these constraints are enforced. Least privilege is asserted in prose only; there is no visible minimization of network, browser, or npx external-tool permissions. Data-flow transparency is thin: the full flow of captured content, logs, and external requests is not described. Sensitive-data handling covers only anonymous public resources and does not address PII, cookies, or secrets. Dependency security is partial: package.json has no npm dependencies, but npx external tools are not pinned in a manifest and no lockfile is shown. External effects are acknowledged with robots.txt and low-frequency constraints, but crawling target sites still creates external load. Rollback is limited to the installer leaving existing installs alone unless --force; generated-project or modification rollback is not described. Source attribution is required via original-author credit and “unofficial rebuild” labeling, but no automated enforcement is shown.
Version numbers are consistent between package.json and SKILL.md, and a version-gate workflow exists, which supports self-consistency. However, the README is truncated, so some claims cannot be cross-checked against complete files. Dependency availability lists Node 22+, Chrome/Chromium, and npx, but Chrome is not bundled and npx tool versions are not fixed in the dependency manifest. Failure messages are designed for triage refusals and GAP registration, but no concrete error-message examples or error catalog are provided.
The scope documentation is strong: A/B/C/D/X classes, C1/C2 conditional support, refusal scenarios, and measured samples are all described. Audience and scenarios are well covered. Capability boundaries are explicit, especially for D-class server-behavior sites and C1 server-component sites. Trigger precision is good, with phrases such as “复刻网站”, “重建网站”, “1:1 rebuild”, and “clone this site”, but “clone this site” is broad and may over-trigger ordinary cloning requests. Environment fit is documented: Node 22+, Chrome, and POSIX-only stages after Step 0, with Windows limited to Step 0; the boundary is clear but depends on external tooling.
Information architecture is clear: README has a table of contents, SKILL.md is sectioned, and references include case-study files. Install notes are thorough, covering npx and manual copy, installer copy-only behavior, sha256 verification, --force, and --dry-run. Naming is stable: package name and skill name align. Examples are plentiful, with verified sites and showcase images, but there is no FAQ. Known limitations are well documented, including conditional support and explicit refusal classes. License is MIT and the LICENSE file is complete. Versioning exists through package.json and SKILL.md versions plus a version-gate, but CHANGELOG.md is not in the sample, so change history cannot be verified. Maintenance responsibility is only author and issues links; publisher identity is unverified and no explicit maintenance commitment is shown.
The output is described as a runnable project, reverse-engineering notes, deviation ledger, acceptance report, and copyright assessment, so the value proposition is clear. However, no actual output artifact or sample deliverable is included, so output usability cannot be verified. Marginal value over ordinary scraping/mirroring is clear: line-by-line reconstruction, automated acceptance, and source-form delivery. Cost-benefit is considered through triage, difficulty ratings, and time estimates, but independent benchmarks or cost data are absent, and the 1–3 day heavy-site claim cannot be verified statically.
Claims are traceable to case-study files and specific measured numbers such as 18/18, 115/115, and meanAbsDiff 0.00, giving some traceability. However, these numbers are largely self-reported and are not accompanied by raw logs or reproducible experiment packages. Cross-source corroboration is mostly internal to the repository docs, with no independent third-party sources. Fact/inference separation is handled well in places: C1 server components are explicitly labeled as inferred, and speculation in comments must be labeled. Still, marketing-style performance claims in the README are not individually separated into measured versus inferred.
- Static review cannot verify actual execution; the sample lacks complete scripts, test outputs, or reproducible experiment packages, so README claims such as pixel-identity and route-identity rates should be treated as self-reported.
- The skill crawls external websites and launches Chrome/CDP and npx external tools. Although the docs require read-only mirroring, low frequency, and robots.txt compliance, no enforcement code is shown; confirm network permissions, target-site terms, and copyright risk before real use.
- The dependency manifest does not pin npx external-tool versions and no lockfile is shown; supply-chain risk should be checked separately before running.
- Publisher identity is unverified, and maintenance responsibility is limited to an author name and issues link; long-term maintenance, update path, and change history (CHANGELOG.md is not in the sample) need confirmation.
- Private, noindex, not-deployed defaults are safe, but pre-publication per-asset copyright forensics and attribution still depend on user decisions and manual process.
FAQ
Does the skill cost anything to run?
Can I publish the rebuild straight away?
What if the target site is already gone?
Which sites get refused?
How long does one rebuild take?
Is Website Rebuild Skill open source?
Is Website Rebuild Skill safe to use?
Is Website Rebuild Skill still maintained?
Who makes Website Rebuild Skill?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.