One-click install
npx skills add https://github.com/designershubh1208-pixel/on-block --skill pdf-designershubh1208-pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/designershubh1208-pixel/on-block/tree/main/skills/pdf
Command: npx skills add https://github.com/designershubh1208-pixel/on-block --skill pdf-designershubh1208-pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive toolkit to automate PDF workflows, bypassing repetitive manual operations by extracting text and tables, editing content, and composing new PDFs.

Core Features & Use Cases

  • Text and table extraction: pull structured data from PDFs for downstream processing.
  • Form handling & annotation: fill fillable forms and annotate outputs for validation.
  • Batch processing: process large sets of documents (invoices, reports, forms) and generate consolidated outputs.

Quick Start

Install dependencies (pypdf, pdf2image, and Pillow) and try the included scripts to inspect and manipulate sample PDFs. For example, run:

  • python scripts/extract_form_field_info.py sample.pdf fields.json
  • python scripts/fill_fillable_fields.py sample.pdf fields.json filled.pdf

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 downstream processing?

You can extract text and tables from PDFs using the included Python scripts powered by pypdf. This skill parses structured data from PDF documents, pulling content from invoices and forms for automated downstream batch processing.

How do I automate filling fillable PDF forms in batch?

Automate filling fillable PDF forms in batch using the provided Python script, fill_fillable_fields.py. It populates fillable fields using structured JSON input data, generating completed and annotated PDF documents for validation across large document sets.

Does pypdf support rendering PDF pages as images for annotation?

Yes, pypdf handles parsing and form filling, while the pdf2image and Pillow dependencies render PDF pages as images. This combination supports annotating outputs visually, validating extracted form field information, and manipulating document content.

What is the best way to extract form field information from a PDF?

The best way to extract form field information from a PDF is running the extract_form_field_info.py script. It parses fillable fields and exports the extracted data into a structured JSON file, enabling subsequent automated form filling workflows.

Can I merge and edit multiple PDF documents into a consolidated output?

Yes, you can merge, edit, and compose new PDFs into a consolidated output. This Skill automates complex PDF workflows by parsing and merging multiple documents, generating consolidated outputs for administrative archives and reports.