Pdf Backends
БесплатноБез исполняемых скриптовНе проверенNative/Pdfium selection, rendering, encryption and OCR fallback for PDF work.
от xberg-io★ 9 642 звезды на GitHubОб этом скилле
PDF backends
PdfConfig.backend selects PdfBackend::Native (default) or PdfBackend::Pdfium. Backend choice is explicit: never
silently return native output when Pdfium was requested.
Native backend
- The native engine is
xberg_native_pdfand supports the full Xberg PDF pipeline: text and structure extraction, page rendering/OCR fallback, tables, annotations, images, attachments, and richer metadata. config.force_ocrforces the whole document;config.force_ocr_pagesselects pages. Otherwise, pages without usable native text can enter the OCR stage insidePdfExtractor; OCR is not a second PDF extractor in the registry.PdfRenderSessioninpdf/render.rsopens document bytes once and exposes page count and page rendering. Use it for repeated page renders instead of reopening the same document for each page. It is a Rust primitive and need not be exposed by every binding.
Pdfium backend
- Pdfium requires the
pdf-pdfiumCargo feature. Selecting it without that feature must return an actionable error. - Runtime dynamic loading honors
PDFIUM_DYNAMIC_LIB_PATHas a directory containing the platform library. Build-time static and dynamic link variables are not interchangeable with runtime discovery. - Pdfium binding is process-global and operations are serialized by the engine lock. Preserve that invariant when changing concurrency.
- The Pdfium implementation intentionally has a narrower capability surface: text, page count, and Info-dictionary metadata. It warns about omitted native capabilities rather than pretending parity.
Verification
Test backend selection separately from document semantics. A missing Pdfium runtime is infrastructure failure unless
the job promises to provision it; when XBERG_REQUIRE_PDFIUM is set, skipping because the library or fixture is
absent is a failure. Use corpus fixtures through the test-corpus skill and include Pdfium artifacts in benchmark
aggregation when the adapter is enabled.
Установить Pdf Backends в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл Pdf Backends?
Native/Pdfium selection, rendering, encryption and OCR fallback for PDF work.
Как установить скилл Pdf Backends?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Pdf Backends запускает скрипты?
Нет, скилл состоит только из инструкций (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