pdf-tools

Read, merge, split, rotate, and extract text and images from PDFs.

39|4|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/xuthreekid/clawchain --skill pdf-tools-xuthreekid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-tools
Source: https://github.com/xuthreekid/clawchain/tree/main/backend/data/skills/pdf-tools
Command: npx skills add https://github.com/xuthreekid/clawchain --skill pdf-tools-xuthreekid

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDFs are ubiquitous but difficult to search, extract data from, or repurpose across documents. This skill enables robust reading, merging, splitting, rotation, image extraction, metadata handling, and simple generation of new PDFs.

Core Features & Use Cases

  • Read text from PDFs (text extraction) and retrieve embedded images
  • Merge multiple PDFs into a single document
  • Split PDFs by page ranges to extract targeted sections
  • Rotate PDF pages for proper orientation
  • Read and edit PDF metadata to standardize documents
  • Simple generation of PDFs from text or Markdown
  • Use case: build a searchable archive by converting legacy PDFs to text, images, and structured metadata

Quick Start

Convert "document.pdf" to a searchable text layer and save results to "document.txt" in the working directory.

Frequently Asked Questions about pdf-tools

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

FAQPage Schema
How do I extract text and embedded images from a PDF?

Extracting text and images from a PDF involves reading the document pages using Python-based tooling like PyPDF2 to retrieve embedded media, outputting searchable text layers and image files for archival conversion.

What is the best way to merge multiple PDFs or split them by page range?

Merging multiple PDFs or splitting them by page range is achieved by applying document-processing scripts that read, modify, and generate PDFs, resulting in consolidated documents or targeted extracted sections.

How do I read and edit PDF metadata to standardize documents?

Reading and editing PDF metadata to standardize documents requires applying Python-based tooling that accesses internal document properties, allowing you to update attributes and generate standardized PDF files.

Can I use Python to rotate PDF pages for proper orientation?

Yes, you can use Python to rotate PDF pages for proper orientation by applying document-processing tools that modify page properties, resulting in correctly aligned PDF documents ready for viewing or archival.

Does this approach support simple generation of PDFs from text or Markdown?

Yes, this approach supports simple generation of PDFs from text or Markdown by applying Python-based tooling to read, modify, and generate PDFs, producing new documents from raw text content.

How do I batch process legacy PDFs into a searchable archive?

Batch processing legacy PDFs into a searchable archive requires applying document-processing workflows that extract text, images, and structured metadata, converting unstructured PDFs into searchable text layers.