pdf

Extract text, count pages, render thumbnails, and merge or split PDFs.

1.3k|179|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/Team-Commonly/commonly --skill pdf-team-commonly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Team-Commonly/commonly/tree/main/backend/commonly-bundled-skills/pdf
Command: npx skills add https://github.com/Team-Commonly/commonly --skill pdf-team-commonly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF manipulation often requires extracting text, counting pages, rendering page previews, merging or splitting documents, and editing metadata, which is tedious to do manually.

Core Features & Use Cases

  • Extract text from PDFs, count pages, render thumbnails, merge and split documents, and edit metadata programmatically.
  • Use Case: Process a batch of invoices by extracting text for archival, generating image previews for dashboards, and combining multiple PDFs into a single report.

Quick Start

Run the pdf skill to extract all text from the attached file 'invoice-q3.pdf' and save it as a text file.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract text from a PDF and count its pages programmatically?

You can extract text and count pages from a PDF using a Python-based toolkit leveraging pypdf and poppler-utils. This approach processes binary streams directly to provide deterministic text extraction and accurate page counts for archival digitization or invoice processing workflows.

Can I merge multiple PDFs and edit metadata without losing document properties?

Yes, you can merge multiple PDFs and edit metadata while preserving original document properties. The toolkit operates on binary streams to ensure metadata preservation during batch PDF preparation, combining separate files into a single report without altering core archival data.

What is the best way to render PDF thumbnails for a dashboard preview?

The best way to render PDF thumbnails for dashboard previews is by using poppler-utils within a Python-based workflow. This toolkit generates image previews from binary streams, providing deterministic results suitable for admin environments and data engineering dashboards.

Does this PDF text extraction approach work for batch invoice processing?

Yes, this PDF text extraction approach works efficiently for batch invoice processing. It leverages pypdf and poppler-utils to handle multiple binary streams, extracting editable text and generating image previews to meet archival digitization requirements deterministically.

Why split PDFs using poppler-utils and pypdf instead of manual methods?

Splitting PDFs using poppler-utils and pypdf ensures deterministic results when operating on binary streams, unlike manual methods. This programmatic approach preserves metadata and handles batch PDF preparation reliably across document workflows in engineering and data environments.