📄
AutomationPython

PDF Processing

by shareAI-lab

PDF Processing is an Automation skill for Claude Code, published by shareAI-lab in learn-claude-code.

74K stars12K forkson shareAI-lab/learn-claude-codeAdded 2026/08/13Repository updated 2026/08/12
agentagent-developmentai-agentclaudeclaude-codeeducationalllmpythonteachingtutorial
Install in seconds
Install PDF Processing
Copy PDF Processing into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/shareAI-lab/learn-claude-code/tree/main/skills/pdf ~/.claude/skills/pdf

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/shareAI-lab/learn-claude-code.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/pdf/SKILL.md in shareAI-lab/learn-claude-code
Installs to
~/.claude/skills/pdf
Collection
One of 4 skills cataloged from this repository
Category
Automation1523 skills

What PDF Processing does

PDF Processing extracts text, creates PDFs from Markdown or HTML, merges and splits PDFs using command-line tools and Python libraries. Use it when reading, generating, or combining PDF files.

PDF Processing is cataloged under Automation on DirSkills. PDF Processing comes from a repository tagged agent, agent-development, ai-agent, claude and claude-code.

Documentation

README

PDF Processing Skill

You now have expertise in PDF manipulation. Follow these workflows:

Reading PDFs

Option 1: Quick text extraction (preferred)

# Using pdftotext (poppler-utils)
pdftotext input.pdf -  # Output to stdout
pdftotext input.pdf output.txt  # Output to file

# If pdftotext not available, try:
python3 -c "
import fitz  # PyMuPDF
doc = fitz.open('input.pdf')
for page in doc:
    print(page.get_text())
"

Option 2: Page-by-page with metadata

import fitz  # pip install pymupdf

doc = fitz.open("input.pdf")
print(f"Pages: {len(doc)}")
print(f"Metadata: {doc.metadata}")

for i, page in enumerate(doc):
    text = page.get_text()
    print(f"--- Page {i+1} ---")
    print(text)

Creating PDFs

This is the opening of the README. Read the full README on GitHub.

Frequently asked about PDF Processing

  • What else does shareAI-lab publish alongside PDF Processing?

    PDF Processing is one of 4 skills that DirSkills catalogs from shareAI-lab/learn-claude-code, the repository it ships in. Its siblings there include Agent Builder, Code Review and MCP Builder. Each one is a separate skill with its own page in this directory, installs the same way PDF Processing does, and is maintained by shareAI-lab in that same repository. The rest of the collection is listed on the shareAI-lab/learn-claude-code page.

  • How does PDF Processing compare to other Automation skills?

    PDF Processing ranks #15 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of PDF Processing against them. Open each page to compare what they document and how they install.