doc-pdf

Extract text and tables from PDFs using Python libraries.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/biomaps-infra/blender-opencode --skill doc-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-pdf
Source: https://github.com/biomaps-infra/blender-opencode/tree/main/.opencode/skills/doc-pdf
Command: npx skills add https://github.com/biomaps-infra/blender-opencode --skill doc-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pdf2image, pytesseract, poppler-utils, qpdf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines all your PDF-related tasks, from filling out forms and extracting text or tables to merging, splitting, and creating new PDF documents, saving you significant time and effort.

Core Features & Use Cases

  • PDF Manipulation: Merge, split, rotate, and encrypt/decrypt PDF files.
  • Data Extraction: Extract text, tables, and metadata from PDFs.
  • PDF Creation: Generate new PDFs from scratch or by combining content.
  • Form Handling: Fill out fillable PDF forms or add annotations to non-fillable ones.
  • OCR: Convert scanned PDFs into searchable documents.
  • Use Case: You need to combine several research papers into a single document, extract key data points from each, and then fill out a standardized application form based on that data.

Quick Start

Use the doc-pdf skill to extract all text from the attached file 'annual-report.pdf'.

Frequently Asked Questions about doc-pdf

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

FAQPage Schema
How do I extract text and tables from a scanned PDF file?

To extract text and tables from a scanned PDF, you need OCR processing to convert the document into searchable text. This Skill uses pytesseract and pdfplumber to perform OCR and extract structural table data from the resulting searchable document.

Can I fill out fillable PDF forms and add annotations automatically?

Yes, you can fill out fillable PDF forms automatically and add annotations to non-fillable ones. The Skill manipulates PDF form fields programmatically using pypdf, streamlining digital form management and automating data entry.

What is the best way to merge, split, and create new PDF documents?

The best way to merge, split, and create PDFs is using dedicated Python libraries like pypdf and reportlab. This Skill handles document manipulation tasks including merging, splitting, and generating new PDF documents from scratch or combined content.

Does this PDF processing approach work with command-line tools like qpdf and pdftotext?

Yes, this PDF processing approach works with command-line tools like qpdf and pdftotext. It integrates Python libraries such as pypdf and pdfplumber alongside command-line utilities to support comprehensive document automation and data retrieval.

Why does text extraction return empty results from my PDF document?

Text extraction may return empty results if your PDF document consists entirely of scanned images instead of embedded text. You must run OCR using pytesseract and poppler-utils to convert the scanned images into searchable text before extraction.