pdf

Extract text and tables from PDFs using Python libraries.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill pdf-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/14-%E6%96%87%E6%A1%A3%E5%A4%84%E7%90%86%E4%B8%8E%E6%95%B0%E6%8D%AE%E5%B7%A5%E5%85%B7/pdf
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill pdf-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow, and includes scripts (resource) components.

What problem does it solve?

PDFs are often rigid and labor-intensive to work with for data extraction and document manipulation. This skill unifies Python-based tools to read, analyze, and transform PDF content, enabling smooth extraction of text and tables, merging or splitting files, and handling forms or OCR on scanned documents.

Core Features & Use Cases

  • Efficient text and table extraction from PDFs for data pipelines and research workflows.
  • PDF transformation capabilities: merge, split, rotate, watermark, and create new PDFs.
  • Form handling and security: fill forms and manage encryption; OCR-based content extraction for scanned documents.

Quick Start

Ask the assistant to extract text from a sample.pdf or to merge multiple PDFs into a single document.

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 a PDF for data pipelines?

Extract text and tables from PDFs using Python libraries like pdfplumber and pypdf. This enables efficient content extraction directly from documents for data pipelines and research workflows.

What is the best way to merge, split, or rotate PDF documents?

Merge, split, and rotate PDF documents by manipulating binary streams with Python tools like pypdf. This approach allows seamless transformation of PDF files for administrative and data-collection workflows.

Can I perform OCR text extraction on scanned PDFs?

Yes, you can perform OCR text extraction on scanned PDFs. By utilizing libraries like pdf2image and Pillow, the system processes scanned document images to extract actionable text content.

How do I fill forms and manage encryption on PDF files?

Fill forms and manage PDF encryption by handling binary streams with optional form handling features. This allows you to secure documents and automate form-filling for data-collection workflows.

Does this PDF processing approach work with image-based documents?

Yes, this PDF processing approach works with image-based documents using Pillow and pdf2image. It handles image processing and OCR to extract content from scanned files across various workflows.