pdf-tools

Convert PDF documents to Markdown with text, tables, and images.

9|Updated Jan 31, 2017
One-click install
npx skills add https://github.com/ssiumha/dots --skill pdf-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-tools
Source: https://github.com/ssiumha/dots/tree/main/prompts/skills/pdf-tools
Command: npx skills add https://github.com/ssiumha/dots --skill pdf-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires camelot-py[cv]>=1.0.9, pandas>=2.3.3, pdfplumber>=0.11.7, pymupdf>=1.26.5, pymupdf4llm>=0.0.27, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the challenging task of extracting content from PDF documents, making them accessible and editable for AI analysis. It eliminates the need for manual copy-pasting or complex third-party tools, saving significant manual effort and enabling faster data processing.

Core Features & Use Cases

  • PDF to Markdown Conversion: Transforms PDF documents into structured Markdown, preserving text and tables while making the content easily readable and editable by AI. Use it to quickly get the content of a research paper, invoice, or legal document into a usable text format.
  • Page Image Export: Exports each PDF page as a high-resolution JPG image, ideal for UI/design analysis, visual inspection, or when text extraction is insufficient. Use it for reviewing design mockups, analyzing complex diagrams, or verifying document layouts.
  • Automated Content Cleanup: Automatically identifies and suggests fixes for common conversion issues like duplicate table columns, excessive line breaks, or empty tables. This ensures the generated Markdown is clean and optimized for further AI processing.

Quick Start

Convert the attached 'report.pdf' into Markdown and also export each page as an image for visual review.

Frequently Asked Questions about pdf-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PDF to Markdown for AI analysis?

PDF to Markdown conversion extracts text, tables, and structure from PDF documents into editable Markdown format. This Skill uses PyMuPDF and PyMuPDF4LLM to preserve document layout and tables, making content immediately usable for AI processing, summarization, or search without manual copying.

Can I extract images from PDF pages for visual review?

Yes, this Skill exports each PDF page as high-resolution JPG images. Page image export is useful for UI/design verification, analyzing complex diagrams, or cases where text extraction alone is insufficient for reviewing document layouts and visual elements.

What does automated content cleanup do during PDF extraction?

Automated content cleanup identifies and suggests fixes for common conversion issues like duplicate table columns, excessive line breaks, and empty tables. It ensures the generated Markdown is optimized and clean for further AI processing without manual post-editing.

Does this Skill work with scanned PDFs and complex documents?

This Skill handles PDFs with text, tables, and images using PyMuPDF, PyMuPDF4LLM, and pdfplumber. It's designed for research papers, invoices, legal documents, and layouts with structured content. Scanned PDFs without embedded text require OCR preprocessing outside this Skill.

How do I use this with large PDF files or batch processing?

The Skill converts PDF documents by processing pages and extracting structured data into Markdown and images. For batch workflows, you can apply it to multiple PDFs sequentially through scripts. Processing speed depends on file size, page count, and system resources.