Kindle Pdf Skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Kindle Pdf Skill (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Fix the technical-PDF-on-Kindle disaster. Matrices, code blocks, and equations stay intact. No reflow nightmare.
English | 简体中文
An Agent Skill that teaches Claude (and other compatible agents) how to properly convert oversized technical PDFs into Kindle-friendly form — without destroying the layout of code, tables, matrices, and equations.
You found a great technical book — say, Build a Large Language Model (From Scratch) by Sebastian Raschka. The PDF is a Letter-sized brick, ~7.4 × 9.2 inches per page. You want to read it on your 6-inch Kindle.
You have two "obvious" options. Both fail:
<p align="center"> <img src="./assets/before-kindle-disaster.jpg" alt="Before: PDF→AZW3 reflow disaster — a 2D table fragmented into single-column vertical text" width="300"> <img src="./assets/after-kindle-readable.jpg" alt="After: same book, k2pdfopt-optimized PDF — figure, vectors, and caption all intact" width="300"> </p> <p align="center"><em>Left: PDF converted to AZW3. Right: same book, this skill's k2pdfopt-optimized PDF.</em></p>
On the left (AZW3 conversion), a 2D table has been shredded into a single column. Each cell — 3, the first token ID, over, 5, dog, 1, 1.2753 — is on its own line. Equations are torn apart. Code indentation is gone. The book is unreadable.
On the right (this skill's output, still a PDF), a multi-row figure with three labeled embedding vectors ([1.23, -0.31, 0.89] …) stays atomic, the caption flows under it, and the chapter heading and page number land exactly where they should.
The root cause: AZW3 / MOBI / EPUB are reflowable formats. The converter has to extract a single linear text stream from your PDF. Anything that lives in a 2D grid — code blocks, matrices, tables, equations, side-by-side figures — gets serialized into nonsense.
The fix isn't to convert to a different format. The fix is to keep the PDF as a PDF, and just re-cut its pages to fit a 6-inch screen.
There's a tool called [k2pdfopt](https://www.willus.com/k2pdfopt/) that re-slices each PDF page into multiple device-sized sub-pages, keeping rows and code blocks atomic. But k2pdfopt has 100+ flags and most online tutorials get the critical ones wrong.
This skill encodes the exact recipe — flag combinations, device parameters, traps to avoid, and verification steps — for getting a usable result on the first try.
| Without skill | With this skill | |
|---|---|---|
| Tutorials needed | 5+ blog posts, mostly wrong | 0 — agent handles it |
| First-try success | ~10% | ~90% |
Common landmines (-mode copy doesn't split pages, -rt 0 doesn't keep portrait, etc.) | Hit every one | All documented |
| Code/matrix/equation preservation | Random | Guaranteed |
| Old Kindle support (Paperwhite 1/2) | "Just buy a new Kindle" | Optimized parameter set |
skills/kindle-pdf-skill/
├── SKILL.md # the main playbook
└── references/
├── k2pdfopt-flags.md # Full flag reference + device cheat sheet
├── physical-zoom-limits.md # Why -fs N doesn't give N× bigger text on 6" devices
├── diagnostic-attribution.md # Real cause (AZW3 conversion) vs misattributed (Kindle PDF viewer)
└── security-policy-pitfalls.md # macOS Gatekeeper, blocked shell patternsThe skill covers:
-fs N on a 6" device reading a 7-8" wide source can't deliver more than ~10-15% perceived gain; documented with math and real measurementsvision_analyze lies about page orientation)/plugin marketplace add irisfeng/kindle-pdf-skill
/plugin install kindle-pdf-skill@kindle-pdf-skillHermes Agent loads skills from ~/.hermes/skills/. Clone or copy this skill:
mkdir -p ~/.hermes/skills/productivity
cp -r skills/kindle-pdf-skill ~/.hermes/skills/productivity/Then in any new Hermes session, just ask:
My PDFs look terrible on Kindle. Help me fix them.
The agent will load this skill automatically.
The whole skill is in skills/kindle-pdf-skill/SKILL.md. It's a self-contained markdown document. Drop it into any agent system that supports custom instructions (Cursor rules, Codex prompts, ChatGPT custom instructions, etc.).
Once installed, just describe the symptom in plain language. The agent will:
Example prompts that trigger this skill correctly:
I (@irisfeng) have an old Kindle Paperwhite 2 and a lot of ML / math / CS PDFs. Every "convert PDF to Kindle" tutorial online either:
-mode copy famously doesn't split pages)This skill is the result of an iterative session with Hermes Agent where every wrong path was tried, every landmine stepped on, and the working recipe was captured before it could be forgotten. That's what skills are for — turning expensive lessons into cheap, repeatable knowledge.
PRs welcome — especially:
Open an issue first for anything larger than a typo fix.
Reality-check release after running Sebastian Raschka's Build a LLM From Scratch on an actual Paperwhite 2.
-ls-), not portrait + -fs tuning. The previous default consistently produced "still too small" feedback from real users. Landscape posture trades reading ergonomics for ~35% bigger text and is the durable answer for ML/math books on PW1-PW4.-fs 1.25 nets ~10-15% perceived gain in portrait fitwidth mode, then hits a hard wall. See references/physical-zoom-limits.md for the math and real measurements.qpdf --linearize alone isn't enough; pass the source through ghostscript -sDEVICE=pdfwrite first, then feed the cleaned PDF to k2pdfopt.physical-zoom-limits.md, diagnostic-attribution.md.Initial release.
MIT © 2026 偷泥方 (irisfeng)
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.