Skip to content

Guide · Agent skill

How to use the PDF Processing Guide agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

The PDF Processing Guide is an agent skill: a packaged set of instructions and helper scripts that teaches an AI agent how to work with PDF files. Once it is installed, you can ask the agent to merge reports, pull tables out of invoices, rotate pages or make a scanned document searchable, and it will follow a tested playbook instead of improvising. This guide explains what the skill does, how to install it, how to trigger it, and what your computer needs before it will work.

PDF Processing Guideeigent-ai/eigent · Apache-2.0

Quick start

  1. 1Download the ZIP. Download the pdf skill ZIP from this page.
  2. 2Install the requirements. Install Python libraries such as pypdf, pdfplumber and reportlab, plus Tesseract and poppler-utils for OCR and image work.
  3. 3Unzip into a skills folder. Unzip the skill into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it in Claude under Settings → Capabilities → Skills.
  4. 4Ask in plain language. Describe the PDF task and name the file, for example asking to merge or split specific documents.
  5. 5Review the output. Open the result and check pages, text and tables before relying on them, especially for forms.

What does the pdf skill make the agent do?

The skill covers the common PDF jobs: reading or extracting text and tables, combining or merging several PDFs, splitting documents apart, rotating pages, adding watermarks, creating new PDFs, extracting images, encrypting or decrypting files, and running OCR on scanned pages so they become searchable.

For PDF forms, the skill tells the agent to read a separate guide, forms.md, and uses helper scripts that check whether a form has fillable fields, convert pages to images, and place entries onto the form.

  • Merge and split: combine files or cut a document into one file per page.
  • Text and tables: pull text out of pages and tables into spreadsheet-style data.
  • Pages and images: rotate pages, add watermarks, and extract embedded images.
  • Scanned files: OCR pages so the text can be searched.
  • Forms: check for fillable fields, then fill them using the bundled scripts.

How do you install the pdf skill?

Download the ZIP file from this page. You then have two options depending on how you use your agent.

For Claude Code, unzip the download into ~/.claude/skills/ to make the skill available everywhere, or into a project's .claude/skills/ folder to limit it to that project.

In the Claude apps, open Settings, go to Capabilities, and upload the skill there as a Skills file.

  • Personal install: unzip into ~/.claude/skills/.
  • Project install: unzip into the project's .claude/skills/ folder.
  • Claude apps: Settings → Capabilities → Skills, then upload the ZIP.
~/.claude/skills/pdf/SKILL.md

What do you need installed first?

The skill's instructions call Python libraries and command-line tools. Most steps fail until these are set up, so install them before asking for PDF work. The skill lists these requirements: Python, pypdf, pdfplumber, reportlab, pdf2image, pytesseract with the Tesseract OCR engine, pandas, Pillow, poppler-utils (which provides pdftotext and pdfimages), qpdf, and pdftk as an optional extra.

The skill's own text shows the pip install for pytesseract and pdf2image as a comment in its OCR example, so you can install those with pip. Tesseract and poppler are separate programs that you install with your operating system's tools.

  • Python with pypdf, pdfplumber, reportlab, pdf2image, pytesseract, pandas and Pillow.
  • Tesseract OCR engine, needed for scanned-page OCR.
  • poppler-utils for pdftotext and pdfimages.
  • qpdf for merging, splitting, rotating and decrypting from the command line.
  • pdftk is optional.
pip install pytesseract pdf2image

How do you trigger the skill with a natural request?

You do not need a special command. The skill is meant to activate when you ask for something PDF-related, especially when your message mentions a .pdf file or asks for one to be produced. Describe the goal in plain language and name the file.

Be specific about the outcome. Say which files, which pages, and what you want back, such as a merged file or a spreadsheet of tables.

  • "Merge invoice1.pdf, invoice2.pdf and invoice3.pdf into one file called q3-invoices.pdf."
  • "Split report.pdf so each page is its own file."
  • "Pull the tables from annual-report.pdf into an Excel file."
  • "Rotate page 1 of scan.pdf by 90 degrees."
  • "Make scanned-contract.pdf searchable and give me the text."

What are some practical examples?

Quick text extraction from a whole document uses pdftotext with a page range, which is useful for long reports where you only need a few pages.

Splitting and merging with qpdf works from the command line and is handy for batch jobs. The skill shows merging several files into one and splitting a file into page ranges.

Extracting images uses pdfimages, which writes images with a prefix you choose, such as output_prefix-000.jpg.

pdftotext -f 1 -l 5 input.pdf output.txt qpdf --empty --pages file1.pdf file2.pdf -- merged.pdf qpdf input.pdf --pages . 1-5 -- pages1-5.pdf pdfimages -j input.pdf output_prefix

What about safety, scripts and privacy?

The skill runs scripts on your machine, and the form helpers are scripts you can read. The skill itself does not send data over the internet. Your files are processed by whatever tools the agent runs, so if the agent is working in a cloud environment, the content of your PDF goes through that environment. Do not use it on sensitive or confidential documents unless you are comfortable with that.

The scripts are example code. Their results are not verified, so do not rely on them for certified or legally binding form handling. Check important outputs yourself.

  • Scripts run locally as the agent executes them; review them first if you are unsure.
  • Check the results of form filling and OCR before you use them.
  • The skill's license is listed as Proprietary, and LICENSE.txt holds the full terms; read it before redistributing the files.

What tips help the most?

Install the requirements first, then test with a copy of your file. For forms, ask the agent to follow forms.md in order, because the guide says to complete its steps in sequence before writing code. If the agent needs more depth, the skill points to reference.md for advanced libraries such as pypdfium2.

  • Test on a copy of the PDF before running batch operations.
  • For forms, let the agent run the fillable-field check first.
  • If a scanned page gives poor text, check that Tesseract is installed and that the page image is clear.
  • Use reference.md for advanced rendering and extraction options.

What people use it for

  • Merging monthly invoices or reports into one archive file.
  • Pulling tables from a PDF report into a spreadsheet for analysis.
  • Splitting a long document so each page can be filed separately.
  • Making scanned contracts searchable so you can find text in them.
  • Filling a PDF form with data the agent has prepared, after checking for fillable fields.

Frequently asked questions

How do I install the pdf agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can upload it under Settings → Capabilities → Skills.

What do I need installed to use the pdf skill?

The skill lists Python, pypdf, pdfplumber, reportlab, pdf2image, pytesseract with the Tesseract OCR engine, pandas, Pillow, poppler-utils, and qpdf, with pdftk optional. Most steps fail until these are set up.

Is the pdf skill free?

The skill's license is listed as Proprietary, and its LICENSE.txt holds the complete terms, so read that file for how you may use it. The source gives no price, so check the license before redistributing it.

Does the pdf skill send my files over the internet?

The skill states that it does not use the network and does not send data over the internet itself. However, the agent runs the tools on your files, so if it runs in a cloud environment, your content is processed there.

Can the pdf skill fill out any PDF form?

It checks whether a form has fillable fields and provides helper scripts for filling them and for placing entries onto non-fillable forms. Its results are not verified, so review the output before using it for anything official.

How is this different from just asking an AI to work with a PDF?

The skill gives the agent a step-by-step playbook, specific libraries and command-line examples, and helper scripts for forms. Without it, the agent has to work out the approach each time, which can be less consistent.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

Use this skill if you regularly merge, split or extract data from PDF reports and invoices, or if you write scripts that process PDFs in bulk and want an agent to follow a tested approach. Pick something else if your documents are confidential and you cannot have them processed by the agent's tools, or if you need certified or legally binding form handling.

Download the skill