AI for Developers
Agent skill (SKILL.md) Open source MIT 1.6k

website-rebuild-skill

Mirrors a website, rebuilds it from the minified code, and checks the result.

Install

For this project
$ npx skills add boyang-hu/website-rebuild-skill -a claude-code
For every project
$ npx skills add boyang-hu/website-rebuild-skill -a claude-code -g

Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).

For this project
$ npx skills add boyang-hu/website-rebuild-skill -a codex
For every project
$ npx skills add boyang-hu/website-rebuild-skill -a codex -g

Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).

When to use

Use it to recover or migrate a site you have the right to copy, or to study how a complex front end works. Check copyright and licensing before you publish anything.

Given a URL, this skill has your agent rebuild that website line by line and then prove the copy behaves the same. It treats the source site's implementation as the spec. First it captures the whole site as read-only evidence, with a sha256 ledger per file. Then it restores the logic from the minified code, with each line traceable to the original bundle. Finally it runs automated gates comparing console, network, DOM, geometry and pixels.

The README reports pixel-identical frames on several targets and a Codex run where 166 of 166 responses were byte-identical. It can also work from Wayback archives for dead sites, and rebuild Next.js App Router sites from their inline flight data. Output defaults to private, noindex and undeployed, and the legal decision is left to you. The README is written in Chinese, with an English version linked.

Related skills

All skills