html

html is a skill for Claude Code, Codex from HarKro753/claude-copy. It costs 183 tokens per session (1,507 once invoked), scanned A, original, MIT.

A workflow that turns captured website files and screenshots into static HTML pages for each route, with shared styles and visual checks.

In plain words
What is it for?
Use it to reproduce landing pages or marketing sites as files that can be opened directly, then recheck each page against its screenshot.
Why use it?
It removes the need to rebuild a captured site from memory and helps catch differences from the reference screenshots.

Skill for Claude CodeCodex

Part of the clone plugin — 3 skills, 1 hook shipped together

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.

agentmods
npx agentmods add skills/harkro753/claude-copy/html
Any agent
npx skills add HarKro753/claude-copy --skill html
Clone the repo
git clone --depth 1 https://github.com/HarKro753/claude-copy

Made for: Claude Code, Codex.

Or install clone, the plugin that ships this one along with the rest of its 3 skills, 1 hook.

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 html

README.md
[![agentmods](https://agentmods.dev/badge/skills/harkro753/claude-copy/html.svg)](https://agentmods.dev/skills/harkro753/claude-copy/html)
Your own site
<a href="https://agentmods.dev/skills/harkro753/claude-copy/html"><img src="https://agentmods.dev/badge/skills/harkro753/claude-copy/html.svg" alt="Measured on agentmods" height="20"></a>
Per session 183 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00183 $0.01507
Opus 5 $0.00092 $0.00754
Sonnet 5 $0.00037 $0.00301
Haiku 4.5 $0.00018 $0.00151

Measured 4d ago against content hash e4f3d1cb4119, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

html scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/clone/skills/html/SKILL.md · 112 lines

How it starts

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

clone:html — capture session → verified static routes

In: a session folder — pages.json + one folder per page holding ref.png, source.html, computed.json, meta.json. Out: <slug>/page.html per route, sharing shared/*.css and one glyph set, where every route's check exits 0 against its own ref.png.

Work in place in the session folder (copy it under apps/<name>/ first if it isn't already there). Everything the loop needs lives on disk, so any phase can be re-run and any cycle handed to a fresh subagent.

Read references/pipeline.md first — the CLI, the phases, the loop discipline and the four hard nevers are there and are not repeated here. This file is only what differs for static HTML.

clone prep <session> --target html
clone extract | resolve | cluster | check

Why static HTML, and when not to

A route is a file. No toolchain, no server, no build — the loop is edit and recheck with nothing in between, and the output is something anyone can open. That is the whole appeal, and for a landing page or a marketing site it is the right answer.

It is the wrong answer when the thing you are cloning has behaviour. A screenshot is the resting frame of components that do things: a command palette cloned as HTML is a div with a fake list. Hover, focus rings, disabled states and keyboard nav are real parts of the original and none of them are in ref.png. When the deliverable needs those, use clone:react.

Authoring

One page.html per route, plus shared/shell.css (and shared/components.css if it earns its own file), linked relatively — base.css first, always:

<link rel="stylesheet" href="../shared/base.css">
<link rel="stylesheet" href="../shared/shell.css">
  • Author in CSS px. Every number in layout.md is CSS px and goes straight into the HTML. check renders at the capture's device pixel ratio and scales for you — never double numbers for a retina reference.
  • margin:0, exact canvas size, no responsive units. One width, one page.
  • Flow layout, not absolute coordinates. layout.md gives you display:flex, gap, padding, align-items — the page was built that way and reproducing it that way is what makes the output worth keeping. Reach for position:absolute only where the capture says so.
  • A repeated recipe becomes a class. Same six properties on thirty rows is one .row class; inline style= is for the single value that differs per instance. This is what lets a fix subagent change one thing in one place.
  • Icons are <img>, never inline SVG. <img class="ico" src="../shared/icons/ready/search-444342.svg">resolve has already produced that file at that colour. An <img> renders identically to inline SVG (measured: same ink, same bounding box) and keeps a route free of SVG source, which is most of a page's bulk: on the Tailscale clone it took two routes from 59 KB to 35 KB. Every one of those bytes is context an author and a fix subagent would otherwise carry for markup they never edit.
    • Size icons in whole pixels. An <img> rasterises at its device size, so 1.25em (17.5px) rounds up where an inline SVG drew 17.
    • The colour is baked in, so color: no longer reaches an icon — pick the file whose suffix matches the colour layout.md shows for that box.
    • Author from shared/icons.md rather than swapping icons in afterwards.
  • Hover/active go in shell.css, on the class. Where layout.md shows hover{background-color:#f7f7f8} those are the source's own rules, read out of its stylesheets. Only changed properties are listed, so each one is a real difference. check screenshots the resting state and drives each hover separately — copy what is listed and invent nothing beyond it.
  • Fonts local or not at all. If shared/fonts.json lists files, @font-face them with a relative url() — a CDN <link> silently no-ops in headless Chromium and every text run drifts 7–30% wide, so check refuses to run when the declared family didn't load. A system stack needs nothing.
  • Nothing is a slice of ref.png. Charts are SVG, banners are HTML/CSS, gradients are CSS. A photograph you cannot rebuild becomes a neutral placeholder block in a palette colour. If the render is only right because it contains the reference, the clone is worth nothing.

Read the full file on GitHub · 112 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. 4d ago First seen · 112 lines · 183 tokens per session scan A e4f3d1cb4119

Subscribe to this mod's changes

html is a skill published in the GitHub repository HarKro753/claude-copy (17 stars, last pushed 1mo ago), licensed MIT. It adds 183 tokens to every session and 1,507 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.