html-size

html-size is a skill for Claude Code, Codex from thedaviddias/Front-End-Checklist. It costs 39 tokens per session (720 once invoked), scanned A, original, MIT.

An HTML page-size checker for measuring how much data a page sends in its markup, including embedded JSON data.

In plain words
What is it for?
Use it to review page weight, investigate missing content in Google’s index, and inspect server-rendered pages with large JSON payloads.
Why use it?
Large HTML can slow crawling by search engines and may prevent some page content from being indexed, meaning included in search results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to review page weight, investigate missing content in Google’s index, and inspect server-rendered pages with large JSON payloads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thedaviddias/front-end-checklist/html-size
About the project

Front-End Checklist is a collection of front-end web development rules organized as a practical review and quality workflow for people and AI agents. Developers use it to audit projects and pull requests, check implementation details, and find guidance for remediation and verification. The catalogue entries provide skills, instructions, MCP tools, and a plugin for using the checklist in agent workflows.

thedaviddias/Front-End-Checklist · 74,667 stars · on GitHub · frontendchecklist.io

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 thedaviddias/Front-End-Checklist --skill html-size
Clone the repo
git clone --depth 1 https://github.com/thedaviddias/Front-End-Checklist

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 html-size

README.md
[![agentmods](https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/html-size/github.svg)](https://agentmods.dev/skills/thedaviddias/front-end-checklist/html-size)
Your own site
<a href="https://agentmods.dev/skills/thedaviddias/front-end-checklist/html-size"><img src="https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/html-size/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 html-size

Your own site · 80×15
<a href="https://agentmods.dev/skills/thedaviddias/front-end-checklist/html-size"><img src="https://agentmods.dev/badge/skills/thedaviddias/front-end-checklist/html-size.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 720 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00720
Opus 5.5 $0.00016 $0.00288
Sonnet 5.5 $0.00008 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured 1mo ago against content hash 4a82984d1437, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

html-size 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 1mo 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.

1. Measure: `curl -so /dev/null -w '%{size_download}' https://yoursite.com/page | awk '{print $1/1024 " KB"}'`
skills/html-size/SKILL.md · 53 lines

How it starts

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

Keep HTML documents under crawl limits

Googlebot has a documented crawl size limit of approximately 15MB per HTML document. Content beyond this threshold is not parsed or indexed. Excessively large HTML also slows Googlebot crawls, reducing how many of your pages are crawled per budget period.

Quick Reference

  • Googlebot stops parsing HTML beyond approximately 15MB; content after that point is not indexed
  • Large HTML is usually caused by inline JSON data dumps, excessive inline SVG, or unminified JavaScript in <script> tags
  • Target HTML document size under 2MB for optimal crawl efficiency; investigate anything over 5MB

Check

Measure the raw HTML response size (before compression) for each page. Flag pages over 2MB (investigate) and over 5MB (critical). Identify the cause of oversized HTML: (1) Large inline JSON (<script id='__NEXT_DATA__'> or similar). (2) Inline SVG files. (3) Base64-encoded images in HTML. (4) Inline CSS with large amounts of utility classes. (5) Unminified scripts in <script> tags.

Fix

  1. Measure: curl -so /dev/null -w '%{size_download}' https://yoursite.com/page | awk '{print $1/1024 " KB"}'
  2. If large inline JSON is the cause (common in Next.js __NEXT_DATA__):
    • Reduce data passed to getServerSideProps/getStaticProps — only pass what the page renders
    • Use React Server Components (Next.js 13+) to avoid client hydration payloads
  3. If inline SVG is the cause: move SVGs to external files and load with <img> or <use>.
  4. If base64 images are the cause: serve images from a CDN and reference via URL.
  5. Enable gzip/Brotli compression on the server — Googlebot fetches the compressed response.
  6. Minify HTML output in production (remove whitespace and comments).

Explain

Google's crawl infrastructure parses only the first ~15MB of an HTML document. Pages that exceed this limit have their tail content silently omitted from Google's index. Beyond the hard limit, large HTML documents consume more crawl budget, meaning fewer of your pages are crawled per day. This particularly affects large e-commerce sites or pages that server-render large datasets into HTML.

Read the full file on GitHub · 53 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. 1mo ago Changed 4a82984d1437
  2. 2mo ago First seen · 53 lines · 39 tokens per session scan A 86efd50c59fa

Subscribe to this mod's changes

html-size is a skill published in the GitHub repository thedaviddias/Front-End-Checklist (74,667 stars, last pushed 7d ago), licensed MIT. It adds 39 tokens to every session and 720 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

html-size compared with skills from other repositories

html-size next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
html-sizethedaviddias/Front-End-ChecklistSkill75k7d agoMITA39Claude Code, Codex
scalar-design-systemscalar/scalarSkill16kyesterdayMITA68Claude Code, Codex
citation-verificationGalaxy-Dawn/claude-scholarSkill6.0k19d agoMITA63Claude Code
stopoversborski/travel-hacking-toolkitSkill895yesterdayMITA62Claude Code
flight-search-strategyborski/travel-hacking-toolkitSkill895yesterdayMITA48Claude Code
alliancesborski/travel-hacking-toolkitSkill895yesterdayMITA39Claude Code
design-loopericrisco/rsc-harnessSkill5032d agoMITA79Claude Code, Codex