Work with PDF files using the installed tools for fixed-page authoring, extraction, page operations, forms, annotations, redactions, and mechanical checks.
от mudler★ 50 644 звезды на GitHubОб этом скилле
PDF documents
The tools named here are installed in the guest image of the sandbox add-on (gVisor or a virtual machine). The host backend does not have them: check that the import works before you rely on it.
Write the scripts you use to build or check a file in the chat's work folder, where the shell starts and that
"$WORK"holds (the note of the turn names it too), for examplepython3 "$WORK/build.py", or run a one-off script inline withpython3 - <<'EOF'. Quote every path with double quotes. Save only the file the user asked for, where they asked or in their home, and nowhere else.
A PDF is a fixed-page package rather than a flow document. Existing PDFs generally expose pages, regions, form fields, annotations, overlays, and redactions rather than semantic paragraph reflow. A retained source such as DOCX, PPTX, a build script, or structured data may contain the editable layout model for an authored PDF.
Capabilities
- ReportLab authors PDFs from structured data and explicit page geometry.
- pypdf handles page operations, metadata, forms, and encryption.
- pdf2image uses Poppler to render pages; Pillow handles the resulting images.
- pdfplumber and pypdf extract text and tables.
- Scanned pages without a usable text layer need OCR. No OCR tool is installed here, so say that a scanned page could not be read.
- To find a PDF by its words, or to read its text,
search_filesandread_filework without running anything: the server reads the text of PDF, Word, Excel and PowerPoint files when they are written.
A visible rectangle does not remove underlying PDF content. Redaction changes the protected page content; overlays and annotations do not.
References and helpers
- Deterministic PDF quality describes the mechanical verifier and the limits of extracted-geometry heuristics.
- Content QA describes final-PDF text extraction.
The guest directory /usr/local/lib/localai/document-skills/pdf/ contains mechanical checks for openability, page boxes, text layers,
extracted content, and selected geometry. The verifier's --strict-layout mode is designed for known
generated layouts with predictable geometry, not arbitrary PDFs, scans, assembled pages, forms,
redactions, logos, watermarks, or background artwork.
Установить pdf в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pdf?
Work with PDF files using the installed tools for fixed-page authoring, extraction, page operations, forms, annotations, redactions, and mechanical checks.
Как установить скилл pdf?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pdf запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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