saving-websites-locally

Installation
SKILL.md

Saving Websites Locally

Two scripts do the work; Claude runs them, reads their compact summaries and reports. Claude does not build the mirror from wget, curl or ad-hoc grep/sed pipelines: a wget mirror misses JavaScript chunks and breaks on file:// in ways a screenshot does not show (see "Why the scripts exist"), and the scripts answer in a few hundred tokens what manual checking costs in hundreds of thousands.

Script Does Talks to the live site
scripts/mirror-site.mjs crawls, downloads, repairs for file://, verifies references, writes README, report and ZIP GET requests only, throttled
scripts/compare-site.mjs opens original and copy side by side in headless Chrome and compares content and behaviour loads each page once per viewport

Requirements: Node.js ≥ 22, Google Chrome or Chromium for the comparison, and npx access on the first run (it fetches esbuild for the module bundling).

Before Starting

Installs
1
First Seen
Oct 27, 2026