website-cloner

website-cloner is a skill for Claude Code from wangbin3162/agents-skills. It costs 108 tokens per session (4,494 once invoked), scanned A, original, MIT.

A website-copying tool that downloads a live website into a self-contained static site made from HTML, CSS, JavaScript, fonts, images, and other local assets.

In plain words
What is it for?
Making a static copy of a website, preserving its downloaded assets, or preparing it for later migration to another framework.
Why use it?
It creates a portable copy that can be opened or served without depending on the original site's framework or remote assets.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Making a static copy of a website, preserving its downloaded assets, or preparing it for later migration to another framework.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wangbin3162/agents-skills/website-cloner
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 wangbin3162/agents-skills --skill website-cloner
Clone the repo
git clone --depth 1 https://github.com/wangbin3162/agents-skills

Made for: Claude Code.

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 website-cloner

README.md
[![agentmods](https://agentmods.dev/badge/skills/wangbin3162/agents-skills/website-cloner/github.svg)](https://agentmods.dev/skills/wangbin3162/agents-skills/website-cloner)
Your own site
<a href="https://agentmods.dev/skills/wangbin3162/agents-skills/website-cloner"><img src="https://agentmods.dev/badge/skills/wangbin3162/agents-skills/website-cloner/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 website-cloner

Your own site · 80×15
<a href="https://agentmods.dev/skills/wangbin3162/agents-skills/website-cloner"><img src="https://agentmods.dev/badge/skills/wangbin3162/agents-skills/website-cloner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00108 $0.04494
Opus 5 $0.00054 $0.02247
Sonnet 5 $0.00022 $0.00899
Haiku 4.5 $0.00011 $0.00449

Measured 9d ago against content hash 2045c894e94e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

website-cloner scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. **URL + local reference** — The user has already downloaded a static version (e.g., via browser "Save Page" or `wget`). Use it as a reference to cross-check assets and structure, fill in gaps the live fetch might miss
skills/website-cloner/SKILL.md · 420 lines

How it starts

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

Website Cloner

You are about to clone a website into a fully self-contained static site — pure HTML, CSS, and JavaScript with zero framework dependencies. The output is a folder of static files that can be opened directly in a browser, served by any static server, or migrated into any framework later.

Interactive Input

If $ARGUMENTS is empty or incomplete, ask the user interactively. Do NOT proceed without the required information. Ask questions one at a time — don't overwhelm with a long form.

Step 1: Target URL

If no URL was provided in $ARGUMENTS, ask:

Q: 要克隆哪个网站?请提供目标 URL。

  • Option A: 输入 URL(推荐)— "提供目标网址,例如 https://example.com"
  • Option B: 仅本地参考 — "我没有 URL,只有本地已下载的静态文件"

If the user chooses B (no URL), skip to Step 2 but note that extraction will rely entirely on local files — no live fetch possible.

Validate the URL format. If invalid, ask again.

Step 2: Local Reference (Optional)

Ask:

Q: 是否有已下载的静态站点作为参考?

  • Option A: 有(推荐)— "提供本地目录路径"
  • Option B: 没有 — "直接克隆,无需参考"

If the user provides a path, verify the directory exists. If not, ask again or offer to skip.

Step 3: Output Directory Name

If --dir was not provided in $ARGUMENTS, suggest a default derived from the hostname and ask:

Q: 输出目录叫什么名字?

  • 显示建议名称(如 example-com),让用户确认或自定义
  • 用户可直接回车确认默认值,或输入新名称

If the directory already exists, ask whether to overwrite or pick a new name.

Step 4: Confirm Summary

Before starting, show a summary and ask for confirmation:

即将克隆:

  • 目标 URL: https://example.com
  • 本地参考: ~/Downloads/example-site(如有)
  • 输出目录: ./example-com/

确认开始?

Only proceed after the user confirms.


Once all inputs are gathered, the workflow proceeds with the collected information.

Input Modes

Based on gathered input, this skill operates in three modes:

  1. URL only — Fetch the live site, extract everything, rebuild as static files.
  2. URL + local reference — The user has already downloaded a static version (e.g., via browser "Save Page" or wget). Use it as a reference to cross-check assets and structure, fill in gaps the live fetch might miss.
  3. Local reference only — No live URL; rebuild from the downloaded files alone.

Read the full file on GitHub · 420 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. 9d ago First seen · 420 lines · 108 tokens per session scan A 2045c894e94e

Subscribe to this mod's changes

website-cloner is a skill published in the GitHub repository wangbin3162/agents-skills (2 stars, last pushed 2mo ago), licensed MIT. It adds 108 tokens to every session and 4,494 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens