pdf

Fills PDF forms and extracts text and tables using pypdf, pdfplumber, reportlab.

34.3k|3.0k|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/agentscope-ai/CoPaw --skill pdf-agentscope-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/agentscope-ai/CoPaw/tree/main/src/copaw/agents/skills/pdf
Command: npx skills add https://github.com/agentscope-ai/CoPaw --skill pdf-agentscope-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the tedious process of filling out PDF forms and extracting data from documents, saving significant time and reducing manual effort.

Core Features & Use Cases

  • Fillable & Non-Fillable Forms: Handles both types of PDF forms, either by directly populating fields or adding annotations.
  • Data Extraction: Extracts text, tables, and other information from PDFs.
  • Use Case: Automatically fill out a batch of standardized application forms with user-provided data, or extract all table data from a research paper into a structured format.

Quick Start

Use the pdf skill to fill out the form in 'application.pdf' with the provided data.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract tables and text from PDF documents?

PDF data extraction uses pdfplumber and pypdf to pull text and tables from documents, outputting structured data. It handles research papers and standardized forms by parsing content directly from the file.

Can I fill out both fillable and non-fillable PDF forms?

Yes, PDF form filling supports both fillable and non-fillable documents. It directly populates form fields in fillable PDFs and uses annotation-based filling for non-fillable or scanned documents.

What is the best way to automate filling a batch of PDF application forms?

Automating PDF form filling processes batches of standardized applications by injecting user-provided data into form fields. This document automation approach uses reportlab and pypdf to populate multiple files efficiently.

Does PDF data extraction work with scanned documents?

Yes, PDF data extraction handles scanned documents by using pytesseract and pdf2image for OCR processing. It applies annotation-based filling and text recognition to extract information from non-digital files.

Do I need poppler-utils and qpdf installed for PDF processing?

Yes, PDF processing requires poppler-utils and qpdf as dependencies alongside pypdf and pdfplumber. These libraries provide the foundational rendering and manipulation capabilities needed for form filling and data extraction.

What are the limitations of annotation-based PDF form filling?

Annotation-based PDF form filling adds visual overlays rather than true field values, meaning extracted data relies on visual placement. For native data retention, pypdf direct field population is preferred over annotation methods.