ClawShelf
  • Home
  • Skills
  • Starter Kit
  • Pricing
  • FAQ
Sign up
ClawShelf
ClawShelf

The Starter Kit for OpenClaw.

TwitterX (Twitter)Email
Product
  • Home
  • Skills
  • Starter Kit
  • FAQ
Resources
  • Support
Legal
  • Cookie Policy
  • Privacy Policy
  • Terms of Service
  • Refund Policy
Copyright © 2026 ClawShelf. All rights reserved.
Back to marketplace
Free✓ Official
productivityFree✓ Official

pdf

Manipulate PDF files instantly to extract text, merge documents, split pages, create reports, and perform OCR on scanned inputs.

12.4kdownloads·110.3kfavorites
A
by anthropics

About this skill

Stop wasting time on locked text, scattered files, or unsearchable scanned documents. This skill leverages Python libraries and command-line tools to merge, split, extract, create, and OCR PDFs automatically. You gain full control over encryption, watermarks, and form filling without manual effort. Ideal for professionals handling documents or data analysts needing reliable file automation.

Install in 5 Minutes

Copy the prompt below and paste it into OpenClaw:

Please follow the instructions at https://clawshelf.com/api/skills/anthropics-pdf/install to download and install this skill to the local ~/.openclaw/skills/ directory.

File Preview

Package contents

  • SKILL.md
SKILL.md
---
name: pdf
description: Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
license: Proprietary. LICENSE.txt has complete terms
---

# 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

#### Merge PDFs
```python
from pypdf import PdfWriter, PdfReader

writer = PdfWriter()
for pdf_file in ["doc1.pdf", "doc2.pdf", "doc3.pdf"]:
    reader = PdfReader(pdf_file)
    for page in reader.pages:
        writer.add_page(page)

with open("merged.pdf", "wb") as output:
    writer.write(output)
```

#### Split PDF
```python
reader = PdfReader("input.pdf")
for i, page in enumerate(reader.pages):
    writer = PdfWriter()
    writer.add_page(page)
    with open(f"page_{i+1}.pdf", "wb") as output:
        writer.write(output)
```

#### Extract Metadata
```python
reader = PdfReader("document.pdf")
meta = reader.metadata
print(f"Title: {meta.title}")
print(f"Author: {meta.author}")
print(f"Subject: {meta.subject}")
print(f"Creator: {meta.creator}")
```

#### Rotate Pages
```python
reader = PdfReader("input.pdf")
writer = PdfWriter()

page = reader.pages[0]
page.rotate(90

Works great with

Reviews

—
0 reviews
5
0
4
0
3
0
2
0
1
0

Sign in to leave a review

No reviews yet. Be the first to review this skill.

$0

One-time purchase · Lifetime updates

100% native OpenClaw / Claude support

Creator
A
anthropics
TypeSkill
Categoryproductivity
Price$0
Added3/29/2026
LicenseOne-time
Downloads12,435
Favorites110,272
Version1.0.0
Sourcegithub.com
productivity
docx

Create and edit professional Word documents with perfect formatting, tables, and tracked changes instantly.

$0
productivity
pptx

Create, edit, or analyze PowerPoint decks with professional design standards and automated visual quality assurance checks.

$0
productivity
obsidian

Automate Obsidian vault management by searching, creating, and renaming notes while safely updating internal links.

$0