pdf-viewing
Installation
SKILL.md
Pdf Viewing
Overview
Use this skill to OCR PDFs with docling and preserve page numbers, rasterize pages into images, or inspect PDF metadata. Always save outputs under a local project directory (default: ./.pdf-artifacts/<pdf-stem>).
Quick Start
- Create a local venv in the project and install deps as dev dependencies:
uv venv uv add --dev docling typer pymupdf - Run the OCR tool:
uv run python scripts/pdf_tools.py ocr path/to/file.pdf --out-dir ./.pdf-artifacts/<pdf-stem> - Run the rasterizer:
uv run python scripts/pdf_tools.py rasterize path/to/file.pdf --out-dir ./.pdf-artifacts/<pdf-stem>