readpdf
БесплатноЗапускает вложенные скриптыНе проверенExtract embedded text and rendered page images from PDFs. Use when the user asks to read, inspect, parse, convert, or extract contents from PDF files without…
от felixge★ 31 звезда на GitHubОб этом скилле
Read PDF
Use the bundled readpdf.sh script to extract embedded text from PDFs with pdftotext and render each page as a JPEG with pdftoppm.
This skill does not OCR scanned PDFs. It only extracts text already present in the PDF, plus page images for visual inspection.
Commands
Extract to a chosen directory
./readpdf.sh extract -o <output-dir> <pdf-or-dir>...
Inputs may be PDF files or directories. Directories are searched recursively for *.pdf files.
For each PDF, the script writes:
<output-dir>/XXX.txt— embedded text extracted withpdftotext -layout<output-dir>/XXX.N.jpg— rendered pageN, at 200 DPI
The script emits every generated file path to stdout.
Read PDFs into model context
./readpdf.sh read <pdf-or-dir>...
This extracts to a temporary directory, emits all generated paths to stdout, and prints a reminder on stderr.
When using read, after running the script you must read the generated .txt files and inspect/read every .jpg page image into context. Prefer reading .txt first, then the images in page order, so both embedded text and visual layout are available.
Notes
- Requires Poppler tools on
PATH:pdftotextandpdftoppm. - Poppler is installed by Homebrew as
popplerininstall.bash. - If a PDF contains only scanned images, the
.txtfile may be empty; still inspect the rendered page images. - If multiple PDFs have the same basename, later outputs get numeric suffixes to avoid overwriting.
Установить readpdf в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл readpdf?
Extract embedded text and rendered page images from PDFs. Use when the user asks to read, inspect, parse, convert, or extract contents from PDF files without OCR.
Как установить скилл readpdf?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл readpdf запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic