pdf

Extract text and tables from PDFs into Markdown using dual pipelines.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-extensions --skill pdf-nq-rdl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/nq-rdl/agent-extensions/tree/main/skills/pdf
Command: npx skills add https://github.com/nq-rdl/agent-extensions --skill pdf-nq-rdl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf4llm, pdfplumber, pdfminer, docling, pandas, typer, rich, tabulate, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates the extraction of text and tables from PDFs for research workflows by converting content to Markdown and structured outputs.

Core Features & Use Cases

  • Dual-pipeline extraction using PyMuPDF4LLM and Docling to maximize accuracy on complex layouts.
  • PDF → Markdown conversion with optional table extraction and batch processing for large collections.
  • Use Case: ingest a folder of academic papers and generate a searchable Markdown corpus with embedded tables ready for analysis and AI ingestion.

Quick Start

Process a directory of PDFs with extract_dual to generate side-by-side pymupdf and docling outputs.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract text and tables from PDF files into Markdown format?

You can extract text and tables from PDFs into Markdown using a dual-pipeline approach with PyMuPDF4LLM and Docling, which maximizes accuracy on complex document layouts for research workflows.

What is the best way to batch process a folder of academic papers for text extraction?

Batch processing a directory of academic papers generates a searchable Markdown corpus with embedded tables. The dual extraction pipeline provides side-by-side outputs for quality checks and agent-ready merging.

Does PyMuPDF4LLM work with Docling to improve PDF table extraction accuracy?

Yes, the dual extraction pipeline runs both PyMuPDF4LLM and Docling simultaneously. This combination maximizes extraction accuracy on complex layouts by providing side-by-side outputs for comparison and quality checks.

Can I convert PDF reports to structured data for AI ingestion and analysis?

Yes, converting PDF reports to Markdown and structured outputs creates agent-ready data for AI ingestion. The extracted text and tables are formatted for seamless integration into downstream analysis workflows.

Why does PDF text extraction fail on complex layouts with multiple tables?

Complex layouts often cause extraction failures due to column misalignment. Using a dual-pipeline approach with quality checks and agent-ready merging helps resolve these issues by comparing outputs from multiple extraction engines.

What are the limitations of using pdfplumber for PDF text extraction?

While pdfplumber is supported, relying on a single engine can limit accuracy on complex layouts. The dual-pipeline method mitigates this by combining multiple extraction approaches to validate table structures and text flow.