site-mirror

site-mirror is a skill for Claude Code, Codex from ajmaluk/site-mirror-skill. It costs 55 tokens per session (641 once invoked), scanned A, original, MIT.

A website-mirroring skill that downloads a site’s files and rewrites its links so the pages can work from a local folder without an internet connection.

In plain words
What is it for?
It helps copy simple sites with wget, render JavaScript-heavy pages with Playwright, crawl internal pages, and produce local index files plus a download report.
Why use it?
It makes a live site available for archiving or offline inspection, including pages whose content appears only after JavaScript runs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit It helps copy simple sites with wget, render JavaScript-heavy pages with Playwright, crawl internal pages, and produce local index files plus a download report.

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

Made for: Claude Code, Codex.

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 site-mirror

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ajmaluk/site-mirror-skill/claude-site-mirror"><img src="https://agentmods.dev/badge/skills/ajmaluk/site-mirror-skill/claude-site-mirror.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 641 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.00055 $0.00641
Opus 5 $0.00028 $0.00320
Sonnet 5 $0.00011 $0.00128
Haiku 4.5 $0.00006 $0.00064

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

Security

Grade A, and why

site-mirror 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 12d 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.

Supports static mirroring via `wget`, dynamic mirroring for a single page,
skills/claude-site-mirror/SKILL.md · 72 lines

How it starts

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

What I do

  • Capture websites into a local directory, rewriting links so they work offline.
  • Provide three modes:
    • static: fast mirroring with wget for server‑rendered sites.
    • dynamic single‑page: renders a single page with Playwright to capture assets loaded after JavaScript execution.
    • dynamic multi‑page: follows internal links within the same domain up to a specified depth, capturing multiple pages.
  • Produce one or more index.html files (mirroring the site structure) and a report.json summarizing downloaded files.

When to use me

Use this skill when you want Claude Code to create a mirror of a live site, for archiving or offline analysis. Choose static mode for simple, server‑rendered sites; dynamic single‑page mode for SPAs or JavaScript‑heavy pages; and dynamic multi‑page mode when you need to mirror multiple internal pages.

How to run

In the Claude Code environment, use the shell tool to run:

python3 mirror.py <URL> -o <output_dir>

for static sites, or

python3 mirror_dynamic.py <URL> -o <output_dir>

for dynamic single‑page sites.

If you need to mirror multiple pages on a dynamic site, run:

python3 mirror_dynamic_multi.py <URL> -o <output_dir> --depth <N> --concurrency 3 --max-pages 50

Replace <N> with a small integer (e.g., 1) to control how many link levels to follow. The optional --concurrency flag sets how many pages are processed concurrently and --max-pages limits the total number of pages captured. After the command completes, open the appropriate index.html files in the preview browser. Review report.json for information about captured assets.

Installation

  1. Place the claude-site-mirror directory into your Claude skills folder (~/.claude/skills/ for global use or .claude/skills/ in a specific project).
  2. Ensure mirror.py and mirror_dynamic.py are present in your project root or reachable via the shell environment.
  3. Claude will detect the skill automatically when you start a new session.

Read the full file on GitHub · 72 lines

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. 12d ago First seen · 72 lines · 55 tokens per session scan A 857a2b50edfc

Subscribe to this mod's changes

site-mirror is a skill published in the GitHub repository ajmaluk/site-mirror-skill (2 stars, last pushed 3mo ago), licensed MIT. It adds 55 tokens to every session and 641 once invoked, about $0.0003 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

scrapling-official

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; webfetch fails; the site has anti-bot protections; write Python code to…

D4Vinci/Scrapling · 80 tokens

data-scraper

Use when data lives on a website with no usable API — listings, prices, public records — and the scrape must stay legal and not get blocked: legal gate, extraction path, durable selectors, pacing, resilience. NOT parsing bytes you already hold into fields (that is structured-extraction), NOT a documented API or key…

ericrisco/rsc-harness · 77 tokens

e2e-automator

Build robust end-to-end test suites with Playwright or Cypress. Covers page objects, fixtures, visual testing, and CI integration.

AtulPurohit/Antigravity-Awesome-Skills · 33 tokens

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

microsoft/playwright · 19 tokens

playwright-component-testing

Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime. Use when asked to test React or Vue components in isolation with Playwright, or to migrate off @playwright/experimental-ct-react / -vue.

microsoft/playwright · 69 tokens

auto-research

Research uncertain questions with an explicit, user-approved web search or ChatGPT consultation, then present options and wait for implementation approval.

sickn33/agentic-awesome-skills · 29 tokens