Digest PDF

Digests one or many PDFs into a structured on-disk tree of (image, transcription) Units — textbooks (chapter/section tree), exam papers (per question, each as TWO images: with and without the worked solution), or plain pages. On invocation it analyzes every target PDF's structure, confirms the invoking repo's output **Layout Spec** once (bootstrapping `.digest/layout.yaml` when it's absent, divergent, or a filename doesn't match), then runs the zero-token digest-pdf tool as a fast unattended batch (a warm MinerU server + cross-PDF parallelism) and verifies every Unit has its image+text pair. Use when the user says "digest these PDFs", "split this PDF into images and text", "turn these exam papers / textbooks / notes into a wiki-ready tree", "batch-process these PDFs", "extract questions / chapters from these PDFs", "/digest-pdf", or otherwise points at PDF file(s)/dir(s) and wants structured (img, md) output on disk.

sunfmin 03f28f5 9.3 KB Updated

File contents

sunfmin/digest-pdf/tree/main/skills/digest-pdf commit 03f28f57b8

Frequently asked questions

npx skillmds@latest add sunfmin/digest-pdf