pdf-size
What it does
This skill checks PDF files linked from a website for size problems that can stop search engines from reading them fully. It is for site owners who publish reports, manuals, or other PDFs.
When to use it
- ✓When you ask the agent to check the PDF files linked from your website.
- ✓When a large PDF you publish does not show up in search results.
- ✓When you are preparing a report or manual for download and want it to be easy for search engines to index.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/pdf-size/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I have many large PDF reports on my site. Can you check their sizes and make them easier for Google to read?”
5 new skills a week. 1 minute to read.
How it works
The agent finds PDF links on the site and checks each file's size. It suggests compressing large files by removing high resolution images, fonts, and extra metadata, and if needed, creates a web page with the same content.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Keep linked PDFs under 60 MB
PDFs larger than Googlebot's download threshold are partially crawled or skipped, meaning their content may not appear in search results even when linked from well-indexed pages.
Quick Reference
- Googlebot truncates files larger than 15 MB for crawling; 60 MB is a documented upper limit
- Large PDFs may be partially indexed or skipped entirely
- Compress PDFs before publishing: use PDF optimisation tools to reduce file size
- Add HTML landing pages alongside PDFs to ensure content is indexable
Check
Find all <a href='*.pdf'> links on the site. For each linked PDF, perform a HEAD request and check the Content-Length header. Flag any PDF exceeding 10 MB (recommend compression) or 15 MB (likely to be truncated by Googlebot).
Fix
Compress large PDFs using a PDF optimisation tool (Adobe Acrobat, Ghostscript, or Smallpdf). Remove embedded high-resolution images, fonts, and metadata not required for reading. If compression is insufficient, create an HTML page with the same content as the primary indexable version, and offer the PDF as a download.
Explain
Googlebot downloads and indexes the content of PDFs linked from your site. However, it has a file size limit for downloads — files beyond this limit are partially indexed or skipped. Large PDFs also slow down crawling and consume crawl budget. Keeping PDFs small ensures their full content appears in search results.
Code Review
Find all <a href> links with .pdf extension. For each PDF URL, perform a HEAD request and check Content-Length header value. Flag PDFs exceeding 10,485,760 bytes (10 MB) for compression review. Flag PDFs exceeding 15,728,640 bytes (15 MB) as at-risk for partial indexing. Verify PDF URLs return 200 status and appropriate Content-Type: application/pdf header.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/seo/pdf-size
FAQ
What size is too big for a PDF?
The skill flags files over 10 MB for compression and files over 15 MB as likely to be cut short by Googlebot.
What tools can compress a PDF?
The skill mentions Adobe Acrobat, Ghostscript, and Smallpdf.
Should I still offer the PDF?
Yes, the skill suggests keeping the PDF as a download alongside an HTML version of the content.
Details
Original description by the author
Use when auditing a site that publishes downloadable PDFs (reports, white papers, legal documents, manuals). Applies to any site where PDFs are linked as indexable content resources.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2974
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.