pdf-toc-bookmarks
Installation
SKILL.md
PDF TOC to Bookmarks
Extract table of contents from PDF pages and create clickable bookmarks using visual analysis and PyMuPDF.
When to Use This Skill
Use this skill when:
- User wants to add bookmarks to a PDF that lacks them
- PDF has printed TOC pages but no clickable navigation
- User mentions "bookmarks," "navigation," "TOC," or "table of contents" for PDFs
Workflow
1. Extract TOC Pages as Images
Extract TOC pages at high resolution for visual analysis:
from scripts.extract_toc_images import extract_toc_images