One-click install
npx skills add https://github.com/hafiznaveedchuhan-ctrl/hackaton2pages --skill pdf-hafiznaveedchuhan-ctrl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/hafiznaveedchuhan-ctrl/hackaton2pages/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/hafiznaveedchuhan-ctrl/hackaton2pages --skill pdf-hafiznaveedchuhan-ctrl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow.

What problem does it solve?

PDF manipulation often requires juggling multiple tools to extract content, merge or split pages, create new documents, and fill forms. This Skill consolidates essential PDF operations into a cohesive, scriptable toolkit.

Core Features & Use Cases

  • Text extraction from PDFs using pypdf or pdfplumber to pull content.
  • Merge and split PDFs to organize documents efficiently.
  • Create PDFs with libraries like reportlab.
  • Form handling including filling fillable forms and adding annotations with programmatic scripts.
  • Use Case: Process a batch of invoices to extract totals and generate a summary CSV.

Quick Start

Process a sample PDF to extract text and tables, and optionally fill a form using the provided scripts.

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 table data from PDF invoices using Python?

PDF text and table extraction is automated using Python libraries like pypdf and pdfplumber to pull content from multi-page invoices and reports. This Skill scripts the extraction process to pull content programmatically, enabling batch processing of invoices to generate summary CSVs.

What is the best way to merge or split multi-page PDF documents programmatically?

Merging and splitting PDF documents is handled natively by this Skill to organize pages efficiently. It applies scriptable operations via pypdf to assemble or divide multi-page PDFs, streamlining document organization for contracts and reports without manual editing.

Can I programmatically fill fillable PDF forms and add annotations with Python?

Programmatic form filling and annotation is supported for fillable PDFs using Python tools like pypdf. This Skill automates adding annotations and populating form fields, allowing you to handle contract workflows and generate completed documents via scripts.

Does this PDF processing approach work with Python libraries like reportlab and pdf2image?

PDF processing with this Skill works directly with Python libraries including pypdf, pdf2image, Pillow, and reportlab. It provides end-to-end capabilities for reading, creating, and annotating PDFs by leveraging these specific dependencies within a cohesive scriptable toolkit.

How do I create new PDF documents from scratch using a Python script?

Creating new PDF documents is done using the reportlab library integrated within this Skill's workflow. It enables you to generate new PDFs programmatically, assemble content, and output structured documents for automated report generation pipelines.

What are the limitations of using pypdf for PDF text extraction on scanned documents?

PDF text extraction with pypdf is limited to digital text and cannot extract text from scanned image-based PDFs. For scanned documents, you need pdf2image and Pillow to convert pages to images, though this Skill focuses on digital text and form data extraction workflows.