pdf

The PDF skill provides a collection of Python libraries and command-line utilities to manipulate, extract, and create PDF documents. It supports merging, splitting, rotating, watermarking, encrypting, and performing OCR on scanned files.

153.4K
Installs
9
Use cases
5/10
Quality

Is pdf safe to install?

Review the source first

Review the source first: our audit of pdf's source files found 12 shell commands, 0 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill executes shell commands and performs local file system operations including reading, writing, and modifying PDF files.

How we audit skills: our security review methodology.

Who is this skill for?

Developers and users who need to automate PDF document processing tasks within an agentic environment.

What can you do with it?

  • Extracting text and tables from PDF documents
  • Merging multiple PDF files into a single document
  • Splitting PDF files into individual pages
  • Rotating pages within a PDF
  • Adding watermarks to PDF pages
  • Creating new PDF documents from scratch
  • Encrypting and decrypting PDF files
  • Performing OCR on scanned PDF documents
  • Extracting images from PDF files

How good is this skill?

Quality score: 5/10. The documentation is comprehensive, providing clear code snippets and command-line examples for all advertised features.

What does the skill file contain?

SKILL.md
# PDF Processing Guide

## Overview

This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see REFERENCE.md. If you need to fill out a PDF form, read FORMS.md and follow its instructions.

## Quick Start

```python
from pypdf import PdfReader, PdfWriter

# Read a PDF
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")

# Extract text
text = ""
for page in reader.pages:
    text += page.extract_text()
```

## Python Libraries

### pypdf - Basic Operations

#### ...

Frequently asked questions

Which Python libraries are used for PDF processing?

The skill utilizes pypdf for basic operations, pdfplumber for text and table extraction, reportlab for PDF creation, and pytesseract with pdf2image for OCR.

Can this skill handle password-protected PDFs?

Yes, the skill supports decrypting PDFs using qpdf and encrypting PDFs using pypdf.

How do I extract tables from a PDF?

Use the pdfplumber library's extract_tables method to identify and parse table data from PDF pages.

Are there limitations when creating PDFs with reportlab?

Yes, do not use Unicode subscript or superscript characters as they are not supported by built-in fonts. Use XML markup tags like <sub> and <super> within Paragraph objects instead.

Data sourced from anthropics/skills on GitHub. Install counts from skills.sh. The summary and security audit are derived from the skill's source files: every command and URL listed appears verbatim in the source.

Related skills

find-skills

2.3M

Users seeking to extend agent capabilities with specialized tools, workflows, or knowledge packages

The find-skills skill enables agents to search for, discover, and install modular packages from the open agent skills ecosystem using the Skills CLI.

highclipackage-managervercel-labs

image-to-video

355.0K

Developers and users who need to automate video generation from images using the RunComfy platform

The image-to-video skill routes user requests to specific RunComfy animation models based on intent. It selects HappyHorse 1.0 I2V for general animation, Wan 2.7 for custom-voiceover lip-sync, or Seedance 2.0 Pro for multi-modal composition. The skill executes the RunComfy CLI to process inputs and download generated video files.

highaivideo-generationagentspace-so

video-edit

338.7K

Users of the RunComfy CLI who need to automate video editing tasks like restyling, background swapping, or motion transfer

The video-edit skill acts as a router for the RunComfy CLI, selecting between Wan 2.7 Edit-Video, Kling 2.6 Pro Motion Control, and Lucy Edit Restyle models based on user intent to perform video transformations.

highvideo-editingai-agentagentspace-so

lark-drive

334.8K

Users needing to organize, manage, and govern files, folders, and documents within the Lark Suite or Doubao cloud storage ecosystem

The lark-drive skill provides comprehensive management for Lark Suite (Feishu) cloud storage, including file operations, folder organization, permission governance, and document version control. It handles file imports, exports, and metadata management while integrating with other specialized skills for content-specific tasks.

highlark-suitefile-managementlarksuite