Read PDF files with Go. Extracts text page by page, supports page ranges, keyword search, and summarizes content. Notes OCR requirement for scanned PDFs.From its SKILL.md
npx -y skills add bos-hieu/agent-skills --skill pdfAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.8 KB, as published. Nobody here has run it
Use ${CLAUDE_SKILL_DIR} to reference the Go file. For scanned/image-only PDFs, inform the user OCR is needed (e.g. ocrmypdf scanned.pdf searchable.pdf).
Usage
go run ${CLAUDE_SKILL_DIR}/read_pdf.go <file.pdf> [flags]
| Flag | Description |
|---|---|
--pages <range> | Page range: 1-5, 3, 2,4,7 |
--search <term> | Search keyword (case-insensitive), report page + line |
--lines <n> | Max lines per page in preview (default 20) |
--summary | Print only page count and first page content |
--full | Print full text of every page (no line limit) |