pdf-to-kindlelisted
Install: claude install-skill smorrel1/claude-code-skills
# PDF to Kindle
Extract text from PDFs and send to Kindle.
## Prerequisites
- pymupdf: `pip install pymupdf`
- Pillow: `pip install pillow` (cover image)
- Calibre: `brew install calibre`
- Gmail skill configured
## Quick Start
```bash
# One-step workflow
python3 scripts/pdf_to_kindle.py full --input document.pdf --title "Document Title"
# With two-column layout preservation (for academic papers)
python3 scripts/pdf_to_kindle.py full --input paper.pdf --title "Paper Title" --preserve-columns
# Cover subtitle lines: reference, project, date (up to three)
python3 scripts/pdf_to_kindle.py full --input budget.pdf --title "i4i BUDGET" \
--subtitle NIHR523689 --subtitle ViewFinder --subtitle "16 Oct 2026"
```
## Every EPUB gets a title cover (standing default, 16 Oct 2026)
Send-to-Kindle gives a coverless document the same generic DOC icon as every
other one, so the library becomes unusable. `scripts/kindle_cover.py` therefore
draws a 1600x2560 cover for every EPUB: deep blue (#0d47a1), the title in white
Arial Bold, and up to three smaller subtitle lines. Nothing has to be passed for
this to happen.
| # | Option | Description |
|---|--------|-------------|
| 1 | `--subtitle` | A subtitle line, repeatable up to three times |
| 2 | `--cover FILE` | Use this image instead of the drawn cover |
| 3 | `--no-cover` | Skip the cover (back to the generic icon) |
Draw one on its own, for any other EPUB or for pandoc:
```bash
python3 scripts/kindle_cover.py --title "i4i BUDGET"