Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/HarKro753/claude-copynpx agentmods add skills/harkro753/claude-copy/htmlWrote 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.
[](https://agentmods.dev/skills/harkro753/claude-copy/html)<a href="https://agentmods.dev/skills/harkro753/claude-copy/html"><img src="https://agentmods.dev/badge/skills/harkro753/claude-copy/html/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.
<a href="https://agentmods.dev/skills/harkro753/claude-copy/html"><img src="https://agentmods.dev/badge/skills/harkro753/claude-copy/html.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00183 | $0.01507 |
| Opus 5.5 | $0.00073 | $0.00603 |
| Sonnet 5.5 | $0.00037 | $0.00301 |
| Haiku 4.5 | $0.00018 | $0.00151 |
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 3mo 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.
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.mdis CSS px and goes straight into the HTML.checkrenders 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.mdgives youdisplay:flex,gap,padding,align-items— the page was built that way and reproducing it that way is what makes the output worth keeping. Reach forposition:absoluteonly where the capture says so. - A repeated recipe becomes a class. Same six properties on thirty rows is
one
.rowclass; inlinestyle=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">—resolvehas 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, so1.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 colourlayout.mdshows for that box. - Author from
shared/icons.mdrather than swapping icons in afterwards.
- Size icons in whole pixels. An
- Hover/active go in
shell.css, on the class. Wherelayout.mdshowshover{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.checkscreenshots 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.jsonlists files,@font-facethem with a relativeurl()— a CDN<link>silently no-ops in headless Chromium and every text run drifts 7–30% wide, socheckrefuses 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.
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.
- 3mo ago First seen · 112 lines · 183 tokens per session scan A e4f3d1cb4119
html is a skill published in the GitHub repository HarKro753/claude-copy (18 stars, last pushed 4mo ago), licensed MIT. It adds 183 tokens to every session and 1,507 once invoked, about $0.0007 per session on Opus 5.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.
html compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| htmlHarKro753/claude-copy | Skill | 18 | 4mo ago | MIT | A | 183 | Claude Code |
| reviewSethGammon/Citadel | Skill | 943 | 6d ago | MIT | A | 17 | Claude Code |
| wenlan-handoffwenlan-app/wenlan | Skill | 502 | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |
| system-upgradealivecontext/alive | Skill | 132 | 15d ago | MIT | A | 55 | Claude Code |
| read-literaturefirecrawl/firecrawl-claude-plugin | Skill | 276 | yesterday | MIT | A | 101 | Claude Code |
| pr-reviewnitinjain999/platform-skills | Skill | 74 | 3d ago | Apache-2.0 | A | 81 | Claude Code |
| apex-skillifytonone-ai/tonone | Skill | 85 | yesterday | MIT | A | 41 | Claude Code |